Преглед изворни кода

mpc85xx: remove Watchguard T10 MAC override

As the mac-address readout never worked, the mac-address fillout by the
bootloader is sufficient. Remove the readout for the Watchguard T10
then.

Signed-off-by: David Bauer <[email protected]>
David Bauer пре 2 година
родитељ
комит
aa4a9058fb
1 измењених фајлова са 0 додато и 5 уклоњено
  1. 0 5
      target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh

+ 0 - 5
target/linux/mpc85xx/base-files/lib/preinit/10_fix_eth_mac.sh

@@ -7,11 +7,6 @@ preinit_set_mac_address() {
 		ip link set dev eth0 address $(mtd_get_mac_ascii cfg1 ethaddr)
 		ip link set dev eth1 address $(mtd_get_mac_ascii cfg1 eth1addr)
 		;;
-	watchguard,firebox-t10)
-		ip link set dev eth0 address "$(mtd_get_mac_text "device_id" 0x1830)"
-		ip link set dev eth1 address "$(mtd_get_mac_text "device_id" 0x1844)"
-		ip link set dev eth2 address "$(mtd_get_mac_text "device_id" 0x1858)"
-		;;
 	esac
 }