diff options
author | Michael Brown | 2007-01-10 06:52:04 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-10 06:52:04 +0100 |
commit | 489a4004d703d74f4ee5311a16a895a522c44879 (patch) | |
tree | e2dc85bba7587ea9a7a605ec508d27249bf4f562 /src/arch/i386/drivers | |
parent | Force ordering of commands within help list. (diff) | |
download | ipxe-489a4004d703d74f4ee5311a16a895a522c44879.tar.gz ipxe-489a4004d703d74f4ee5311a16a895a522c44879.tar.xz ipxe-489a4004d703d74f4ee5311a16a895a522c44879.zip |
Give UNDI device a more meaningful name.
Diffstat (limited to 'src/arch/i386/drivers')
-rw-r--r-- | src/arch/i386/drivers/net/undi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/drivers/net/undi.c b/src/arch/i386/drivers/net/undi.c index fee20958..492e8fa0 100644 --- a/src/arch/i386/drivers/net/undi.c +++ b/src/arch/i386/drivers/net/undi.c @@ -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 ); |