diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-01-06 17:23:37 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2009-01-06 17:23:37 +0000 |
commit | 4d7a485a5266b1987891fc4cd20902fc96d1a88a (patch) | |
tree | 6451bf655643fdb49d8fd50ea77f0f8149f7b436 /sys/dev/iicbus/if_ic.c | |
parent | 2fd77860b9c036749ea1b22a224818e1a757a1e3 (diff) | |
download | FreeBSD-src-4d7a485a5266b1987891fc4cd20902fc96d1a88a.zip FreeBSD-src-4d7a485a5266b1987891fc4cd20902fc96d1a88a.tar.gz |
Change the way I2C bus attachment works to allow firmware-assisted bus
subclasses as are available with PCI. Changes I2C device drivers without
real probe logic to return BUS_PROBE_NOWILDWARD to avoid interference with
firmware bus enumeration, and reduces the probe priority of the iicbus
base driver to allow subclass attachment at higher priority.
Discussed on: freebsd-arch
Diffstat (limited to 'sys/dev/iicbus/if_ic.c')
-rw-r--r-- | sys/dev/iicbus/if_ic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iicbus/if_ic.c b/sys/dev/iicbus/if_ic.c index 1c48f71..2457a9f 100644 --- a/sys/dev/iicbus/if_ic.c +++ b/sys/dev/iicbus/if_ic.c @@ -153,7 +153,7 @@ ic_alloc_buffers(struct ic_softc *sc, int mtu) static int icprobe(device_t dev) { - return (0); + return (BUS_PROBE_NOWILDCARD); } /* |