Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

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.

AUTHOR

       Jeff Garzik.