From 489a4004d703d74f4ee5311a16a895a522c44879 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 10 Jan 2007 05:52:04 +0000 Subject: [PATCH] Give UNDI device a more meaningful name. --- src/arch/i386/drivers/net/undi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );