Lines Matching defs:pci
47 #include "pci.h"
129 static int sis900_probe(struct dev *dev, struct pci_device *pci);
158 * @pci_dev: the sis900 pci device
185 * @pci_dev: the sis900 pci device
229 * @pci_dev: the sis900 pci device
268 * @pci_dev: the sis900 pci device
316 static int sis900_probe(struct dev *dev, struct pci_device *pci)
325 if (pci->ioaddr == 0)
329 nic->ioaddr = pci->ioaddr & ~3;
330 ioaddr = pci->ioaddr & ~3;
331 vendor = pci->vendor;
332 dev_id = pci->dev_id;
335 pcibios_write_config_dword(pci->bus, pci->devfn, 0x40, 0x00000000);
337 adjust_pci_device(pci);
341 pcibios_read_config_byte(pci->bus,pci->devfn, PCI_REVISION, &revision);
347 ret = sis630e_get_mac_addr(pci, nic);
349 ret = sis635_get_mac_addr(pci, nic);
351 ret = sis96x_get_mac_addr(pci, nic);
353 ret = sis900_get_mac_addr(pci, nic);