[device] Make driver name a generic device property
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user