Index: freebios2/src/devices/pci_device.c =================================================================== RCS file: /cvsroot/freebios/freebios2/src/devices/pci_device.c,v retrieving revision 1.29 diff -u -r1.29 pci_device.c --- freebios2/src/devices/pci_device.c 21 Oct 2004 10:43:55 -0000 1.29 +++ freebios2/src/devices/pci_device.c 2 Dec 2004 10:15:11 -0000 @@ -924,13 +924,13 @@ /* this seems like an error but is not ... */ #if 1 - if (inb(0x4d0) != (intBits & 0xf)) { + if (inb(0x4d0) != (intBits & 0xff)) { printk_err("%s: lower order bits are wrong: want 0x%x, got 0x%x\n", - __func__, intBits &0xf, inb(0x4d0)); + __func__, intBits &0xff, inb(0x4d0)); } - if (inb(0x4d1) != ((intBits >> 8) & 0xf)) { - printk_err("%s: lower order bits are wrong: want 0x%x, got 0x%x\n", - __func__, (intBits>>8) &0xf, inb(0x4d1)); + if (inb(0x4d1) != ((intBits >> 8) & 0xff)) { + printk_err("%s: high order bits are wrong: want 0x%x, got 0x%x\n", + __func__, (intBits>>8) &0xff, inb(0x4d1)); } #endif }