aboutsummaryrefslogtreecommitdiff
path: root/src/hci
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2009-06-24 12:52:38 +0100
committerMichael Brown <mcb30@etherboot.org>2009-06-24 13:04:36 +0100
commita310d00d37f8362b48913972927bfb78e7d7586d (patch)
tree8cd343a5de2c6ab1c3f4b825daba09f5a631d101 /src/hci
parentcb9700ef6f5ea2db575d9a7c91c74fb5756fea48 (diff)
downloadipxe-a310d00d37f8362b48913972927bfb78e7d7586d.zip
ipxe-a310d00d37f8362b48913972927bfb78e7d7586d.tar.gz
ipxe-a310d00d37f8362b48913972927bfb78e7d7586d.tar.bz2
[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')
-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 4b16608..216b1e5 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" },