Skip to contentSkip to conversation

hot ejection of CardBus cards and ExpressCards

DISCUSSION Stefan Richter 2 participants 2 messages Dec 22, 2006

lore
Share & tools
lore
#0 lore raw

Would-be driver programmer's question #217:
How has a driver's remove routine to account for hot ejection of a PCI device? Does it merely boil down to that writing to device registers doesn't have side effects anymore or is there more to it? Thanks,

Signature · 3 lines
Stefan Richter
-=====-=-==- ==-- =-==-
http://arcgraph.de/sr/
#1 lore raw

Am Freitag, 22. Dezember 2006 11:43 schrieb Stefan Richter:

Quoted 4 lines

Would-be driver programmer's question #217:
How has a driver's remove routine to account for hot ejection of a PCI device? Does it merely boil down to that writing to device registers doesn't have side effects anymore or is there more to it?

Reading will return 0xFF. And you have to deregister the device and free resources from your disconnect() method.

HTH
Oliver