summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/drivers
diff options
context:
space:
mode:
authorMichael Brown2007-01-10 06:52:04 +0100
committerMichael Brown2007-01-10 06:52:04 +0100
commit489a4004d703d74f4ee5311a16a895a522c44879 (patch)
treee2dc85bba7587ea9a7a605ec508d27249bf4f562 /src/arch/i386/drivers
parentForce ordering of commands within help list. (diff)
downloadipxe-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.c2
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 );