summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKanoj Sarcar <kanoj@engr.sgi.com>2000-08-31 02:36:16 +0000
committerKanoj Sarcar <kanoj@engr.sgi.com>2000-08-31 02:36:16 +0000
commitd05b113e3f2e33a8b586341757d1fac21c8796a5 (patch)
tree1ae53be3a950082b9a92a5d55ca568e5d143f71f /arch
parent691ce1627151a0ceba3f30252f0aa79d8d8b06c1 (diff)
Slightly tweak how the ioc3 fixup interacts with serial driver. Also,
hardcode the 0xFF00 value into subsystem_vendor, instead of relying on PCI commands to ioc3 to do this.
Diffstat (limited to 'arch')
-rw-r--r--arch/mips64/sgi-ip27/ip27-pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips64/sgi-ip27/ip27-pci.c b/arch/mips64/sgi-ip27/ip27-pci.c
index e9cd1d8e4..66fa27b19 100644
--- a/arch/mips64/sgi-ip27/ip27-pci.c
+++ b/arch/mips64/sgi-ip27/ip27-pci.c
@@ -326,10 +326,11 @@ pci_fixup_ioc3(struct pci_dev *d)
* these ioc3s. Identify MENET cards by seeing if an ioc3 is
* at slot 3.
*/
+ d->subsystem_vendor = 0xFF00;
if (PCI_SLOT(d->devfn) == 3) {
struct list_head *p;
list_for_each(p, &d->bus->devices) {
- list_entry(p, struct pci_dev, bus_list)->device = 0;
+ list_entry(p, struct pci_dev, bus_list)->subsystem_vendor = 0;
}
}
}