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