svn commit: r269596 - head/sys/sys

Ian Lepore ian at FreeBSD.org
Tue Aug 5 17:22:49 UTC 2014


Author: ian
Date: Tue Aug  5 17:22:48 2014
New Revision: 269596
URL: http://svnweb.freebsd.org/changeset/base/269596

Log:
  Define names that drivers can use to adjust their position relative to
  other drivers within a BUS_PASS.
  
  Reviewed by:	imp

Modified:
  head/sys/sys/bus.h

Modified: head/sys/sys/bus.h
==============================================================================
--- head/sys/sys/bus.h	Tue Aug  5 16:44:27 2014	(r269595)
+++ head/sys/sys/bus.h	Tue Aug  5 17:22:48 2014	(r269596)
@@ -568,6 +568,12 @@ void	bus_data_generation_update(void);
 #define	BUS_PASS_SCHEDULER	60	/* Start scheduler. */
 #define	BUS_PASS_DEFAULT	__INT_MAX /* Everything else. */
 
+#define	BUS_PASS_ORDER_FIRST	0
+#define	BUS_PASS_ORDER_EARLY	2
+#define	BUS_PASS_ORDER_MIDDLE	5
+#define	BUS_PASS_ORDER_LATE	7
+#define	BUS_PASS_ORDER_LAST	9
+
 extern int bus_current_pass;
 
 void	bus_set_pass(int pass);


More information about the svn-src-head mailing list