2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

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

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