diff options
author | melifaro <melifaro@FreeBSD.org> | 2014-08-16 19:13:52 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2014-08-16 19:13:52 +0000 |
commit | 0c02adae03a55821b773682cdcca772d82058321 (patch) | |
tree | 8ded6023bf215aae53f892287ea40e3ccc26e690 /sbin/ifconfig/ifconfig.h | |
parent | 3ab69a246b2953d9e21457065faaacbd84b85dd1 (diff) | |
download | FreeBSD-src-0c02adae03a55821b773682cdcca772d82058321.zip FreeBSD-src-0c02adae03a55821b773682cdcca772d82058321.tar.gz |
Add support for reading i2c SFP/SFP+ data from NIC driver and
presenting most interesting fields via ifconfig -v.
This version supports Intel ixgbe driver only.
Tested on: Cisco,Intel,Mellanox,ModuleTech,Molex transceivers
MFC after: 2 weeks
Diffstat (limited to 'sbin/ifconfig/ifconfig.h')
-rw-r--r-- | sbin/ifconfig/ifconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/ifconfig/ifconfig.h b/sbin/ifconfig/ifconfig.h index ea21db5..e449c1d 100644 --- a/sbin/ifconfig/ifconfig.h +++ b/sbin/ifconfig/ifconfig.h @@ -143,6 +143,8 @@ void ifmaybeload(const char *name); typedef void clone_callback_func(int, struct ifreq *); void clone_setdefcallback(const char *, clone_callback_func *); +void sfp_status(int s, struct ifreq *ifr, int verbose); + /* * XXX expose this so modules that neeed to know of any pending * operations on ifmedia can avoid cmd line ordering confusion. |