From a4a8729890e3be941d40a360e100b222593e3e36 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 6 Jun 2015 17:25:45 +0000 Subject: [PATCH] Change BUS_PROBE_HOOVER from -500 to -1000000. We have PCI bus drivers return -1000 and -10000 to establish a pecking order and we don't want catch-all or match-all drivers to attach instead of them. With this change poto(4) can be compiled into the kernel (or preloaded from the loader), without impact. --- sys/sys/bus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/bus.h b/sys/sys/bus.h index 8b1f1736a17f..42d3a3fea5e8 100644 --- a/sys/sys/bus.h +++ b/sys/sys/bus.h @@ -612,7 +612,7 @@ void bus_data_generation_update(void); #define BUS_PROBE_DEFAULT (-20) /* Base OS default driver */ #define BUS_PROBE_LOW_PRIORITY (-40) /* Older, less desirable drivers */ #define BUS_PROBE_GENERIC (-100) /* generic driver for dev */ -#define BUS_PROBE_HOOVER (-500) /* Generic dev for all devs on bus */ +#define BUS_PROBE_HOOVER (-1000000) /* Driver for any dev on bus */ #define BUS_PROBE_NOWILDCARD (-2000000000) /* No wildcard device matches */ /**