summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-04-15 03:41:58 +0000
committerdlg <dlg@openbsd.org>2019-04-15 03:41:58 +0000
commit5866b5bcfda2b92fdf53f43e5348183c44765f87 (patch)
tree2d31f040d7fb9a0d558e0637b78b68b417202255
parentfollow the basic xfp support with basic qsfp+ support (diff)
downloadwireguard-openbsd-5866b5bcfda2b92fdf53f43e5348183c44765f87.tar.xz
wireguard-openbsd-5866b5bcfda2b92fdf53f43e5348183c44765f87.zip
ethtool indicates that QSFP, QSFP+ and QSFP28 are all SFF-8636 compat.
-rw-r--r--sbin/ifconfig/sff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ifconfig/sff.c b/sbin/ifconfig/sff.c
index 5d4cdababc7..1975697413c 100644
--- a/sbin/ifconfig/sff.c
+++ b/sbin/ifconfig/sff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sff.c,v 1.9 2019/04/15 03:39:28 dlg Exp $ */
+/* $OpenBSD: sff.c,v 1.10 2019/04/15 03:41:58 dlg Exp $ */
/*
* Copyright (c) 2019 David Gwynne <dlg@openbsd.org>
@@ -355,7 +355,9 @@ if_sff_info(int s, const char *ifname, int dump)
}
error = if_inf8077(s, ifname, dump, &pg0);
break;
+ case SFF8024_ID_QSFP:
case SFF8024_ID_QSFP_PLUS:
+ case SFF8024_ID_QSFP28:
error = if_sff8636(s, ifname, dump, &pg0);
break;
}