mirror of
https://github.com/ipxe/ipxe
synced 2026-01-12 08:28:37 +03:00
[undi] Clean up driver and device name information
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>
This commit is contained in:
@@ -53,8 +53,6 @@ struct undi_device {
|
||||
*/
|
||||
UINT16_t flags;
|
||||
|
||||
/** Generic device */
|
||||
struct device dev;
|
||||
/** Driver-private data
|
||||
*
|
||||
* Use undi_set_drvdata() and undi_get_drvdata() to access this
|
||||
|
||||
Reference in New Issue
Block a user