pci.c (d0034a7a4ac7fae708146ac0059b9c47a1543f0d) | pci.c (06dc660e6eb8817c4c379d2ca290ae0b3f77c69f) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* pci.c: UltraSparc PCI controller support. 3 * 4 * Copyright (C) 1997, 1998, 1999 David S. Miller (davem@redhat.com) 5 * Copyright (C) 1998, 1999 Eddie C. Dost (ecd@skynet.be) 6 * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz) 7 * 8 * OF tree based PCI bus probing taken from the PowerPC port --- 996 unchanged lines hidden (view full) --- 1005} 1006 1007void pcibios_set_master(struct pci_dev *dev) 1008{ 1009 /* No special bus mastering setup handling */ 1010} 1011 1012#ifdef CONFIG_PCI_IOV | 1// SPDX-License-Identifier: GPL-2.0 2/* pci.c: UltraSparc PCI controller support. 3 * 4 * Copyright (C) 1997, 1998, 1999 David S. Miller (davem@redhat.com) 5 * Copyright (C) 1998, 1999 Eddie C. Dost (ecd@skynet.be) 6 * Copyright (C) 1999 Jakub Jelinek (jj@ultra.linux.cz) 7 * 8 * OF tree based PCI bus probing taken from the PowerPC port --- 996 unchanged lines hidden (view full) --- 1005} 1006 1007void pcibios_set_master(struct pci_dev *dev) 1008{ 1009 /* No special bus mastering setup handling */ 1010} 1011 1012#ifdef CONFIG_PCI_IOV |
1013int pcibios_add_device(struct pci_dev *dev) | 1013int pcibios_device_add(struct pci_dev *dev) |
1014{ 1015 struct pci_dev *pdev; 1016 1017 /* Add sriov arch specific initialization here. 1018 * Copy dev_archdata from PF to VF 1019 */ 1020 if (dev->is_virtfn) { 1021 struct dev_archdata *psd; --- 131 unchanged lines hidden --- | 1014{ 1015 struct pci_dev *pdev; 1016 1017 /* Add sriov arch specific initialization here. 1018 * Copy dev_archdata from PF to VF 1019 */ 1020 if (dev->is_virtfn) { 1021 struct dev_archdata *psd; --- 131 unchanged lines hidden --- |