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

NAME

       pata_get_dev_handle - finds acpi_handle and PCI device.function

SYNOPSIS

       int pata_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

       The PATA and SATA versions of this function are different.

       Returns 0 on success, <0 on error.

AUTHOR

       Jeff Garzik.