summaryrefslogtreecommitdiffstats
path: root/src/hci/strerror.c
diff options
context:
space:
mode:
authorMichael Brown2009-06-24 13:52:38 +0200
committerMichael Brown2009-06-24 14:04:36 +0200
commita310d00d37f8362b48913972927bfb78e7d7586d (patch)
tree8cd343a5de2c6ab1c3f4b825daba09f5a631d101 /src/hci/strerror.c
parent[comboot] Implement INT 22h AX=000Bh (Get Serial Console Configuration) (diff)
downloadipxe-a310d00d37f8362b48913972927bfb78e7d7586d.tar.gz
ipxe-a310d00d37f8362b48913972927bfb78e7d7586d.tar.xz
ipxe-a310d00d37f8362b48913972927bfb78e7d7586d.zip
[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>
Diffstat (limited to 'src/hci/strerror.c')
-rw-r--r--src/hci/strerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hci/strerror.c b/src/hci/strerror.c
index 4b16608c..216b1e57 100644
--- a/src/hci/strerror.c
+++ b/src/hci/strerror.c
@@ -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" },