Re: pci bus 1

From: Junjiro Okajima (j-okajim@nskli014.nsk.nis.nec.co.jp)
Date: Mon Apr 17 2000 - 07:23:49 EST


Hello, Martin and all.

> > This is strange, I've expected my patch will do exactly the same
> > thing as your dirty hack, but let's investigate further.

Last mail, I reported that the detection of scsi contollers on the pci
bus 1, peer bus, is succeeded but the driver or controller didn't
work.

Our friend Ken-ichi Yaku told me about the MP table. It is generated
by BIOS and the irqs of pci devices must be rewritten with this table.
Yes, he pointed out that calling the pcibios_fixup_irqs() in
pcibios_init() should be after the pci-bios_fixup_peer_bridges().

Again I tested normal kernel 2.3.99-pre5 and it didn't work either. I
modified the file linux/arch/i386/kernel/pci-pc.c like this and worked
fine!!
----------------------------------------------------------------------
--- linux/arch/i386/kernel/pci-pc.c Wed Apr 12 08:10:32 2000
+++ /usr/src/linux/arch/i386/kernel/pci-pc.c Mon Apr 17 20:19:31 2000
@@ -969,8 +969,8 @@
         printk("PCI: Probing PCI hardware\n");
         pci_root_bus = pci_scan_bus(0, pci_root_ops, NULL);
 
- pcibios_fixup_irqs();
         pcibios_fixup_peer_bridges();
+ pcibios_fixup_irqs();
         pcibios_resource_survey();
 
 #ifdef CONFIG_PCI_BIOS
----------------------------------------------------------------------

Martin, please join this patch to your code.

BTW
Mr. Ken-ichi Yaku knows I/O APIC well, and I know he had sent another
patch about I/O APIC in the 2.2 era.

Junjiro Okajima

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:10 EST