int pci_setup_device(struct pci_dev * dev)
{ u32 class; u8 hdr_type;
...
sprintf(pci_name(dev), "%04x:%02x:%02x.%d", pci_domain_nr(dev->bus),
dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
"drivers/pci/probe.c"
lspci や ethtool -i eth0 で表示されるPCIカードの位置を示すIDを初期設定する箇所。