aboutsummaryrefslogtreecommitdiff
path: root/src/devices/pci_device.c
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2003-10-15 20:05:11 +0000
committerRonald G. Minnich <rminnich@gmail.com>2003-10-15 20:05:11 +0000
commitb56ef076002ee90ac08fbac5888b8b3374ce582e (patch)
tree8f9e65c647dd1db2d3fc512fe9e6a2b98ed258fe /src/devices/pci_device.c
parent820dea8a628a862639da3c4a4d465422a94f3a8d (diff)
for tyan. recover from Eric B's error additions to via code :-)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1220 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/devices/pci_device.c')
-rw-r--r--src/devices/pci_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/pci_device.c b/src/devices/pci_device.c
index ffa420739a..734b982a6d 100644
--- a/src/devices/pci_device.c
+++ b/src/devices/pci_device.c
@@ -699,6 +699,8 @@ static void pci_level_irq(unsigned char intNum)
outb((unsigned char) intBits, 0x4d0);
outb((unsigned char) (intBits >> 8), 0x4d1);
+ /* this seems like an error but is not ... */
+#if 0
if (inb(0x4d0) != (intBits & 0xf)) {
printk_err("%s: lower order bits are wrong: want 0x%x, got 0x%x\n",
__FUNCTION__, intBits &0xf, inb(0x4d0));
@@ -707,6 +709,7 @@ static void pci_level_irq(unsigned char intNum)
printk_err("%s: lower order bits are wrong: want 0x%x, got 0x%x\n",
__FUNCTION__, (intBits>>8) &0xf, inb(0x4d1));
}
+#endif
}
/*