freebsd-skq/sys/pccard
Bill Paul 8d29af8945 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
1999-12-08 05:34:17 +00:00
..
cardinfo.h /tmp/msg 1999-12-02 05:46:22 +00:00
cis.h Minor formatting changes. No functional differences, but makes the 1996-06-05 05:30:09 +00:00
driver.h Make pccardc beep actually work. The kernel was doing the wrong thing 1999-12-02 19:46:41 +00:00
i82365.h Add probing support for the vadem VG365 and the Vadem VG465 pcic chips. 1998-08-25 22:46:44 +00:00
pccard_beep.c Make pccardc beep actually work. The kernel was doing the wrong thing 1999-12-02 19:46:41 +00:00
pccard_nbk.c Allow NULL for startp and/or countp in bus_get_resource() so that you can 1999-11-20 14:56:55 +00:00
pccard_nbk.h Massive rewrite of pccard to convert it to newbus. 1999-10-25 02:41:58 +00:00
pccard.c Fix alloc_driver() so that calls devclass_get_device() with slt->slotnum 1999-12-08 05:34:17 +00:00
pcic98reg.h Re-sync with the state of PC98 world. This will be the last commit before 1996-08-30 10:43:14 +00:00
pcic_pci.c Add the PCI id for the TI PCI-1251B PCI-CardBus bridge. 1999-11-28 13:37:35 +00:00
pcic_pci.h Add the PCI id for the TI PCI-1251B PCI-CardBus bridge. 1999-11-28 13:37:35 +00:00
pcic.c Remove the 'ivars' arguement to device_add_child() and 1999-12-03 08:41:24 +00:00
pcic.h Massive rewrite of pccard to convert it to newbus. 1999-10-25 02:41:58 +00:00
slot.h Remove unused junk: next fields and list head. Likely not completely 1999-12-06 01:35:37 +00:00