[coreboot] [commit] r5757 - trunk/src/devices/oprom/yabel

repository service svn at coreboot.org
Mon Aug 30 23:52:38 CEST 2010


Author: myles
Date: Mon Aug 30 23:52:38 2010
New Revision: 5757
URL: https://tracker.coreboot.org/trac/coreboot/changeset/5757

Log:
Make yabel work for non-zero bus numbers.  The link_num is not the bus number.

Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Myles Watson <mylesgw at gmail.com>

Modified:
   trunk/src/devices/oprom/yabel/device.c

Modified: trunk/src/devices/oprom/yabel/device.c
==============================================================================
--- trunk/src/devices/oprom/yabel/device.c	Mon Aug 30 19:53:13 2010	(r5756)
+++ trunk/src/devices/oprom/yabel/device.c	Mon Aug 30 23:52:38 2010	(r5757)
@@ -45,7 +45,7 @@
 {
 	int taa_index = 0;
 	struct resource *r;
-	u8 bus = bios_device.dev->bus->link_num;
+	u8 bus = bios_device.dev->bus->secondary;
 	u16 devfn = bios_device.dev->path.pci.devfn;
 
 	bios_device.bus =  bus;




More information about the coreboot mailing list