mirror of https://github.com/ipxe/ipxe.git
Give UNDI device a more meaningful name.
parent
f396f1f9d3
commit
489a4004d7
|
@ -98,7 +98,7 @@ static int undipci_probe ( struct pci_device *pci,
|
|||
|
||||
/* Add to device hierarchy */
|
||||
snprintf ( undi->dev.name, sizeof ( undi->dev.name ),
|
||||
"UNDI%04x:%04x", undi->entry.segment, undi->entry.offset );
|
||||
"UNDI-%s", pci->dev.name );
|
||||
undi->dev.parent = &pci->dev;
|
||||
INIT_LIST_HEAD ( &undi->dev.children );
|
||||
list_add ( &undi->dev.siblings, &pci->dev.children );
|
||||
|
|
Loading…
Reference in New Issue