Name
sata_get_dev_handle —
finds acpi_handle and PCI device.function
Synopsis
int sata_get_dev_handle ( | struct device * | dev, |
| acpi_handle * | handle, |
| acpi_integer * | pcidevfn) ; |
Arguments
dev
device to locate
handle
returned acpi_handle for dev
pcidevfn
return PCI device.func for dev
Description
This function is somewhat SATA-specific. Or at least the
IDE and SCSI versions of this function are different,
so it's not entirely generic code.
Returns 0 on success, <0 on error.