4d212debc7
* Add new device accton_as5812_54x. Signed-off-by: roy_lee <roy_lee@accton.com> * Rename 5812's config.bcm. Signed-off-by: roy_lee <roy_lee@accton.com> * Change fan module to support lm-sensors. Validate for thermal policy. Signed-off-by: roy_lee <roy_lee@accton.com> * Add bask reset and lpmode control of 6 QSFP ports. Signed-off-by: roy_lee <roy_lee@accton.com> * Get currect duty of fan for comparing. Instead of by stored duty from previous iteration. Signed-off-by: roy_lee <roy_lee@accton.com> * Roll back the mistakes to update mellanox submodules. Signed-off-by: roy_lee <roy_lee@accton.com> * Rollback for misoperation on submodule platform/p4/SAI-P4-BM. Signed-off-by: roy_lee <roy_lee@accton.com> * Change indexes of ports to start from 1, as them on the front panel. Add low-power mode control of the transciever's eeprom, follows SFF-8436. Signed-off-by: roy_lee <roy_lee@accton.com>
18 lines
475 B
Makefile
Executable File
18 lines
475 B
Makefile
Executable File
ifneq ($(KERNELRELEASE),)
|
|
obj-m:= i2c-mux-accton_as5812_54x_cpld.o \
|
|
accton_as5812_54x_fan.o leds-accton_as5812_54x.o accton_as5812_54x_psu.o \
|
|
cpr_4011_4mxx.o ym2651y.o
|
|
|
|
else
|
|
ifeq (,$(KERNEL_SRC))
|
|
$(error KERNEL_SRC is not defined)
|
|
else
|
|
KERNELDIR:=$(KERNEL_SRC)
|
|
endif
|
|
PWD:=$(shell pwd)
|
|
default:
|
|
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
|
|
clean:
|
|
rm -rf *.o *.mod.o *.mod.o *.ko .*cmd .tmp_versions Module.markers Module.symvers modules.order
|
|
endif
|