Skip to contentSkip to conversation

Question: Hot unplug with AHCI driver

DISCUSSION David Engraf 1 participant 1 message Dec 8, 2005 libata

lore
Share & tools
lore
#0 lore raw

Hi,

I want to add hot unplug support to the AHCI driver. The problem is that the Intel AHCI R1.1 documentation says that the controller on native hot plug support should generate an interrupt (PxIS.PCS, PxIS.PRCS). On my Intel ICH6M board I can see an interrupt but with the port status 0x0. The interrupt PxIE.PRCE and PxIE.PCE are set automatically on startup for each device. So I think the controller must generate a correct interrupt. Do you have any ideas why the controller makes no/wrong interrupt when I detach the device (hard disk).

Thanks
David

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.2071 from 08.12.2005
Virus news: www.antiviruslab.com