aef6e26169
Frist, for pci slots, make the setup intr save the requested interrupt vector and arg and return rather than passing it up to our parent. On interrupts, we call this vector iff there's a card in the slot. This should eliminate some of the hangs or "weird" messages that people see when ejecting cards and also help close the race window somewhat. Reading the pci bus one more time for this information is judged to be an acceptible tradeoff since it is very very fast. Cleanup a little how we detect unsupported cards. Only detect unsupported cards (eg cardbus cards) on card insertion (or more pedantically when a card is actually present). This should allow us to change the message in the future to "cardbus card not supported with OLDCARD" :-). Note: We may also consider this for the ISA bus case, but there the reads are much more expensive and the location of the CD pin status lines appears to be less standardized. Also, the ISA management interrupt isn't shared with the card's interrupt. The mutliplex the CSC and function interrupts bit also appears to be non-standard (or at least not imlemented on all bridges). |
||
---|---|---|
.. | ||
cardinfo.h | ||
cis.h | ||
driver.h | ||
i82365.h | ||
mecia.c | ||
meciareg.h | ||
pccard_beep.c | ||
pccard_nbk.c | ||
pccard_nbk.h | ||
pccard.c | ||
pcic_isa.c | ||
pcic_pci.c | ||
pcic_pci.h | ||
pcic.c | ||
pcicvar.h | ||
plxcard.c | ||
plxcardreg.h | ||
slot.h |