Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!include $ONL_TEMPLATES/platform-modules.yml VENDOR=accton BASENAME=x86-64-accton-as7726-32x ARCH=amd64 KERNELS="onl-kernel-4.14-lts-x86-64-all:amd64"
!include $ONL_TEMPLATES/platform-modules.yml VENDOR=accton BASENAME=x86-64-accton-as7726-32x ARCH=amd64 KERNELS="onl-kernel-4.19-lts-x86-64-all:amd64"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
KERNELS := onl-kernel-4.14-lts-x86-64-all:amd64
KMODULES := $(wildcard *.c)
KERNELS := onl-kernel-4.19-lts-x86-64-all:amd64
KMODULES := src
VENDOR := accton
BASENAME := x86-64-accton-as7726-32x
ARCH := x86_64
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
obj-m += x86-64-accton-as7726-32x-cpld.o
obj-m += x86-64-accton-as7726-32x-fan.o
obj-m += x86-64-accton-as7726-32x-leds.o
obj-m += x86-64-accton-as7726-32x-psu.o
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ x86-64-accton-as7726-32x-r0:
--stop=1
kernel:
<<: *kernel-4-14
<<: *kernel-4-19

args: >-
nopat
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _8v89307_init():
status, output = commands.getstatusoutput(script)
print output
if status != 0:
print "Error in 8v89307_init: " + str(e)
print "Error in 8v89307_init: Init failed"
return False
return True

Expand All @@ -59,6 +59,8 @@ def baseconfig(self):
for m in [ 'cpld', 'fan', 'psu', 'leds' ]:
self.insmod("x86-64-accton-as7726-32x-%s.ko" % m)

os.system('modprobe at24')

########### initialize I2C bus 0 ###########
# initialize multiplexer (PCA9548)
self.new_i2c_device('pca9548', 0x77, 0)
Expand Down