From: Andrew Patterson Date: Mon, 12 Oct 2009 19:14:00 +0000 (-0600) Subject: PCI: add pci_get_domain_bus_and_slot function X-Git-Tag: v2.6.33-rc1~321^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c299dc22635e500214707aa28be119ff2b3901c;p=pandora-kernel.git PCI: add pci_get_domain_bus_and_slot function Added the pci_get_domain_and_slot_function which is analogous to pci_get_bus_and_slot. It returns a pci_dev given a domain (segment) number, bus number, and devnr. Like pci_get_bus_and_slot, pci_get_domain_bus_and_slot holds a reference to the returned pci_dev. Converted pci_get_bus_and_slot to a wrapper that calls pci_get_domain_bus_and_slot with the domain hard-coded to 0. This routine was patterned off code suggested by Bjorn Helgaas. Acked-by: Huang Ying Signed-off-by: Andrew Patterson Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed