]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add call to bus_generic_attach() at the end of sk_attach(). It turns out that
authorBill Paul <wpaul@FreeBSD.org>
Wed, 2 Aug 2000 18:19:00 +0000 (18:19 +0000)
committerBill Paul <wpaul@FreeBSD.org>
Wed, 2 Aug 2000 18:19:00 +0000 (18:19 +0000)
commitabe1d92e0ac3924fa763661a870fe0b7371c54c2
treed0d1f376716690d1e2d55cfb22a85dcb0177361b
parent00a08dc01ad4d1087bd88b2079b85e8205966a60
Add call to bus_generic_attach() at the end of sk_attach(). It turns out that
if you kldload this driver, all the subordinate devices are probed/attached
as expected. But this is not the case when the driver is statically compiled
into the kernel. Since I do most of my testing with modules, I failed to
notice this. I'm not sure if it's intended behavior or not. I think it may
be, but it seems a little counter-intuitive.
sys/dev/sk/if_sk.c
sys/pci/if_sk.c