--- pci-pc.c.orig 2003-01-04 12:09:35.000000000 +0000 +++ pci-pc.c 2003-01-04 12:12:37.000000000 +0000 @@ -459,6 +459,8 @@ { unsigned int tmp; unsigned long flags; + unsigned int foo; + unsigned int bar; __save_flags(flags); __cli(); @@ -493,13 +495,17 @@ outb (0x00, 0xCFB); outb (0x00, 0xCF8); outb (0x00, 0xCFA); - if (inb (0xCF8) == 0x00 && inb (0xCFA) == 0x00 && + foo = inb (0xCF8); + bar = inb (0xCFA); + if (foo == 0x00 && bar == 0x00 && pci_sanity_check(&pci_direct_conf2)) { __restore_flags(flags); printk(KERN_INFO "PCI: Using configuration type 2\n"); request_region(0xCF8, 4, "PCI conf2"); return &pci_direct_conf2; } + printk ((KERN_INFO, "PCI: Failed to use configuration type 1 or 2. +0xCF8:%x 0xCFA:%x\n", foo, bar); } __restore_flags(flags);