Subject: CVS commit: syssrc/sys
To: None <source-changes@netbsd.org>
From: Andrew Doran <ad@netbsd.org>
List: source-changes
Date: 11/15/2002 16:55:46
Module Name:	syssrc
Committed By:	ad
Date:		Fri Nov 15 14:55:45 UTC 2002

Modified Files:
	syssrc/sys/arch/i386/pnpbios: lm_pnpbios.c
	syssrc/sys/dev/ic: nslm7x.c nslm7xvar.h
	syssrc/sys/dev/isa: lm_isa.c

Log Message:
Changes for SMBus/I2C:

- Move lm_readreg/lm_writereg into the front-ends. Add/use function pointers
  in the softc.
- Add a bank select function pointer to the softc and provide a generic
  version. WinBond chips accessed over serial bus present three addresses,
  two of which are used to access bank 1/2 registers.
- Mark TSENS2/3 sensor data as invalid if the the corresponding bank select
  fails.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/i386/pnpbios/lm_pnpbios.c
cvs rdiff -r1.16 -r1.17 syssrc/sys/dev/ic/nslm7x.c
cvs rdiff -r1.9 -r1.10 syssrc/sys/dev/ic/nslm7xvar.h
cvs rdiff -r1.8 -r1.9 syssrc/sys/dev/isa/lm_isa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.