david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Give UNDI device a more meaningful name.

This commit is contained in:
Michael Brown 2007-01-10 05:52:04 +00:00
parent f396f1f9d3
commit 489a4004d7
1 changed files with 1 additions and 1 deletions

View File

@ -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 );