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 Martin Weinelt
parent 0a22218304
commit c124f6f410
3 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,8 @@ elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040',
table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ipq806x', nil, {'netgear,r7800'}) then
table.insert(try_files, 1, '/sys/class/net/eth1/address')
elseif platform.match('mpc85xx', 'p1020', {'aerohive,hiveap-330'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ramips', 'mt7620', {'miwifi-mini'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ramips', 'mt7621', {'dir-860l-b1'}) then

5
targets/mpc85xx-p1020 Normal file
View File

@ -0,0 +1,5 @@
-- Aerohive
device('aerohive-hiveap-330', 'hiveap-330', {
factory = false,
})

View File

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