summaryrefslogtreecommitdiffstats
path: root/src/drivers/bus/isa.c
diff options
context:
space:
mode:
authorMichael Brown2011-04-07 21:59:47 +0200
committerMichael Brown2011-04-08 00:09:19 +0200
commitfc7e2be617df0f671977655249f5c6a04a0ba04f (patch)
treee0b37397cdfb2e4d588ec5c34fa9f05bb41719d4 /src/drivers/bus/isa.c
parent[build] Refuse to attempt building with the GNU gold linker (diff)
downloadipxe-fc7e2be617df0f671977655249f5c6a04a0ba04f.tar.gz
ipxe-fc7e2be617df0f671977655249f5c6a04a0ba04f.tar.xz
ipxe-fc7e2be617df0f671977655249f5c6a04a0ba04f.zip
[device] Make driver name a generic device property
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/bus/isa.c')
-rw-r--r--src/drivers/bus/isa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/bus/isa.c b/src/drivers/bus/isa.c
index e40d382a6..9b562c664 100644
--- a/src/drivers/bus/isa.c
+++ b/src/drivers/bus/isa.c
@@ -114,6 +114,7 @@ static int isabus_probe ( struct root_device *rootdev ) {
/* Add to device hierarchy */
snprintf ( isa->dev.name, sizeof ( isa->dev.name ),
"ISA%04x", isa->ioaddr );
+ isa->dev.driver_name = driver->name;
isa->dev.desc.bus_type = BUS_TYPE_ISA;
isa->dev.desc.vendor = driver->vendor_id;
isa->dev.desc.device = driver->prod_id;