lkml.org 
[lkml]   [2003]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectPATCH: fix visws pci (visws specific code)

(Andrey Panin)

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.6.0-test1/arch/i386/pci/visws.c linux-2.6.0-test1-ac2/arch/i386/pci/visws.c
--- linux-2.6.0-test1/arch/i386/pci/visws.c 2003-07-10 21:12:50.000000000 +0100
+++ linux-2.6.0-test1-ac2/arch/i386/pci/visws.c 2003-07-15 17:23:53.000000000 +0100
@@ -17,7 +17,7 @@

int broken_hp_bios_irq9;

-extern struct pci_ops pci_direct_conf1;
+extern struct pci_raw_ops pci_direct_conf1;

static int pci_visws_enable_irq(struct pci_dev *dev) { return 0; }

@@ -101,8 +101,9 @@
printk(KERN_INFO "PCI: Lithium bridge A bus: %u, "
"bridge B (PIIX4) bus: %u\n", pci_bus1, pci_bus0);

- pci_scan_bus(pci_bus0, &pci_direct_conf1, NULL);
- pci_scan_bus(pci_bus1, &pci_direct_conf1, NULL);
+ raw_pci_ops = &pci_direct_conf1;
+ pci_scan_bus(pci_bus0, &pci_root_ops, NULL);
+ pci_scan_bus(pci_bus1, &pci_root_ops, NULL);
pci_fixup_irqs(visws_swizzle, visws_map_irq);
pcibios_resource_survey();
return 0;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.026 / U:0.500 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site