mcp85xx-p1020: add support for Aerohive HiveAP 330

This commit is contained in:
Simon Terzenbach 2019-08-12 15:25:31 +02:00 committed by Andreas Ziegler
parent d8479d1b38
commit 68c2b7bb32
3 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,8 @@ elseif platform.match('ar71xx', 'nand', {'hiveap-121'}) then
elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040', elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040',
'openmesh,a42', 'openmesh,a62'}) then 'openmesh,a42', 'openmesh,a62'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('mpc85xx', 'p1020', {'aerohive,hiveap-330'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then
table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress') table.insert(try_files, 1, '/sys/class/ieee80211/phy1/macaddress')
end end

4
targets/mpc85xx-p1020 Normal file
View File

@ -0,0 +1,4 @@
# Aerohive
device aerohive-hiveap-330 hiveap-330
factory

View File

@ -6,6 +6,7 @@ $(eval $(call GluonTarget,ar71xx,nand))
$(eval $(call GluonTarget,brcm2708,bcm2708)) $(eval $(call GluonTarget,brcm2708,bcm2708))
$(eval $(call GluonTarget,brcm2708,bcm2709)) $(eval $(call GluonTarget,brcm2708,bcm2709))
$(eval $(call GluonTarget,mpc85xx,generic)) $(eval $(call GluonTarget,mpc85xx,generic))
$(eval $(call GluonTarget,mpc85xx,p1020))
$(eval $(call GluonTarget,ramips,mt7621)) $(eval $(call GluonTarget,ramips,mt7621))
$(eval $(call GluonTarget,sunxi,cortexa7)) $(eval $(call GluonTarget,sunxi,cortexa7))
$(eval $(call GluonTarget,x86,generic)) $(eval $(call GluonTarget,x86,generic))