summaryrefslogtreecommitdiff
path: root/sys/dev/isa/lm_isa.c
AgeCommit message (Collapse)Author
2012-01-17Modularize lm_isa and lm_wbsio, splitting the common part outjakllsch
into a 3rd module. Add wbsio module too.
2010-02-21New wbsio(4) driver for Winbond Super I/O attachment of lm(4) on any port.cnst
http://mail-index.netbsd.org/tech-kern/2010/02/17/msg007338.html Reviewed by <pgoyette>, <tech-kern>.
2008-10-12Consistent use of softc member name - fixes build breakage from previous.pgoyette
2008-10-12Add an i2c attachment for the LM78 family of temp sensor/fan controlpgoyette
Tested by Martin Husemann
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-03-05Split device_t/softc in the lm(4) driver and its attachments, andxtraeme
other related cosmetic changes.
2007-10-19machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.had
2007-09-08Add the detach method that calls driver's lm_detach() function andxtraeme
unmaps the I/O space used.
2007-03-07* Remove unneeded headers.xtraeme
* KNF, u_intx_t -> uintx_t * There's no need to use additional variables for iobase and iot, just use the members from ia.
2007-01-29Remove more duplicate headers.hubertf
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.
2006-11-24s/independant/independent/, from Zafer.wiz
2006-11-16__unused removal on arguments; approved by core.christos
2006-10-12- sprinkle __unused on function decls.christos
- fix a couple of unused bugs - no more -Wno-unused for i386
2005-12-11merge ktrace-lwp.christos
2004-09-14Separate the namespace for default (ie unspecified) locators useddrochner
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".
2002-11-15Changes for SMBus/I2C:ad
- 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.
2002-10-02Fix sizeof and whitespace bug from the script I'm using to do thethorpej
CFATTACH_DECL conversion. (Grumble.)
2002-10-02Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-01-07Overhaul of the ISA autoconfiguration code to support directthorpej
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.
2001-11-13add RCSIDlukem
2000-06-24Add a clearing-house pseudo-device for system monitoring devicesthorpej
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.
2000-03-09use bus independent probegroo
2000-02-25Initial import of National Semiconductor LM7[89] Hardware Monitor with isa andgroo
pnpbios attach. examples: lm0 at pnpbios0 index? lm0 at isa? port 0x290 TODO: spinlocks, i2c interface.