K 10 svn:author V 5 wpaul K 8 svn:date V 27 1999-12-08T05:34:17.000000Z K 7 svn:log V 676 Fix alloc_driver() so that calls devclass_get_device() with slt->slotnum as the unit argument instead of 0. disable_slot() calls devclass_get_device() correctly, however because alloc_driver() does it wrong, disable_slot() is unable to locate the child devices attached to the pccard bus and thus fails to call device_delete_child() on them. The end result is that when a card is removed, its detach routine is never called, and re-insertion always fails. With this fix (and the previous one to if_wi.c), I can now insert, remove and re-insert my WaveLAN/IEEE card and things behave correctly. kldunloading the if_wi.ko module also seems to work properly now. Ok'ed by: imp END