Merge pull request #2707 from AiyionPrime/dgs-1210-10p
realtek-rtl838x: add support for D-Link DGS-1210-10P
This commit is contained in:
commit
4d61bc1bfa
9
.github/filters.yml
vendored
9
.github/filters.yml
vendored
@ -147,6 +147,15 @@
|
|||||||
"targets/generic",
|
"targets/generic",
|
||||||
"targets/targets.mk"
|
"targets/targets.mk"
|
||||||
],
|
],
|
||||||
|
"realtek-rtl838x": [
|
||||||
|
"targets/realtek-rtl838x",
|
||||||
|
"modules",
|
||||||
|
"Makefile",
|
||||||
|
"patches/**",
|
||||||
|
"scripts/**",
|
||||||
|
"targets/generic",
|
||||||
|
"targets/targets.mk"
|
||||||
|
],
|
||||||
"rockchip-armv8": [
|
"rockchip-armv8": [
|
||||||
"targets/rockchip-armv8",
|
"targets/rockchip-armv8",
|
||||||
"modules",
|
"modules",
|
||||||
|
@ -422,6 +422,13 @@ ramips-mt76x8
|
|||||||
- Xiaomi Mi Router 4A (100M International Edition)
|
- Xiaomi Mi Router 4A (100M International Edition)
|
||||||
- Xiaomi Mi Router 4C
|
- Xiaomi Mi Router 4C
|
||||||
|
|
||||||
|
realtek-rtl838x
|
||||||
|
---------------
|
||||||
|
|
||||||
|
* D-Link
|
||||||
|
|
||||||
|
- DGS-1210-10P (F1)
|
||||||
|
|
||||||
rockchip-armv8
|
rockchip-armv8
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
@ -67,6 +67,10 @@ elseif platform.match('ramips', 'mt7621', {
|
|||||||
'netgear,wac104',
|
'netgear,wac104',
|
||||||
}) then
|
}) then
|
||||||
lan_ifname, wan_ifname = 'lan2 lan3 lan4', 'lan1'
|
lan_ifname, wan_ifname = 'lan2 lan3 lan4', 'lan1'
|
||||||
|
elseif platform.match('realtek', 'rtl838x', {
|
||||||
|
'd-link,dgs-1210-10p',
|
||||||
|
}) then
|
||||||
|
lan_ifname, wan_ifname = 'lan2 lan3 lan4 lan5 lan6 lan7 lan8 lan9 lan10', 'lan1'
|
||||||
end
|
end
|
||||||
|
|
||||||
if wan_ifname and lan_ifname then
|
if wan_ifname and lan_ifname then
|
||||||
|
@ -38,7 +38,7 @@ config('TARGET_ROOTFS_INITRAMFS', false)
|
|||||||
config('DEVEL', true)
|
config('DEVEL', true)
|
||||||
config('ALL_NONSHARED', true)
|
config('ALL_NONSHARED', true)
|
||||||
|
|
||||||
config('PACKAGE_usbip', false) -- fails to build
|
try_config('PACKAGE_usbip', false) -- fails to build
|
||||||
|
|
||||||
try_config('PACKAGE_ATH_DEBUG', true)
|
try_config('PACKAGE_ATH_DEBUG', true)
|
||||||
|
|
||||||
|
5
targets/realtek-rtl838x
Normal file
5
targets/realtek-rtl838x
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-- D-Link
|
||||||
|
|
||||||
|
device('d-link_dgs-1210-10p', 'd-link_dgs-1210-10p', {
|
||||||
|
factory = '-squashfs-factory_image1',
|
||||||
|
})
|
@ -14,6 +14,7 @@ $(eval $(call GluonTarget,mpc85xx,p1020))
|
|||||||
$(eval $(call GluonTarget,ramips,mt7620))
|
$(eval $(call GluonTarget,ramips,mt7620))
|
||||||
$(eval $(call GluonTarget,ramips,mt7621))
|
$(eval $(call GluonTarget,ramips,mt7621))
|
||||||
$(eval $(call GluonTarget,ramips,mt76x8))
|
$(eval $(call GluonTarget,ramips,mt76x8))
|
||||||
|
$(eval $(call GluonTarget,realtek,rtl838x))
|
||||||
$(eval $(call GluonTarget,rockchip,armv8))
|
$(eval $(call GluonTarget,rockchip,armv8))
|
||||||
$(eval $(call GluonTarget,sunxi,cortexa7))
|
$(eval $(call GluonTarget,sunxi,cortexa7))
|
||||||
$(eval $(call GluonTarget,x86,generic))
|
$(eval $(call GluonTarget,x86,generic))
|
||||||
|
Loading…
Reference in New Issue
Block a user