aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch')
-rw-r--r--target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch4
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch b/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
index bd998b1427..fcb6abff7d 100644
--- a/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
+++ b/target/linux/ath25/patches-5.15/110-ar2313_ethernet.patch
@@ -33,7 +33,7 @@
+obj-$(CONFIG_NET_AR231X) += ar231x.o
--- /dev/null
+++ b/drivers/net/ethernet/atheros/ar231x/ar231x.c
-@@ -0,0 +1,1119 @@
+@@ -0,0 +1,1117 @@
+/*
+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
+ *
@@ -156,8 +156,6 @@
+MODULE_DESCRIPTION("AR231x Ethernet driver");
+#endif
+
-+#define virt_to_phys(x) ((u32)(x) & 0x1fffffff)
-+
+/* prototypes */
+static void ar231x_halt(struct net_device *dev);
+static void rx_tasklet_func(unsigned long data);