The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* hot ejection of CardBus cards and ExpressCards
@ 2006-12-22 10:43 Stefan Richter
  2006-12-22 17:05 ` Oliver Neukum
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Richter @ 2006-12-22 10:43 UTC (permalink / raw)
  To: linux-kernel

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,
-- 
Stefan Richter
-=====-=-==- ==-- =-==-
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hot ejection of CardBus cards and ExpressCards
  2006-12-22 10:43 hot ejection of CardBus cards and ExpressCards Stefan Richter
@ 2006-12-22 17:05 ` Oliver Neukum
  0 siblings, 0 replies; 2+ messages in thread
From: Oliver Neukum @ 2006-12-22 17:05 UTC (permalink / raw)
  To: Stefan Richter; +Cc: linux-kernel

Am Freitag, 22. Dezember 2006 11:43 schrieb Stefan Richter:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-22 17:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-22 10:43 hot ejection of CardBus cards and ExpressCards Stefan Richter
2006-12-22 17:05 ` Oliver Neukum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox