[device] Make driver name a generic device property

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-04-07 20:59:47 +01:00
parent 6e6ecacebf
commit fc7e2be617
12 changed files with 14 additions and 16 deletions

View File

@@ -600,8 +600,8 @@ static int isapnp_probe ( struct isapnp_device *isapnp ) {
ISA_PROD_ID ( isapnp->prod_id ) )
continue;
isapnp->driver = driver;
isapnp->driver_name = id->name;
DBG ( "...using driver %s\n", isapnp->driver_name );
isapnp->dev.driver_name = id->name;
DBG ( "...using driver %s\n", isapnp->dev.driver_name );
if ( ( rc = driver->probe ( isapnp, id ) ) != 0 ) {
DBG ( "......probe failed\n" );
continue;