mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 09:17:08 +00:00
The as4610-30 now uses the 4610 common kernel modules.
This commit is contained in:
@@ -1 +1 @@
|
||||
!include $ONL_TEMPLATES/no-platform-modules.yml ARCH=armel VENDOR=accton BASENAME=arm-accton-as4610-30
|
||||
!include $ONL_TEMPLATES/platform-modules.yml ARCH=armel VENDOR=accton BASENAME=arm-accton-as4610-30 KERNELS="onl-kernel-4.14-lts-arm-iproc-all:armel"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
lib
|
||||
@@ -0,0 +1,7 @@
|
||||
KERNELS := onl-kernel-4.14-lts-arm-iproc-all:armel
|
||||
KMODULES := $(wildcard $(ONL)/packages/platforms/accton/armel/arm-accton-as4610/src/modules/*.c)
|
||||
KINCLUDES := $(wildcard $(ONL)/packages/platforms/accton/armel/arm-accton-as4610/src/modules/*.h)
|
||||
VENDOR := accton
|
||||
BASENAME := arm-accton-as4610-30
|
||||
ARCH := arm
|
||||
include $(ONL)/make/kmodule.mk
|
||||
@@ -6,3 +6,13 @@ class OnlPlatform_arm_accton_as4610_30_r0(OnlPlatformAccton,
|
||||
PLATFORM='arm-accton-as4610-30-r0'
|
||||
MODEL="AS4610-30"
|
||||
SYS_OBJECT_ID=".4610.30"
|
||||
|
||||
def baseconfig(self):
|
||||
self.insmod("accton_i2c_cpld")
|
||||
self.new_i2c_device("as4610_30_cpld", 0x30, 0)
|
||||
self.insmod("accton_as4610_sfp")
|
||||
self.insmod("accton_as4610_psu")
|
||||
self.insmod("accton_as4610_fan")
|
||||
self.insmod("accton_as4610_leds")
|
||||
self.insmod("ym2651y")
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user