mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
Enable the i2c-nforce2 module in mkpatch.
Patch by Aurelien Jarno. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2441 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -25,7 +25,6 @@ KERNELBUSSESDIR := $(MODULE_DIR)
|
||||
# defined value verbatim into the command-list of rules...
|
||||
# These targets are NOT included in 'mkpatch' ...
|
||||
KERNELBUSSESTARGETS :=
|
||||
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-nforce2.o
|
||||
ifeq ($(shell if grep -q '^CONFIG_IPMI_HANDLER=' $(LINUX)/.config; then echo 1; fi),1)
|
||||
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-ipmb.o
|
||||
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-ipmi.o
|
||||
@@ -56,6 +55,9 @@ endif
|
||||
ifneq ($(shell if grep -q '^CONFIG_I2C_ISA=y' $(LINUX)/.config; then echo 1; fi),1)
|
||||
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-isa.o
|
||||
endif
|
||||
ifneq ($(shell if grep -q '^CONFIG_I2C_NFORCE2=y' $(LINUX)/.config; then echo 1; fi),1)
|
||||
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-nforce2.o
|
||||
endif
|
||||
ifneq ($(shell if grep -q '^CONFIG_I2C_SIS5595=y' $(LINUX)/.config; then echo 1; fi),1)
|
||||
KERNELBUSSESTARGETS += $(MODULE_DIR)/i2c-sis5595.o
|
||||
endif
|
||||
|
@@ -6,6 +6,7 @@ kernel/busses/i2c-hydra.c drivers/i2c/i2c-hydra.c
|
||||
kernel/busses/i2c-i801.c drivers/i2c/i2c-i801.c
|
||||
kernel/busses/i2c-i810.c drivers/i2c/i2c-i810.c
|
||||
kernel/busses/i2c-isa.c drivers/i2c/i2c-isa.c
|
||||
kernel/busses/i2c-nforce2.c drivers/i2c/i2c-nforce2.c
|
||||
kernel/busses/i2c-piix4.c drivers/i2c/i2c-piix4.c
|
||||
kernel/busses/i2c-savage4.c drivers/i2c/i2c-savage4.c
|
||||
kernel/busses/i2c-sis5595.c drivers/i2c/i2c-sis5595.c
|
||||
|
@@ -88,6 +88,7 @@ sub gen_Documentation_Configure_help
|
||||
m@Intel I801@ or
|
||||
m@Intel I810/I815 based Mainboard@ or
|
||||
m@Intel 82371AB PIIX4\(E\)@ or
|
||||
m@Nvidia Nforce2@ or
|
||||
m@Silicon Integrated Systems Corp. SiS5595 based Mainboard@ or
|
||||
m@VIA Technologies, Inc. VT82C586B@ or
|
||||
m@VIA Technologies, Inc. VT82C596, 596B, 686A/B, 8233@ or
|
||||
@@ -201,6 +202,13 @@ CONFIG_I2C_PIIX4
|
||||
built as a module which can be inserted and removed while the kernel
|
||||
is running.
|
||||
|
||||
Nvidia Nforce2 based Mainboard
|
||||
CONFIG_I2C_NFORCE2
|
||||
If you say yes to this option, support will be included for the
|
||||
Nvidia Nforce2 family of mainboard I2C interfaces. This can also be
|
||||
built as a module which can be inserted and removed while the kernel
|
||||
is running.
|
||||
|
||||
Silicon Integrated Systems Corp. SiS5595 based Mainboard
|
||||
CONFIG_I2C_SIS5595
|
||||
If you say yes to this option, support will be included for the
|
||||
@@ -851,6 +859,7 @@ sub gen_drivers_i2c_Config_in
|
||||
dep_tristate ' Intel 82801AA, AB, BA, DB' CONFIG_I2C_I801 $CONFIG_I2C
|
||||
dep_tristate ' Intel i810AA/AB/E and i815' CONFIG_I2C_I810 $CONFIG_I2C_ALGOBIT
|
||||
dep_tristate ' Intel 82371AB PIIX4(E), 443MX, ServerWorks OSB4/CSB5, SMSC Victory66' CONFIG_I2C_PIIX4 $CONFIG_I2C
|
||||
dep_tristate ' Nvidia Nforce2' CONFIG_I2C_NFORCE2 $CONFIG_I2C
|
||||
dep_tristate ' SiS 5595' CONFIG_I2C_SIS5595 $CONFIG_I2C
|
||||
dep_tristate ' SiS 630/730' CONFIG_I2C_SIS630 $CONFIG_I2C
|
||||
dep_tristate ' SiS 645/961,645DX/961,735' CONFIG_I2C_SIS645 $CONFIG_I2C $CONFIG_HOTPLUG
|
||||
@@ -966,6 +975,7 @@ obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o
|
||||
obj-$(CONFIG_I2C_I801) += i2c-i801.o
|
||||
obj-$(CONFIG_I2C_I810) += i2c-i810.o
|
||||
obj-$(CONFIG_I2C_ISA) += i2c-isa.o
|
||||
obj-$(CONFIG_I2C_NFORCE2) += i2c-nforce2.o
|
||||
obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o
|
||||
obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o
|
||||
obj-$(CONFIG_I2C_SIS630) += i2c-sis630.o
|
||||
|
Reference in New Issue
Block a user