Browse Source

Give UNDI device a more meaningful name.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
489a4004d7
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/drivers/net/undi.c

+ 1
- 1
src/arch/i386/drivers/net/undi.c View File

98
 
98
 
99
 	/* Add to device hierarchy */
99
 	/* Add to device hierarchy */
100
 	snprintf ( undi->dev.name, sizeof ( undi->dev.name ),
100
 	snprintf ( undi->dev.name, sizeof ( undi->dev.name ),
101
-		   "UNDI%04x:%04x", undi->entry.segment, undi->entry.offset );
101
+		   "UNDI-%s", pci->dev.name );
102
 	undi->dev.parent = &pci->dev;
102
 	undi->dev.parent = &pci->dev;
103
 	INIT_LIST_HEAD ( &undi->dev.children );
103
 	INIT_LIST_HEAD ( &undi->dev.children );
104
 	list_add ( &undi->dev.siblings, &pci->dev.children );
104
 	list_add ( &undi->dev.siblings, &pci->dev.children );

Loading…
Cancel
Save