Add compatibility function pci_name(pci_dev) for kernel < 2.4.22. It
authorIan Abbott <abbotti@mev.co.uk>
Mon, 7 Aug 2006 18:01:40 +0000 (18:01 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Mon, 7 Aug 2006 18:01:40 +0000 (18:01 +0000)
commitc4dd64c517de588bdc352b0379ed05a10a526ea4
treecefb40654f8301c5e16724ad13eaa05349df16d7
parent057a2886681bce0105f3e60de907fbec5d49673a
Add compatibility function pci_name(pci_dev) for kernel < 2.4.22.  It
returns the pci device name as a char * (e.g. "00:09.0" for bus 0, slot 9,
func 0, or "0000:00:09.0" for recent kernels that include the PCI domain
in the string).
include/linux/pci.h