ath79: ag71xx: Remove ar7240_set_addr and ag71xx_ar7240_start
authorChuanhong Guo <gch981213@gmail.com>
Tue, 17 Jul 2018 09:09:13 +0000 (17:09 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:43:33 +0000 (10:43 +0200)
commit24cbe27bb7ff83b9bb3a2640904bced1a2d14a8d
tree82e1800f8b179f1f71249e46e100b1ffb98fa0f2
parent2d081addb537ac3dc41d61487561458c7733c7ba
ath79: ag71xx: Remove ar7240_set_addr and ag71xx_ar7240_start

The builtin switch has it's initial valid mac address(00:00:01:00:00:00).
Since the builtin switch is an independent device, setting mac address of gmac1 to builtin switch isn't a good idea and this makes it impossilbe to split builtin switch apart as an independent platform device.
Remove these functions and apply default VLAN during initialization as a preparation for further driver splitting.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c