[coreboot] r581 - coreboot-v3/device

svn at coreboot.org svn at coreboot.org
Fri Feb 8 16:57:02 CET 2008


Author: rminnich
Date: 2008-02-08 16:57:02 +0100 (Fri, 08 Feb 2008)
New Revision: 581

Modified:
   coreboot-v3/device/pci_device.c
Log:
Trivial patch: for an id, use DEVICE_ID_PCI, not DEVICE_PATH_PCI.

Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
Acked-by: Ronald G. Minnich <rminnich at gmail.com>



Modified: coreboot-v3/device/pci_device.c
===================================================================
--- coreboot-v3/device/pci_device.c	2008-02-08 12:15:46 UTC (rev 580)
+++ coreboot-v3/device/pci_device.c	2008-02-08 15:57:02 UTC (rev 581)
@@ -972,7 +972,7 @@
 			       devfn, id);
 			return NULL;
 		}
-		devid.type = DEVICE_PATH_PCI;
+		devid.type = DEVICE_ID_PCI;
 		devid.u.pci.vendor = id & 0xffff;
 		devid.u.pci.device = id >> 16;
 		dev = alloc_dev(bus, &dummy.path, &devid);





More information about the coreboot mailing list