freebsd-dev/sys/isa
Warner Losh e09f49b6fa 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
..
ic $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
atkbd_isa.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
atkbdc_isa.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
atrtc.c i8254_restore is called from apm_default_resume() to reload 1999-10-30 14:56:01 +00:00
fd.c Tidy up a few loose ends in the fifo setup code. 1999-11-18 05:15:09 +00:00
fdc.h Add code to support ISA PnP. 1999-11-11 08:48:40 +00:00
fdreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
isa_common.c Allow NULL for startp and/or countp in bus_get_resource() so that you can 1999-11-20 14:56:55 +00:00
isa_common.h Change isa_get/set_flags() to device_get/set_flags(). 1999-09-07 08:42:49 +00:00
isa_if.m * Add struct resource_list* argument to resource_list_alloc and 1999-10-12 21:35:51 +00:00
isahint.c Allow a DMA channel of 0. This gets the on-board mss audio device working 1999-11-22 14:30:41 +00:00
isareg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
isavar.h * Add struct resource_list* argument to resource_list_alloc and 1999-10-12 21:35:51 +00:00
joy.c Oh foo. I got carried away. :-( "joy.h" is used to size an array. 1999-10-11 16:09:00 +00:00
pnp.c * Add some verbose logging to the PnP parser and fix a couple of bugs. 1999-10-14 21:03:03 +00:00
pnpparse.c * Add some verbose logging to the PnP parser and fix a couple of bugs. 1999-10-14 21:03:03 +00:00
pnpreg.h s/LOGIGAL/LOGICAL/ 1999-09-02 05:13:01 +00:00
pnpvar.h * Add some verbose logging to the PnP parser and fix a couple of bugs. 1999-10-14 21:03:03 +00:00
ppc.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
ppcreg.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
psm.c Use DEVICE_MODULE() directly instead of DEV_DRIVER_MODULE. psm.c uses 1999-11-08 07:29:23 +00:00
rtc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
sio.c Fix the hang on card eject problem and maybe the hang on suspend 1999-12-01 07:38:54 +00:00
sioreg.h Restore the old sio* - bruce can fix it himself. 1999-09-08 10:59:03 +00:00
syscons_isa.c Change isa_get/set_flags() to device_get/set_flags(). 1999-09-07 08:42:49 +00:00
vga_isa.c * Add struct resource_list* argument to resource_list_alloc and 1999-10-12 21:35:51 +00:00