freebsd-skq/sys/pccard
imp 737361b49b Fix the hang on card eject problem and maybe the hang on suspend
problem.

o Create new timeout routine so we don't detach the card inside a ISR
  but instead drop back to spl0 via a timeout of 0.
o Actually delete the child of the pccard device rather than just faking
  it badly.
o Fix sio, ed and ep to have pccard detach routines that are int rather
  than void.
o Fix ep and ed pccard detach routines to use if_detach rather than just
  if_down.  if_detach destroys the device, while if_down just marks it
  down.  In this incarnation of the pccard things, we map the disable
  the slot action to detach the driver, which removes the driver from the
  device tree.  When that is done, a panic would soon follow as the
  ifconfig tried to down the device.

Didn't fix:
o Should cache the pccard dev child's pointer in struct slot
o remove now unused parts of struct slot
o Any driver using softc after detach has been called.  sio's softc used
  to be statically allocated, so you could check sc->gone, but that is
  now gone.
o Didn't remove gone from softc of drivers that use the old pccard method.

Didn't test:
o ed driver changes
o sio driver changes on pccards
o suspend (no laptop or apm support on my desktop)
1999-12-01 07:38:54 +00:00
..
cardinfo.h o Add additional printfs for error cases when we can't attach the device. 1999-08-01 18:12:51 +00:00
cis.h
driver.h Massive rewrite of pccard to convert it to newbus. 1999-10-25 02:41:58 +00:00
i82365.h
pccard_beep.c
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 the hang on card eject problem and maybe the hang on suspend 1999-12-01 07:38:54 +00:00
pcic98reg.h
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 Kill unneeded includes 1999-11-20 05:02:00 +00:00
pcic.h Massive rewrite of pccard to convert it to newbus. 1999-10-25 02:41:58 +00:00
slot.h Massive rewrite of pccard to convert it to newbus. 1999-10-25 02:41:58 +00:00