summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/ixgbe/ixgbe_gld.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/ixgbe/ixgbe_gld.c')
-rw-r--r--usr/src/uts/common/io/ixgbe/ixgbe_gld.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/ixgbe/ixgbe_gld.c b/usr/src/uts/common/io/ixgbe/ixgbe_gld.c
index bfce23ddd9..4501451d99 100644
--- a/usr/src/uts/common/io/ixgbe/ixgbe_gld.c
+++ b/usr/src/uts/common/io/ixgbe/ixgbe_gld.c
@@ -26,6 +26,7 @@
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
*/
#include "ixgbe_sw.h"
@@ -431,7 +432,7 @@ setup_link:
err = ixgbe_set_priv_prop(ixgbe, pr_name, pr_valsize, pr_val);
break;
default:
- err = EINVAL;
+ err = ENOTSUP;
break;
}
mutex_exit(&ixgbe->gen_lock);
@@ -504,7 +505,7 @@ ixgbe_m_getprop(void *arg, const char *pr_name, mac_prop_id_t pr_num,
pr_valsize, pr_val);
break;
default:
- err = EINVAL;
+ err = ENOTSUP;
break;
}
return (err);