Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2014 17:22:49 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269596 - head/sys/sys
Message-ID:  <53e112e9.5f53.7b85315a@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e112e9.5f53.7b85315a>