Fix the <NULL> driver name reported by "ifstat" when using the undipci driver (due to the unnecessary extra device node inserted as a child of the PCI device). Remove the "UNDI-" prefix from device names since the driver name is also now visible via "ifstat", and tidy up the device name to match the format used by standard PCI devices. The output from "ifstat" now resembles: iPXE> ifstat net0: 52:54:00:12:34:56 using undipci on 0000:00:03.0 iPXE> ifstat net0: 52:54:00:12:34:56 using undionly on 0000:00:03.0 Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
94 |
|
94 |
|
95 |
|
95 |
|
96 |
|
96 |
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
97 |
|
106 |
|
|
|
|
98 |
|
|
107 |
|
99 |
|
108 |
|
100 |
|
109 |
|
101 |
|
110 |
|
102 |
|
111 |
|
103 |
|
112 |
|
104 |
|
113 |
|
|
|
114 |
|
105 |
|
115 |
|
106 |
|
116 |
|
107 |
|
|
|
||
128 |
|
119 |
|
129 |
|
120 |
|
130 |
|
121 |
|
131 |
|
|
|
132 |
|
122 |
|
133 |
|
123 |
|
134 |
|
124 |
|
|
|
||
598 |
|
598 |
|
599 |
|
599 |
|
600 |
|
600 |
|
601 |
|
|
|
|
601 |
|
|
602 |
|
602 |
|
603 |
|
603 |
|
604 |
|
|
|
|
604 |
|
|
605 |
|
605 |
|
606 |
|
606 |
|
607 |
|
607 |
|
608 |
|
608 |
|
609 |
|
609 |
|
610 |
|
610 |
|
611 |
|
|
|
612 |
|
|
|
613 |
|
|
|
|
611 |
|
|
|
612 |
|
|
|
613 |
|
|
614 |
|
614 |
|
615 |
|
615 |
|
616 |
|
616 |
|
|
|
||
621 |
|
621 |
|
622 |
|
622 |
|
623 |
|
623 |
|
|
624 |
|
|
624 |
|
625 |
|
625 |
|
626 |
|
626 |
|
|
|
|
627 |
|
|
627 |
|
628 |
|
628 |
|
629 |
|
629 |
|
630 |
|
|
|
||
644 |
|
645 |
|
645 |
|
646 |
|
646 |
|
647 |
|
647 |
|
|
|
|
648 |
|
|
648 |
|
649 |
|
649 |
|
650 |
|
650 |
|
651 |
|
|
|
||
733 |
|
734 |
|
734 |
|
735 |
|
735 |
|
736 |
|
736 |
|
|
|
|
737 |
|
|
737 |
|
738 |
|
738 |
|
739 |
|
739 |
|
740 |
|
|
|
||
50 |
|
50 |
|
51 |
|
51 |
|
52 |
|
52 |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
53 |
|
56 |
|
54 |
|
57 |
|
55 |
|
58 |
|
|
|
||
60 |
|
63 |
|
61 |
|
64 |
|
62 |
|
65 |
|
|
66 |
|
|
63 |
|
67 |
|
64 |
|
68 |
|
65 |
|
69 |
|
|
|
||
69 |
|
73 |
|
70 |
|
74 |
|
71 |
|
75 |
|
72 |
|
|
|
|
76 |
|
|
73 |
|
77 |
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
81 |
|
84 |
|
82 |
|
85 |
|
83 |
|
86 |
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
|
87 |
|
|
|
88 |
|
|
87 |
|
89 |
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
91 |
|
93 |
|
92 |
|
94 |
|
93 |
|
|
|
|
95 |
|
|
94 |
|
96 |
|
95 |
|
97 |
|
96 |
|
98 |
|
97 |
|
99 |
|
98 |
|
100 |
|
99 |
|
|
|
|
101 |
|
|
100 |
|
102 |
|
101 |
|
103 |
|
102 |
|
104 |
|
|
|
||
107 |
|
109 |
|
108 |
|
110 |
|
109 |
|
111 |
|
|
112 |
|
|
110 |
|
113 |
|
111 |
|
114 |
|
112 |
|
|
|
|
115 |
|
|
113 |
|
116 |
|
114 |
|
117 |
|
115 |
|
118 |
|
|
|
||
53 |
|
53 |
|
54 |
|
54 |
|
55 |
|
55 |
|
56 |
|
|
|
57 |
|
|
|
58 |
|
56 |
|
59 |
|
57 |
|
60 |
|
58 |
|
|
|
||
10 |
|
10 |
|
11 |
|
11 |
|
12 |
|
12 |
|
|
13 |
|
|
13 |
|
14 |
|
14 |
|
|
|
|
15 |
|
|
15 |
|
16 |
|
16 |
|
17 |
|
17 |
|
18 |
|