From 69a74bec68976fc78519a5c2e359cb26bdf4099a Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Tue, 5 Aug 2014 17:22:48 +0000 Subject: [PATCH] Define names that drivers can use to adjust their position relative to other drivers within a BUS_PASS. Reviewed by: imp --- sys/sys/bus.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/sys/bus.h b/sys/sys/bus.h index ae05726bb710..86bd40af7de0 100644 --- a/sys/sys/bus.h +++ b/sys/sys/bus.h @@ -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);