Date: Wed, 15 Jan 1997 15:40:06 -0700 From: vanmaren@fast.cs.utah.edu (Kevin Van Maren) To: matt@lkg.dec.com, smp@csn.net Cc: ken@housing1.stucen.gatech.edu, kmitch@weenix.guru.org, se@zpr.uni-koeln.de, smp@freebsd.org Subject: Re: Adaptec 3940UW and SMP Message-ID: <199701152240.PAA01822@fast.cs.utah.edu>
next in thread | raw e-mail | index | archive | help
--- system #1, Tomcat III MB, Keith Mitchell <kmitch@weenix.guru.org>: MP table (abbreviated): Bus: Bus ID Type 0 ISA 1 PCI I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ... INT conforms conforms 0 9 2 9 INT conforms conforms 0 10 2 10 ... INT active-lo level 1 20:A 2 16 INT active-lo level 1 19:A 2 17 INT active-lo level 1 18:A 2 18 INT active-lo level 1 17:A 2 19 dmesg output (abbreviated): de0 <Digital 21040 Ethernet> rev 35 int a irq 19 on pci0:17 Freeing (NOT implimented) irq 9 for ISA cards. ... de1 <Digital 21040 Ethernet> rev 35 int a irq 16 on pci0:20 Freeing (NOT implimented) irq 11 for ISA cards. ... ahc0 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci1:4 ... ahc1 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 9 on pci1:5 - >In my system, I have the on-board IDE stuff disabled. I also have nothing >on IRQ 5. Which leaves IRQs: 5, 14, and 15 totally unused. I have them >marked for PCI/PNP use in my bios yet it still won't use them. Okay, I am guessing, but I am assuming that the wires are hard-wired... So, ahc0 should be on IRQ xx, where xx corresponds to the slot the PPB is in. (Which slot is the Adaptec controller in? The first device should have that IRQ). ach1 should have IRQ 19, as PCI irq 9 is mapped to IRQ 19. Shared with de0. --- system #2, ASUS P/I-P65UP5 w/ C-P6ND cpu card, Kenneth Merry <ken@housing1.stucen.gatech.edu>: MP table (abbreviated): Bus: Bus ID Type 0 PCI 1 PCI 2 ISA I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID INT# ... INT conforms conforms 2 8 2 8 [ NOTE: MP table is missing 9,10,11 from ISA bus listings! ] INT conforms conforms 2 12 2 12 ... INT active-lo level 2 11 2 17 INT active-lo level 2 10 2 18 INT active-lo level 2 9 2 19 dmesg output (abbreviated): de0 <Digital 21140 Fast Ethernet> rev 18 int a irq 10 on pci0:10 ahc0 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci1:4 ahc1 <Adaptec 3940 Ultra SCSI host adapter> rev 0 int a irq 10 on pci1:5 Again, what slot on Bus 0 is the PPB on? That will give you int A. Int B will be hard to tell where it is mapped, unless the IRQ is shared with annother device, giving half of the answer... ahc0 : IRQ xx ahc1 : IRQ 18 (10 mapped to 18) This should be correct (I'm guessing) since PCI only has 4 IRQs, no matter how they are mapped. Print out the slot number for the PPB chip, and use that for the first device on Bus 1 (or whatever). Again, I agree: mapping IRQs behind bridges does seem tricky. Of course, mapping anything but INT A will give you the same problems! They really should be in the table... Kevin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701152240.PAA01822>