freebsd-dev/sys/pccard
Warner Losh a66173abd2 Disable the card after sending the removed event up to the pccard
layer.  This fixes an ordering problem that would cause the ISR for
the device to run with now power applied to the device.  Most cards
failed to deal with this gracefully, and thus would hang on card
eject.

The power down event, for those keeping score, is what causes the
interrupt for the card.

Many folks in the Japanese nomads list have reported this, so I'll be
MFCing quickly for their benefit.

Submitted by: Masayuki FUKUI
MFC after: 2 days
2001-05-07 16:50:34 +00:00
..
cardinfo.h First step towards plugging the "pccard is trying to map into a BIOS 2001-03-26 08:05:20 +00:00
cis.h MFPAO3. Improvement of of pccard cis tuple parsing capability. 2000-04-26 15:36:43 +00:00
driver.h Axe a few __P() while I'm in the neighborhood. 2001-03-22 05:49:18 +00:00
i82365.h First cut at bringing NEC PC98 original pccard bridge code back into 2001-04-19 00:04:08 +00:00
pccard_beep.c Place the call to pccard_insert_beep() in the inserted() timeout 2001-03-20 18:10:19 +00:00
pccard_nbk.c My fix to NEWCARD for getting the function type broke oldcard due to 2001-04-21 14:10:32 +00:00
pccard_nbk.h Massive rewrite of pccard to convert it to newbus. 1999-10-25 02:41:58 +00:00
pccard.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00
pcic98reg.h First cut at bringing NEC PC98 original pccard bridge code back into 2001-04-19 00:04:08 +00:00
pcic_pci.c Move setting of TI113X_PCI_CARD_CONTROL register sooner 2001-04-17 23:56:12 +00:00
pcic_pci.h When booting, turn on the 3E0 compatibility address for ricoh cardbus 2001-04-17 23:15:00 +00:00
pcic.c Disable the card after sending the removed event up to the pccard 2001-05-07 16:50:34 +00:00
pcic.h add PIOCSRESOURCE(IOC_GET_RESOURCE_RANGE) 2000-09-17 15:37:53 +00:00
slot.h First cut at bringing NEC PC98 original pccard bridge code back into 2001-04-19 00:04:08 +00:00