Home | History | Annotate | Download | only in isa
History log of /src/sys/dev/isa/lm_isa.c
RevisionDateAuthorComments
 1.24  17-Jan-2012  jakllsch Modularize lm_isa and lm_wbsio, splitting the common part out
into a 3rd module. Add wbsio module too.
 1.23  21-Feb-2010  cnst branches: 1.23.10; 1.23.14;
New wbsio(4) driver for Winbond Super I/O attachment of lm(4) on any port.

http://mail-index.netbsd.org/tech-kern/2010/02/17/msg007338.html

Reviewed by <pgoyette>, <tech-kern>.
 1.22  12-Oct-2008  pgoyette branches: 1.22.14;
Consistent use of softc member name - fixes build breakage from previous.
 1.21  12-Oct-2008  pgoyette Add an i2c attachment for the LM78 family of temp sensor/fan control

Tested by Martin Husemann
 1.20  28-Apr-2008  martin branches: 1.20.6;
Remove clause 3 and 4 from TNF licenses
 1.19  05-Mar-2008  xtraeme branches: 1.19.2; 1.19.4;
Split device_t/softc in the lm(4) driver and its attachments, and
other related cosmetic changes.
 1.18  19-Oct-2007  ad branches: 1.18.12; 1.18.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.17  08-Sep-2007  xtraeme branches: 1.17.4;
Add the detach method that calls driver's lm_detach() function and
unmaps the I/O space used.
 1.16  07-Mar-2007  xtraeme branches: 1.16.2; 1.16.10; 1.16.14; 1.16.16;
* Remove unneeded headers.
* KNF, u_intx_t -> uintx_t
* There's no need to use additional variables for iobase and iot, just
use the members from ia.
 1.15  29-Jan-2007  hubertf branches: 1.15.2;
Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
 1.14  24-Nov-2006  wiz branches: 1.14.2;
s/independant/independent/, from Zafer.
 1.13  16-Nov-2006  christos __unused removal on arguments; approved by core.
 1.12  12-Oct-2006  christos - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
 1.11  11-Dec-2005  christos branches: 1.11.20; 1.11.22;
merge ktrace-lwp.
 1.10  14-Sep-2004  drochner branches: 1.10.12;
Separate the namespace for default (ie unspecified) locators used
by the isa.c bus driver and the "address/whatever not specified"
argument passed to leaf device drivers.
The former is "ISACF_XXX_DEFAULT" as generaterd by config(8), the latter
"ISA_UNKNOWN_XXX", defined in isavar.h.
This way we save a dependency of every ISA device driver on "locators.h".
 1.9  15-Nov-2002  ad branches: 1.9.6;
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.
 1.8  02-Oct-2002  thorpej Fix sizeof and whitespace bug from the script I'm using to do the
CFATTACH_DECL conversion. (Grumble.)
 1.7  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.6  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.5  07-Jan-2002  thorpej Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
isa_attach_args. If either of these members are non-NULL,
direct configuration of the bus is being performed. Add an
ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
direct configuration is not being performed and the probe fucntion
is returning success.
* Adapt device drivers -- currently, all driver probe routines return
"no match" if ISA_DIRECT_CONFIG() evaluates to true.
 1.4  13-Nov-2001  lukem add RCSID
 1.3  24-Jun-2000  thorpej branches: 1.3.2; 1.3.4; 1.3.6;
Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.
 1.2  09-Mar-2000  groo branches: 1.2.4;
use bus independent probe
 1.1  25-Feb-2000  groo Initial import of National Semiconductor LM7[89] Hardware Monitor with isa and
pnpbios attach.

examples:

lm0 at pnpbios0 index?
lm0 at isa? port 0x290


TODO: spinlocks, i2c interface.
 1.2.4.1  30-Jul-2000  bouyer Pull up (requested by thorpej):
lm_pnpbios.c 1.2->1.3
files 1.374->1.375
nslm7x.c 1.3->1.4
nslm7xvar.h 1.2->1.3
lm_isa.c 1.2->1.3
files.pci 1.96->1.97
viaenv.c 1.2->1.3
sysmon.c 1.1
sysmonvar.h 1.1

Add a clearing-house pseudo-device for system monitoring devices
such as the LM78 and VT82C686A (and eventually ACPI). Multiple
sensor devices can be hooked registered with `sysmon', and eventually
sysmon will also handle hardware (and software) watchdog timers.

Convert the `lm' and `viaenv' drivers to the new interface.
 1.3.6.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.3.6.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.3.4.5  11-Dec-2002  thorpej Sync with HEAD.
 1.3.4.4  18-Oct-2002  nathanw Catch up to -current.
 1.3.4.3  28-Feb-2002  nathanw Catch up to -current.
 1.3.4.2  11-Jan-2002  nathanw More catchup.
 1.3.4.1  14-Nov-2001  nathanw Catch up to -current.
 1.3.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.3.2.1  24-Jun-2000  bouyer file lm_isa.c was added on branch thorpej_scsipi on 2000-11-20 11:41:18 +0000
 1.9.6.2  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.6.1  18-Sep-2004  skrll Sync with HEAD.
 1.10.12.5  17-Mar-2008  yamt sync with head.
 1.10.12.4  27-Oct-2007  yamt sync with head.
 1.10.12.3  03-Sep-2007  yamt sync with head.
 1.10.12.2  26-Feb-2007  yamt sync with head.
 1.10.12.1  30-Dec-2006  yamt sync with head.
 1.11.22.2  10-Dec-2006  yamt sync with head.
 1.11.22.1  22-Oct-2006  yamt sync with head
 1.11.20.3  01-Feb-2007  ad Sync with head.
 1.11.20.2  12-Jan-2007  ad Sync with head.
 1.11.20.1  18-Nov-2006  ad Sync with head.
 1.14.2.1  20-Apr-2007  bouyer Pull up following revision(s) (requested by xtraeme in ticket #584):
share/man/man4/lm.4: revisions 1.19 - 1.20
sys/dev/isa/lm_isa.c: revision 1.16 via patch
sys/dev/ic/nslm7xvar.h: revision 1.19
sys/dev/ic/nslm7x.c: revision 1.30 - 1.33 via patch
sync lm(4) with OpenBSD.
Supported chips added with the new code include:
* Winbond: W83627EHF, W83627DHG, W83637HF, W83783S, W83791D, W83791SD,
W83792D.
* Asus AS9912F.
 1.15.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.16.16.2  23-Mar-2008  matt sync with HEAD
 1.16.16.1  06-Nov-2007  matt sync with HEAD
 1.16.14.2  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.16.14.1  02-Oct-2007  joerg Sync with HEAD.
 1.16.10.1  10-Sep-2007  skrll Sync with HEAD.
 1.16.2.2  23-Oct-2007  ad Sync with head.
 1.16.2.1  09-Oct-2007  ad Sync with head.
 1.17.4.1  25-Oct-2007  bouyer Sync with HEAD.
 1.18.16.3  17-Jan-2009  mjf Sync with HEAD.
 1.18.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.18.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.18.12.1  24-Mar-2008  keiichi sync with head.
 1.19.4.3  11-Mar-2010  yamt sync with head
 1.19.4.2  04-May-2009  yamt sync with head.
 1.19.4.1  16-May-2008  yamt sync with head.
 1.19.2.1  18-May-2008  yamt sync with head.
 1.20.6.1  19-Oct-2008  haad Sync with HEAD.
 1.22.14.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.23.14.1  18-Feb-2012  mrg merge to -current.
 1.23.10.1  17-Apr-2012  yamt sync with head

RSS XML Feed