Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2015 17:25:46 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r284088 - head/sys/sys
Message-ID:  <201506061725.t56HPkmf061032@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Sat Jun  6 17:25:45 2015
New Revision: 284088
URL: https://svnweb.freebsd.org/changeset/base/284088

Log:
  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.

Modified:
  head/sys/sys/bus.h

Modified: head/sys/sys/bus.h
==============================================================================
--- head/sys/sys/bus.h	Sat Jun  6 17:08:06 2015	(r284087)
+++ head/sys/sys/bus.h	Sat Jun  6 17:25:45 2015	(r284088)
@@ -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 */
 
 /**



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506061725.t56HPkmf061032>