projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable mtu & mac config options
[openwrt/staging/mkresin.git]
/
target
/
linux
/
atheros
/
patches-2.6.33
/
110-ar2313_ethernet.patch
diff --git
a/target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch
b/target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch
index 6ce948efe61d9a7b8c02781dfc680d1bbbd162ea..0f1f2e35bb3ea564a0a37aae142883df15d41de3 100644
(file)
--- a/
target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch
+++ b/
target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch
@@
-25,7
+25,7
@@
obj-$(CONFIG_DECLANCE) += declance.o
--- /dev/null
+++ b/drivers/net/ar231x.c
obj-$(CONFIG_DECLANCE) += declance.o
--- /dev/null
+++ b/drivers/net/ar231x.c
-@@ -0,0 +1,126
3
@@
+@@ -0,0 +1,126
6
@@
+/*
+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
+ *
+/*
+ * ar231x.c: Linux driver for the Atheros AR231x Ethernet device.
+ *
@@
-182,11
+182,14
@@
+#endif
+
+static const struct net_device_ops ar231x_ops = {
+#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_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)
+};
+
+int __init ar231x_probe(struct platform_device *pdev)