Hi,
I have recently noticed that the irqs for my PCI devices are being screwed up
somehow. It is easily noticeable with dmesg, the correct one's are in paren.:
vga-pci0: <Matrox model 0521 graphics accelerator> irq 17(real 11)
at device 0.0 on pci1 ^^ ^^
pcm1: <SoundBlaster Live> irq 16(real 10) at device 15.0 on pci0
^^ ^^
ed0: <NE2000 PCI Ethernet (RealTek 8029)> irq 18(real 9) at device 18.0 on pci0
^^ ^
I used the following hack to show the real irqs:
--- pci.c.orig Fri Dec 3 02:20:56 1999
+++ pci.c Fri Dec 3 02:25:08 1999
@@ -1149,8 +1149,10 @@
retval += bus_print_child_header(dev, child);
- if (cfg->intpin > 0 && cfg->intline != 255)
+ if (cfg->intpin > 0 && cfg->intline != 255){
retval += printf(" irq %d", cfg->intline);
+ printf("(real %u)", pci_read_config(child, PCI_INTERRUPT_REG,
1));
+ }
retval += printf(" at device %d.%d", pci_get_slot(child),
pci_get_function(child));
pciconf also shows the incorrect irqs (but I can read the correct
ones with the -r option for pciconf). Is this a known problem, is anyone else
experiencing this? I haven't really looked at any of the code yet ( i got lost).
Here's some other relevant info (more available on request):
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
---------------------------------
Mike Heffner <[EMAIL PROTECTED]>
Fredericksburg, VA
ICQ# 882073
Date: 03-Dec-99 Time: 02:08:53
---------------------------------
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message