Re: hot ejection of CardBus cards and ExpressCards

From: Oliver Neukum
Date: Fri Dec 22 2006 - 12:04:29 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/