Re: ata_piix failure on ich6m

From: Matthew Garrett
Date: Thu May 11 2006 - 04:11:32 EST


On Thu, May 11, 2006 at 11:16:08AM +0900, Tejun Heo wrote:

> I'm not very sure but it might be historical. ahci got implemented
> after ata_piix and in the meantime ata_piix must have handled all it
> could. Can you verify whether modifying the code to return -ENODEV work
> for your machine? If so, that could be the correct solution but I'm a
> bit worried because it could change probing order or fail to enable
> devices it used to. Maybe we need a hack to return -ENODEV iff ahci is
> there to handle the device.

I can verify that just loading ahci before ata_piix is successful, and
udev will load both of them since the PCI IDs match. So just having
ata_piix refuse to bind would solve the problem. Unfortunately I can't
see a way of doing this only if ahci is present if they're modular...

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
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/