Subject: Re: fixing IRQs
To: None <port-i386@NetBSD.org>
From: Rui Paulo <rpaulo@fnop.net>
List: port-i386
Date: 12/25/2005 19:29:51
--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On 2005.12.25 19:11:24 +0000, Rui Paulo wrote:
| 3) What does the missing IRQ mean ?
| 4) What's a PCI ICU and what can I do to detect mine ?
Both fixed by adding the appropriate PCI product id in
pci_intr_fixup.c.
BIOS32 rev. 0 found at 0xfd560
PCI BIOS rev. 2.1 found at 0xfd7be
pcibios: config mechanism [1][x], special cycles [x][x], last bus 7
PCI IRQ Routing Table rev. 1.0 found at 0xfdd70, size 0 bytes (-2 entries)
pcibios_pir_init: bad IRQ table size
PCI BIOS has 12 Interrupt Routing table entries
PIR Entry 0:
Bus: 0 Device: 28
INTA: link 0x02 bitmap 0x0400
INTB: link 0x01 bitmap 0x0400
INTC: link 0x03 bitmap 0x0840
INTD: link 0x04 bitmap 0x0840
PIR Entry 1:
Bus: 2 Device: 0
INTA: link 0x00 bitmap 0xdef8
INTB: link 0x00 bitmap 0xdef8
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
PIR Entry 2:
Bus: 0 Device: 29
INTA: link 0x08 bitmap 0x0840
INTB: link 0x04 bitmap 0x0840
INTC: link 0x03 bitmap 0x0840
INTD: link 0x01 bitmap 0x0400
PIR Entry 3:
Bus: 0 Device: 30
INTA: link 0x02 bitmap 0x0400
INTB: link 0x05 bitmap 0x0840
INTC: link 0x01 bitmap 0x0400
INTD: link 0x05 bitmap 0x0840
PIR Entry 4:
Bus: 0 Device: 31
INTA: link 0x03 bitmap 0x0840
INTB: link 0x04 bitmap 0x0840
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x01 bitmap 0x0400
PIR Entry 5:
Bus: 1 Device: 0
INTA: link 0x01 bitmap 0x0400
INTB: link 0x02 bitmap 0x0400
INTC: link 0x03 bitmap 0x0840
INTD: link 0x04 bitmap 0x0840
PIR Entry 6:
Bus: 0 Device: 0
INTA: link 0x01 bitmap 0x0400
INTB: link 0x00 bitmap 0xdef8
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
PIR Entry 7:
Bus: 0 Device: 2
INTA: link 0x01 bitmap 0x0400
INTB: link 0x00 bitmap 0xdef8
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
PIR Entry 8:
Bus: 0 Device: 1
INTA: link 0x01 bitmap 0x0400
INTB: link 0x00 bitmap 0xdef8
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
PIR Entry 9:
Bus: 1 Device: 8
INTA: link 0x01 bitmap 0x0400
INTB: link 0x00 bitmap 0xdef8
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
PIR Entry 10:
Bus: 1 Device: 1
INTA: link 0x03 bitmap 0x0840
INTB: link 0x00 bitmap 0xdef8
INTC: link 0x04 bitmap 0x0840
INTD: link 0x00 bitmap 0xdef8
PIR Entry 11:
Bus: 1 Device: 3
INTA: link 0x02 bitmap 0x0400
INTB: link 0x04 bitmap 0x0840
INTC: link 0x00 bitmap 0xdef8
INTD: link 0x00 bitmap 0xdef8
pciintr_link_fixup: PIRQ 0x00 already connected to IRQ 10
pciintr_link_fixup: PIRQ 0x01 already connected to IRQ 10
pciintr_link_fixup: PIRQ 0x02 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x03 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x07 already connected to IRQ 11
pciintr_link_fixup: PIRQ 0x04 already connected to IRQ 11
pciintr_link_route: route of PIRQ 0x00 -> IRQ 10 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x01 -> IRQ 10 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x02 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x03 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x07 -> IRQ 11 preserved BIOS setting
pciintr_link_route: route of PIRQ 0x04 -> IRQ 11 preserved BIOS setting
------------------------------------------
device vendor product pin PIRQ IRQ stage
------------------------------------------
000:01:0 0x8086 0x2591 A 0x00 10 0 already assigned
000:28:0 0x8086 0x2660 A 0x01 10 0 already assigned
000:28:1 0x8086 0x2662 B 0x00 10 0 already assigned
000:28:2 0x8086 0x2664 C 0x02 11 0 already assigned
000:29:0 0x8086 0x2658 A 0x07 11 0 already assigned
000:29:1 0x8086 0x2659 B 0x03 11 0 already assigned
000:29:2 0x8086 0x265a C 0x02 11 0 already assigned
000:29:3 0x8086 0x265b D 0x00 10 0 already assigned
000:29:7 0x8086 0x265c A 0x07 11 0 already assigned
000:30:2 0x8086 0x266e A 0x01 10 0 already assigned
000:30:3 0x8086 0x266d B 0x04 11 0 already assigned
000:31:1 0x8086 0x266f A 0x02 11 0 fixed up
000:31:3 0x8086 0x266a B 0x03 11 0 already assigned
001:00:0 0x1002 0x3150 A 0x00 10 0 already assigned
------------------------------------------
pciintr_irq_release: fixup pciirq level/edge map 0x0c00
pciintr_irq_release: bios pciirq level/edge map 0x0c00
pciintr_irq_release: final pciirq level/edge map 0x0c00
mainbus0 (root)
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x00005800
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x00005808
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x00005810
pci_addr_fixup: 000:31:1 0x8086 0x266f new address 0x0000580c
-- Rui Paulo
--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)
iD8DBQFDrvMvZPqyxs9FH4QRAllXAJ9mfxFPoSWUOSj+hucjz6pr7AFALQCdEzHc
YLajGiRsLtfe2d98oAK8IYM=
=3NZD
-----END PGP SIGNATURE-----
--6TrnltStXW4iwmi0--