mirror of https://github.com/OpenIPC/firmware.git
27 lines
934 B
Diff
27 lines
934 B
Diff
--- linux-4.9.37/drivers/net/ethernet/goke/femac/util.h 1970-01-01 03:00:00.000000000 +0300
|
|
+++ linux-4.9.y/drivers/net/ethernet/goke/femac/util.h 2021-06-07 13:01:33.000000000 +0300
|
|
@@ -0,0 +1,22 @@
|
|
+/*
|
|
+ * Copyright (c) Hunan Goke,Chengdu Goke,Shandong Goke. 2021. All rights reserved.
|
|
+ */
|
|
+
|
|
+#ifndef __ETH_UTIL_H__
|
|
+#define __ETH_UTIL_H__
|
|
+
|
|
+#include "femac.h"
|
|
+
|
|
+int femac_check_hw_capability(struct sk_buff *skb);
|
|
+u32 femac_get_pkt_info(struct sk_buff *skb);
|
|
+void femac_sleep_us(u32 time_us);
|
|
+void femac_set_flow_ctrl(const struct femac_priv *priv);
|
|
+void femac_get_pauseparam(struct net_device *dev,
|
|
+ struct ethtool_pauseparam *pause);
|
|
+int femac_set_pauseparam(struct net_device *dev,
|
|
+ struct ethtool_pauseparam *pause);
|
|
+void femac_enable_rxcsum_drop(const struct femac_priv *priv,
|
|
+ bool drop);
|
|
+int femac_set_features(struct net_device *dev, netdev_features_t features);
|
|
+
|
|
+#endif
|
|
\ No newline at end of file
|