aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-07-29 17:16:44 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-07-29 17:16:44 +0000
commitdaf10573bab33e2c31704247877d2b248835edb6 (patch)
treed93dc848056596532cceb2544f9ef17168ec3c89 /target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch
parentcb8ce973f77f7eaf7a1d1cfef39425b3f3f78d1f (diff)
downloadupstream-daf10573bab33e2c31704247877d2b248835edb6.tar.gz
upstream-daf10573bab33e2c31704247877d2b248835edb6.tar.bz2
upstream-daf10573bab33e2c31704247877d2b248835edb6.zip
enable mtu & mac config options
SVN-Revision: 22412
Diffstat (limited to 'target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch')
-rw-r--r--target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch13
1 files changed, 8 insertions, 5 deletions
diff --git a/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch b/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch
index 33e4ae332a..7e6bc91a24 100644
--- a/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch
+++ b/target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch
@@ -25,7 +25,7 @@
obj-$(CONFIG_DECLANCE) += declance.o
--- /dev/null
+++ b/drivers/net/ar231x.c
-@@ -0,0 +1,1263 @@
+@@ -0,0 +1,1266 @@
+/*
+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
+ *
@@ -182,11 +182,14 @@
+#endif
+
+static const struct net_device_ops ar231x_ops = {
-+ .ndo_open = ar231x_open,
-+ .ndo_stop = ar231x_close,
-+ .ndo_start_xmit = ar231x_start_xmit,
++ .ndo_open = ar231x_open,
++ .ndo_stop = ar231x_close,
++ .ndo_start_xmit = ar231x_start_xmit,
+ .ndo_set_multicast_list = ar231x_multicast_list,
-+ .ndo_do_ioctl = ar231x_ioctl,
++ .ndo_do_ioctl = ar231x_ioctl,
++ .ndo_change_mtu = eth_change_mtu,
++ .ndo_validate_addr = eth_validate_addr,
++ .ndo_set_mac_address = eth_mac_addr,
+};
+
+int __init ar231x_probe(struct platform_device *pdev)