aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-07-07 13:44:12 +0000
committerJohn Crispin <blogic@openwrt.org>2015-07-07 13:44:12 +0000
commit3441eefc5b607c6e4012ffbebfbb41f44864d1a6 (patch)
tree49445bbf845b5efb6108c225cdf6b7861b9b4957 /target
parentce19d3e8c0fda1ede00fd3f1cb5725b490fdaa33 (diff)
downloadmaster-187ad058-3441eefc5b607c6e4012ffbebfbb41f44864d1a6.tar.gz
master-187ad058-3441eefc5b607c6e4012ffbebfbb41f44864d1a6.tar.bz2
master-187ad058-3441eefc5b607c6e4012ffbebfbb41f44864d1a6.zip
lantiq: Change the data-type of mac address in ETOP driver
Make it consistent with the net_device struct and the xrx200 driver Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46219 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch2
-rw-r--r--target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch9
2 files changed, 1 insertions, 10 deletions
diff --git a/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch b/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch
index 187e301ed2..6a752f9725 100644
--- a/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch
+++ b/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch
@@ -170,7 +170,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ int tx_irq;
+ int rx_irq;
+
-+ const void *mac;
++ unsigned char mac[6];
+ int mii_mode;
spinlock_t lock;
diff --git a/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch b/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
index 04c2071f32..094d16c5c9 100644
--- a/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
+++ b/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
@@ -590,15 +590,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+device_initcall(of_ralink_eeprom_init);
--- a/drivers/net/ethernet/lantiq_etop.c
+++ b/drivers/net/ethernet/lantiq_etop.c
-@@ -161,7 +161,7 @@ struct ltq_etop_priv {
- int tx_irq;
- int rx_irq;
-
-- const void *mac;
-+ void *mac;
- int mii_mode;
-
- spinlock_t lock;
@@ -840,7 +840,11 @@ ltq_etop_init(struct net_device *dev)
if (err)
goto err_hw;