mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
[netdevice] Add mechanism for reporting detailed link status codes
Expand the NETDEV_LINK_UP bit into a link_rc status code field, allowing specific reasons for link failure to be reported via "ifstat". Originally-authored-by: Joshua Oreman <oremanj@rwcr.net>
This commit is contained in:
@@ -115,6 +115,7 @@ struct errortab common_errors[] __errortab = {
|
||||
{ ENOEXEC, "Not an executable image" },
|
||||
{ ENOMEM, "Out of memory" },
|
||||
{ ENOSPC, "No space left on device" },
|
||||
{ ENOTCONN, "Not connected" },
|
||||
{ ENOTSUP, "Not supported" },
|
||||
{ EPERM, "Operation not permitted" },
|
||||
{ ERANGE, "Out of range" },
|
||||
|
||||
Reference in New Issue
Block a user