Minipack at 4.9

Signed-off-by: roy_lee <roy_lee@accton.com>
This commit is contained in:
roy_lee
2019-01-02 01:44:41 +00:00
parent e167a59ae8
commit 008a8edab7
4 changed files with 9 additions and 6 deletions

View File

@@ -1 +1 @@
!include $ONL_TEMPLATES/platform-modules.yml ARCH=amd64 VENDOR=accton BASENAME=x86-64-accton-minipack KERNELS="onl-kernel-4.14-lts-x86-64-all:amd64"
!include $ONL_TEMPLATES/platform-modules.yml ARCH=amd64 VENDOR=accton BASENAME=x86-64-accton-minipack KERNELS="onl-kernel-4.9-lts-x86-64-all:amd64"

View File

@@ -1,4 +1,4 @@
KERNELS := onl-kernel-4.14-lts-x86-64-all:amd64
KERNELS := onl-kernel-4.9-lts-x86-64-all:amd64
KMODULES := $(wildcard *.c)
VENDOR := accton
BASENAME := x86-64-accton-minipack

View File

@@ -18,7 +18,7 @@ x86-64-accton-minipack-r0:
--stop=1
kernel:
<<: *kernel-4-14
<<: *kernel-4-9
args: >-
nopat

View File

@@ -16,13 +16,16 @@ class OnlPlatform_x86_64_accton_minipack_r0(OnlPlatformAccton,
self.new_i2c_devices([
('pca9548', 0x70, 1),
('24c64', 0x57, 1),
('optoe1', 0x50, 1)
])
for pim in range(0, 32):
self.new_i2c_devices([
('optoe1', 0x50, 1),
('optoe1', 0x50, 0),
('optoe1', 0x50, 199),
])
self.new_i2c_devices([
('optoe1', 0x50, 1),
])
return True