On 7/31/05, Ricky Cheng <[EMAIL PROTECTED]> wrote: > Hi, This is Ricky. I am finding solution of sil 3512 chip hotswap problem. > I think this doc can help some. But I don't really understand libata very > much. > Can someone help some ideas?..Thanks > I know I should do something in interrupt handler in libata.c like check > status of plug/unplug. Is is right?
Yo. I'm working on a hotswap infrastructure patch right now that would give you the API necessary to perform a hotswap. There are essentially two parts: 1) The driver has to recognize that a plug/unplug event occurred 2) libata has to take the appropriate action to plug/unplug a device. Currently, I have only done step 1) for the sata_promise driver. Step 2) is being... well, written. Since you're doing hotswap stuff, great, you can test it for me (I am in China until September with no goddamn hardware to test with)! Look (tonight, over the next few hours in fact) for messages of the type "Add disk hotswap support to libata." I should have some patches sent in by then. Luke Kosewski - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html