summaryrefslogtreecommitdiff
path: root/sys/dev/isa/sch311x.c
AgeCommit message (Collapse)Author
2022-04-06constify struct cfattachChristian Weisgerber
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2016-08-30Make the init code match the comment and disable watchdogJonathan Gray
reset by mouse and keyboard instead of mouse and mouse.
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
2014-12-10Convert watchdog(4) devices to use autoconf(9) framework.Mike Belopuhov
ok deraadt, tests on glxpcib and ok mpi
2012-10-17Swap arguments to wdog_register() since it is nicer, and prepareTheo de Raadt
wdog_shutdown() for external usage.
2009-08-22There is no schsio_print() so get rid of the prototype.Michael Knudsen
2009-05-07KNFMichael Knudsen
2009-04-27Whitespace KNF.Michael Knudsen
2009-04-17schsio_probe() reads the chip id to find out if we should attach or not.Michael Knudsen
schsio_attach() then later reads the chip id to print which device we found. I noticed that isa_attach_args has a field called ia_aux which can be used for driver specific stuff, so stuff the device id in there so we don't need to get the value from the chip again during attach.
2009-04-16Change some parameter types from int to u_int8_t since theMichael Knudsen
bus_space_.. API uses that.
2009-04-15Remove some unused symbolic constants.Michael Knudsen
2009-03-29make various strings ("can't map mem space" and similar) more consistentStuart Henderson
between instances, saving space in the kernel. feedback from many (some incorporated, some left for future work). ok deraadt, kettenis, "why not" miod.
2009-03-25Add support for the watchdog timer.Michael Knudsen
``just have the balls and commit it'' deraadt
2009-01-26Unify error message.Mark Kettenis
ok grange@, oga@, todd@
2009-01-24use more appropriate sensor_task_register(9) paradigm; ok mkConstantine A. Murenin
2009-01-24* eliminate redundant initialisations of .desc and .valueConstantine A. Murenin
* .status should never stay at OK permanently * use .flags more sparingly ok mk
2009-01-23Add schsio(4), a driver for SMSC SCH311x LPC Super I/O ICs providingMichael Knudsen
environment sensors. These are found at least on VIA Epia SN18000G boards. Not enabled at 0x162e and 0x164e because probing these may not be safe according to kettenis (guess where my schsio is). Much help from kettenis. Input from const and fgs. ok kettenis