diff options
| author | Michael Brown | 2011-04-07 21:59:47 +0200 |
|---|---|---|
| committer | Michael Brown | 2011-04-08 00:09:19 +0200 |
| commit | fc7e2be617df0f671977655249f5c6a04a0ba04f (patch) | |
| tree | e0b37397cdfb2e4d588ec5c34fa9f05bb41719d4 /src/drivers/bus/isa.c | |
| parent | [build] Refuse to attempt building with the GNU gold linker (diff) | |
| download | ipxe-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.c | 1 |
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; |
