projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
eb213ae
)
[atheros] enable mtu & mac config options
author
acoul
<acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 29 Jul 2010 17:16:44 +0000
(17:16 +0000)
committer
acoul
<acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 29 Jul 2010 17:16:44 +0000
(17:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22412
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
target/linux/atheros/patches-2.6.32/110-ar2313_ethernet.patch
patch
|
blob
|
history
target/linux/atheros/patches-2.6.33/110-ar2313_ethernet.patch
patch
|
blob
|
history
target/linux/atheros/patches-2.6.34/110-ar2313_ethernet.patch
patch
|
blob
|
history
target/linux/atheros/patches-2.6.35/110-ar2313_ethernet.patch
patch
|
blob
|
history
target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch
[deleted file]
patch
|
blob
|
history
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
33e4ae3
..
7e6bc91
100644
(file)
--- 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
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)
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
6ce948e
..
0f1f2e3
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)
diff --git
a/target/linux/atheros/patches-2.6.34/110-ar2313_ethernet.patch
b/target/linux/atheros/patches-2.6.34/110-ar2313_ethernet.patch
index
5c6e556
..
7db1d99
100644
(file)
--- a/
target/linux/atheros/patches-2.6.34/110-ar2313_ethernet.patch
+++ b/
target/linux/atheros/patches-2.6.34/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)
diff --git
a/target/linux/atheros/patches-2.6.35/110-ar2313_ethernet.patch
b/target/linux/atheros/patches-2.6.35/110-ar2313_ethernet.patch
index
5c6e556
..
58bcdd3
100644
(file)
--- a/
target/linux/atheros/patches-2.6.35/110-ar2313_ethernet.patch
+++ b/
target/linux/atheros/patches-2.6.35/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)
@@
-333,7
+336,7
@@
+ filter |= MAC_CONTROL_PR;
+ else
+ filter &= ~MAC_CONTROL_PR;
+ filter |= MAC_CONTROL_PR;
+ else
+ filter &= ~MAC_CONTROL_PR;
-+ if ((dev->flags & IFF_ALLMULTI) || (
dev->mc_count
> 0))
++ if ((dev->flags & IFF_ALLMULTI) || (
netdev_mc_count(dev)
> 0))
+ filter |= MAC_CONTROL_PM;
+ else
+ filter &= ~MAC_CONTROL_PM;
+ filter |= MAC_CONTROL_PM;
+ else
+ filter &= ~MAC_CONTROL_PM;
diff --git
a/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch
b/target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch
deleted file mode 100644
(file)
index
b9c3e07
..0000000
--- a/
target/linux/atheros/patches-2.6.35/111-ar231x-mc_count.patch
+++ /dev/null
@@
-1,11
+0,0 @@
---- a/drivers/net/ar231x.c
-+++ b/drivers/net/ar231x.c
-@@ -321,7 +321,7 @@ static void ar231x_multicast_list(struct
- filter |= MAC_CONTROL_PR;
- else
- filter &= ~MAC_CONTROL_PR;
-- if ((dev->flags & IFF_ALLMULTI) || (dev->mc_count > 0))
-+ if ((dev->flags & IFF_ALLMULTI) || (netdev_mc_count(dev) > 0))
- filter |= MAC_CONTROL_PM;
- else
- filter &= ~MAC_CONTROL_PM;
This page took
0.037123 seconds
and
4
git commands to generate.