summaryrefslogtreecommitdiffstats
path: root/sys/sys/bus.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2015-06-06 17:25:45 +0000
committermarcel <marcel@FreeBSD.org>2015-06-06 17:25:45 +0000
commit588e58addb0cae718fcf0e9c6ece0c24c26c2066 (patch)
treefc41cf1b3bd448fce107b0ea170f27d94b513714 /sys/sys/bus.h
parentb931fbe7e864c0022d3a8e56c1869ab7141c2000 (diff)
downloadFreeBSD-src-588e58addb0cae718fcf0e9c6ece0c24c26c2066.zip
FreeBSD-src-588e58addb0cae718fcf0e9c6ece0c24c26c2066.tar.gz
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.
Diffstat (limited to 'sys/sys/bus.h')
-rw-r--r--sys/sys/bus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
index 8b1f173..42d3a3f 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 */
/**
OpenPOWER on IntegriCloud