diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-07-29 17:16:44 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-07-29 17:16:44 +0000 |
commit | 1197bf389b501f5af5735d1ab7fc887149a03af0 (patch) | |
tree | b05e5d509330902bad1b6185c884795bdb640880 /target/linux/atheros/patches-2.6.34 | |
parent | 4fb664dbd30f12c12b010ee165d88c646f0e6866 (diff) | |
download | master-187ad058-1197bf389b501f5af5735d1ab7fc887149a03af0.tar.gz master-187ad058-1197bf389b501f5af5735d1ab7fc887149a03af0.tar.bz2 master-187ad058-1197bf389b501f5af5735d1ab7fc887149a03af0.zip |
[atheros] enable mtu & mac config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22412 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.34')
-rw-r--r-- | target/linux/atheros/patches-2.6.34/110-ar2313_ethernet.patch | 13 |
1 files changed, 8 insertions, 5 deletions
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 5c6e5568ed..7db1d992b1 100644 --- 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 -@@ -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) |