mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 09:17:08 +00:00
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -18,7 +18,7 @@ x86-64-accton-minipack-r0:
|
||||
--stop=1
|
||||
|
||||
kernel:
|
||||
<<: *kernel-4-14
|
||||
<<: *kernel-4-9
|
||||
|
||||
args: >-
|
||||
nopat
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user