diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-08-31 02:36:16 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-08-31 02:36:16 +0000 |
commit | d05b113e3f2e33a8b586341757d1fac21c8796a5 (patch) | |
tree | 1ae53be3a950082b9a92a5d55ca568e5d143f71f /arch/mips64 | |
parent | 691ce1627151a0ceba3f30252f0aa79d8d8b06c1 (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/mips64')
-rw-r--r-- | arch/mips64/sgi-ip27/ip27-pci.c | 3 |
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; } } } |