mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Define names that drivers can use to adjust their position relative to
other drivers within a BUS_PASS. Reviewed by: imp
This commit is contained in:
parent
2d12d35cf8
commit
69a74bec68
1 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue