summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sunplus/spl2sw_int.h
diff options
context:
space:
mode:
authorWells Lu <wellslutw@gmail.com>2022-05-08 13:13:20 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-05-10 12:31:32 +0300
commitfd3040b9394c58bcedb83554bcf1a073021d6b36 (patch)
treee86cce4a4624353b24ffb5a8d3186d1af455ea80 /drivers/net/ethernet/sunplus/spl2sw_int.h
parent0cfeca62b56abde16c6f12e30cdff46177c687e8 (diff)
downloadlinux-fd3040b9394c58bcedb83554bcf1a073021d6b36.tar.xz
net: ethernet: Add driver for Sunplus SP7021
Add driver for Sunplus SP7021 SoC. Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Wells Lu <wellslutw@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/sunplus/spl2sw_int.h')
-rw-r--r--drivers/net/ethernet/sunplus/spl2sw_int.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sunplus/spl2sw_int.h b/drivers/net/ethernet/sunplus/spl2sw_int.h
new file mode 100644
index 000000000000..64f6f2572fe3
--- /dev/null
+++ b/drivers/net/ethernet/sunplus/spl2sw_int.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright Sunplus Technology Co., Ltd.
+ * All rights reserved.
+ */
+
+#ifndef __SPL2SW_INT_H__
+#define __SPL2SW_INT_H__
+
+int spl2sw_rx_poll(struct napi_struct *napi, int budget);
+int spl2sw_tx_poll(struct napi_struct *napi, int budget);
+irqreturn_t spl2sw_ethernet_interrupt(int irq, void *dev_id);
+
+#endif