[coreboot] r598 - coreboot-v3/device

svn at coreboot.org svn at coreboot.org
Thu Feb 14 21:54:01 CET 2008


Author: hailfinger
Date: 2008-02-14 21:54:00 +0100 (Thu, 14 Feb 2008)
New Revision: 598

Modified:
   coreboot-v3/device/pci_device.c
Log:
Remove superfluous #if 1. The code has been enabled since it was
committed, the #if 1 never served any purpose.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
Acked-by: Stefan Reinauer <stepan at coresystems.de>


Modified: coreboot-v3/device/pci_device.c
===================================================================
--- coreboot-v3/device/pci_device.c	2008-02-14 16:59:37 UTC (rev 597)
+++ coreboot-v3/device/pci_device.c	2008-02-14 20:54:00 UTC (rev 598)
@@ -1271,7 +1271,6 @@
 	outb((unsigned char)(intBits >> 8), 0x4d1);
 
 	/* This seems like an error but is not. */
-#if 1
 	if (inb(0x4d0) != (intBits & 0xff)) {
 		printk(BIOS_ERR,
 		       "%s: lower order bits are wrong: want 0x%x, got 0x%x\n",
@@ -1282,7 +1281,6 @@
 		       "%s: lower order bits are wrong: want 0x%x, got 0x%x\n",
 		       __func__, (intBits >> 8) & 0xff, inb(0x4d1));
 	}
-#endif
 }
 
 /**





More information about the coreboot mailing list