Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
7eaa539b
Commit
7eaa539b
authored
Apr 01, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i2c: clean up previous w83781d patch due to changes I made to i2c core and build.
parent
9cb59105
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
22 deletions
+21
-22
drivers/i2c/chips/Kconfig
drivers/i2c/chips/Kconfig
+15
-15
drivers/i2c/chips/Makefile
drivers/i2c/chips/Makefile
+1
-0
drivers/i2c/chips/w83781d.c
drivers/i2c/chips/w83781d.c
+3
-5
include/linux/i2c-vid.h
include/linux/i2c-vid.h
+2
-2
No files found.
drivers/i2c/chips/Kconfig
View file @
7eaa539b
...
...
@@ -37,20 +37,6 @@ config SENSORS_LM75
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
config SENSORS_W83781D
tristate " Winbond W83781D, W83782D, W83783S, W83627HF, Asus AS99127F"
depends on I2C && I2C_PROC
help
If you say yes here you get support for the Winbond W8378x series
of sensor chips: the W83781D, W83782D, W83783S and W83682HF,
and the similar Asus AS99127F. This
can also be built as a module which can be inserted and removed
while the kernel is running.
You will also need the latest user-space utilties: you can find them
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
config SENSORS_VIA686A
tristate " VIA686A"
depends on I2C && EXPERIMENTAL
...
...
@@ -64,9 +50,23 @@ config SENSORS_VIA686A
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
config SENSORS_W83781D
tristate " Winbond W83781D, W83782D, W83783S, W83627HF, Asus AS99127F"
depends on I2C && EXPERIMENTAL
help
If you say yes here you get support for the Winbond W8378x series
of sensor chips: the W83781D, W83782D, W83783S and W83682HF,
and the similar Asus AS99127F. This
can also be built as a module which can be inserted and removed
while the kernel is running.
You will also need the latest user-space utilties: you can find them
in the lm_sensors package, which you can download at
http://www.lm-sensors.nu
config I2C_SENSOR
tristate
depends on SENSORS_ADM1021 || SENSORS_LM75 || SENSORS_VIA686A
depends on SENSORS_ADM1021 || SENSORS_LM75 || SENSORS_VIA686A
|| SENSORS_W83781D
default m
endmenu
drivers/i2c/chips/Makefile
View file @
7eaa539b
...
...
@@ -5,3 +5,4 @@
obj-$(CONFIG_SENSORS_ADM1021)
+=
adm1021.o
obj-$(CONFIG_SENSORS_LM75)
+=
lm75.o
obj-$(CONFIG_SENSORS_VIA686A)
+=
via686a.o
obj-$(CONFIG_SENSORS_W83781D)
+=
w83781d.o
drivers/i2c/chips/w83781d.c
View file @
7eaa539b
...
...
@@ -38,7 +38,7 @@
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/i2c-
proc
.h>
#include <linux/i2c-
sensor
.h>
#include <linux/i2c-vid.h>
#include <asm/io.h>
...
...
@@ -332,8 +332,7 @@ struct w83781d_data {
};
static
int
w83781d_attach_adapter
(
struct
i2c_adapter
*
adapter
);
static
int
w83781d_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
unsigned
short
flags
,
int
kind
);
static
int
w83781d_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
int
kind
);
static
int
w83781d_detach_client
(
struct
i2c_client
*
client
);
static
int
w83781d_read_value
(
struct
i2c_client
*
client
,
u16
register
);
...
...
@@ -1031,8 +1030,7 @@ w83781d_attach_adapter(struct i2c_adapter *adapter)
}
static
int
w83781d_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
unsigned
short
flags
,
int
kind
)
w83781d_detect
(
struct
i2c_adapter
*
adapter
,
int
address
,
int
kind
)
{
int
i
=
0
,
val1
=
0
,
val2
,
id
;
struct
i2c_client
*
new_client
;
...
...
include/linux/i2c-vid.h
View file @
7eaa539b
/*
vrm.c
- Part of lm_sensors, Linux kernel modules for hardware
monitoring
i2c-vid.h
- Part of lm_sensors, Linux kernel modules for hardware
monitoring
Copyright (c) 2002 Mark D. Studebaker <mdsxyz123@yahoo.com>
With assistance from Trent Piepho <xyzzy@speakeasy.org>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment