2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

(Kyösti) : Via driver and related documentation moved under

lm_sensors2 source tree. Improvement in VI


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@186 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Kyosti Malkki
1999-01-31 21:29:53 +00:00
parent 1554bc1d47
commit e2f85d427e
7 changed files with 18 additions and 15 deletions

View File

@@ -56,10 +56,14 @@ at all!
SMBus emulation on i2c busses. Base algorithm, on which SMBus-only adapters
rely.
(src) piix4: smbus i2c-core
(src) i2c-piix4: smbus i2c-core
PIIX4 SMBus access.
(src) isa: i2c-core
(src) i2c-via: algo-bit i2c-core
VIA VT82C586B bus access. This is often used instead of the PIIX4 as SMBus
host.
(src) i2c-isa: i2c-core
Defines the ISA bus as being a I2C adapter. It isn't, of course; but this is
often used by sensor client modules, to keep the code small and simple.
@@ -87,10 +91,6 @@ at all!
i2c_debug (i) debug level - 0 off; 1 normal; 2,3 more verbose;
9 bit-protocol
(i2c) bit-mb: algo-bit i2c-core
VIA VT82C586B bus access. This is often used instead of the PIIX4 as SMBus
host.
(i2c) bit-lp: algo-bit i2c-core
I2C bus through the parallel port, Philips interface
Do not insert this module unless you are sure you have this interface;
@@ -109,9 +109,6 @@ at all!
/dev interface for I2C adapters. This will be superseded by a module which
will also implement SMBus access.
(i2c) hw-monitor: ???
Old skeleton driver for GL518SM. Superseded by the gl518sm module.
Several other modules are not yet ported by Simon Vogl. They are mostly in
i2c/old-code.

View File

@@ -11,6 +11,12 @@ The current version of Simon's code is called mod-19990118.tar.gz.
Here come the changes:
! Renamed #define HW_B_MB to HW_B_VIA in i2c.h
* Moved files: bit-via.c and README.bit-via
These are now under lm_sensors source tree as
kernel/busses/i2c-via.c and doc/busses/i2c-via
* EXPORT_SYMBOL declarations put between #ifdef statements
They only work if you use the Linux source tree Makefiles. As we want to
use our own Makefile, we have removed them. This should have almost no

View File

@@ -11,7 +11,7 @@ MOD_SUB_DIRS = drivers
#MX_OBJS = i2c-core.o algo-bit.o i2c-dev.o bit-lp.o bit-velle.o algo-pcf.o
MX_OBJS = i2c-core.o algo-bit.o i2c-dev.o
M_OBJS = bit-lp.o bit-velle.o bit-via.o
M_OBJS = bit-lp.o bit-velle.o
EXTRA_CFLAGS = -Wno-unused
here:

View File

@@ -23,8 +23,8 @@ MODULE_DIR := i2c
# Regrettably, even 'simply expanded variables' will not put their currently
# defined value verbatim into the command-list of rules...
I2CTARGETS := $(MODULE_DIR)/i2c-core.o $(MODULE_DIR)/algo-bit.o \
$(MODULE_DIR)/bit-lp.o \
$(MODULE_DIR)/bit-velle.o $(MODULE_DIR)/bit-via.o
$(MODULE_DIR)/bit-lp.o $(MODULE_DIR)/bit-velle.o
I2CADDTARGETS := $(MODULE_DIR)/i2c-dev.o
I2CHEADERFILES := $(MODULE_DIR)/i2c.h

View File

@@ -8,7 +8,6 @@ Currently, the following modules are running in the new mode:
algo-bit.c - Algorithms for bit banging
bit-lp.c - hw part for parallel port adapter, Philips interface
bit-velle.c - hw part for parallel port adapter, Vellemann K9000
bit-mb - VIA Chipset motherboards' SMBus -> see README.bitmb
The other modules, esp. algo-pcf.c still need to be converted. For the
hw specific mods, this should be relatively easy & quick.

View File

@@ -336,7 +336,7 @@ extern int i2c_adapter_id(struct i2c_adapter *adap);
#define HW_B_VELLE 0x04 /* Vellemann K8000 */
#define HW_B_BT848 0x05 /* BT848 video boards */
#define HW_B_WNV 0x06 /* Winnov Videums */
#define HW_B_MB 0x07 /* Via vt82c586b */
#define HW_B_VIA 0x07 /* Via vt82c586b */
/* --- PCF 8584 based algorithms */
#define HW_P_LP 0x00 /* Parallel port interface */

View File

@@ -22,7 +22,8 @@ MODULE_DIR := kernel/busses
# Regrettably, even 'simply expanded variables' will not put their currently
# defined value verbatim into the command-list of rules...
KERNELBUSSESTARGETS := $(MODULE_DIR)/i2c-piix4.o $(MODULE_DIR)/i2c-isa.o
KERNELBUSSESTARGETS := $(MODULE_DIR)/i2c-piix4.o $(MODULE_DIR)/i2c-isa.o \
$(MODULE_DIR)/i2c-via.o
# Include all dependency files
INCLUDEFILES += $(KERNELBUSSESTARGETS:.o=.d)