Re: [ACPI] Re: RFC: ACPI/scsi/libata integration and hotswap
From: Alan Cox
Date: Thu Dec 08 2005 - 09:53:52 EST
On Iau, 2005-12-08 at 14:43 +0000, Matthew Garrett wrote:
> ACPI methods belong to SATA/PATA targets, not PCI devices. The
> notification you get is something of the form
>
> \SB.PCI.IDE0.SEC.MASTER
That is fine. Given struct ata_port * you can get
channel = ap->hard_port_no
pci device ptr = to_pci(ap->host_set->dev)
And from the struct ata_device *
slave = (adev->devno == 1)
-
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/