Messages in this thread | | | Subject | Re: Hotswap support for libata | From | Alan Cox <> | Date | Sat, 03 Sep 2005 18:53:11 +0100 |
| |
On Sad, 2005-09-03 at 02:38 -0400, Jeff Garzik wrote: > controllers myself. Many controllers don't have an explicit hotplug > interrupt, but rather we must examine the PhyRdy bit in the standard > SError register for details. If the bit's state changes in any way > (including two or more state changes), we (a) check for device presence, > and (b) if device is present, initialize it (SET FEATURES - XFER MODE, > etc.).
For PATA we may need to reprogram both drives so please be sure that is allowed for. Also much PATA is "warm swap" not "hot swap" as we have to perform actions in software prior to the swap.
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |