Author: blogic Date: 2015-07-07 15:44:12 +0200 (Tue, 07 Jul 2015) New Revision: 46219
Modified: trunk/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch trunk/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch Log: 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 <[email protected]> Modified: trunk/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch =================================================================== --- trunk/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch 2015-07-07 13:44:04 UTC (rev 46218) +++ trunk/target/linux/lantiq/patches-3.18/0028-NET-lantiq-various-etop-fixes.patch 2015-07-07 13:44:12 UTC (rev 46219) @@ -170,7 +170,7 @@ + int tx_irq; + int rx_irq; + -+ const void *mac; ++ unsigned char mac[6]; + int mii_mode; spinlock_t lock; Modified: trunk/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch =================================================================== --- trunk/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch 2015-07-07 13:44:04 UTC (rev 46218) +++ trunk/target/linux/lantiq/patches-3.18/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch 2015-07-07 13:44:12 UTC (rev 46219) @@ -590,15 +590,6 @@ +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; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
