Page MenuHomeFreeBSD

D37214.id112412.diff
No OneTemporary

D37214.id112412.diff

diff --git a/sys/compat/linuxkpi/common/include/linux/ethtool.h b/sys/compat/linuxkpi/common/include/linux/ethtool.h
--- a/sys/compat/linuxkpi/common/include/linux/ethtool.h
+++ b/sys/compat/linuxkpi/common/include/linux/ethtool.h
@@ -38,4 +38,20 @@
uint8_t __dummy[0];
};
+enum ethtool_ss {
+ ETH_SS_STATS,
+};
+
+struct ethtool_drvinfo {
+ char *driver;
+ char *version;
+ char *fw_version;
+ char *bus_info;
+};
+
+struct net_device;
+struct ethtool_ops {
+ void(*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
+};
+
#endif /* _LINUXKPI_LINUX_ETHTOOL_H_ */

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 17, 4:05 AM (11 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14669971
Default Alt Text
D37214.id112412.diff (589 B)

Event Timeline