summaryrefslogtreecommitdiffstats
path: root/sys/dev/ichwd
Commit message (Collapse)AuthorAgeFilesLines
* Add new Coleto Creek device support: SATA, SMBus, and Watchdog devices.jfv2013-07-192-0/+2
| | | | MFC after: 1 week
* Don't log a message when the watchdog is reloaded. It's not useful to do somarkj2013-03-091-2/+0
| | | | | | and these messages flood the log when bootverbose is enabled. Approved by: rstone (co-mentor)
* Add support for new Intel Lynx Point PCH - Watchdog Timer Device IDsjfv2013-01-022-0/+35
|
* Remove use of explicit bus space tags and handles and use methods thatjhb2012-01-052-26/+10
| | | | | | operate on resource objects instead. MFC after: 1 week
* Fix a bug in ichwd(4) which prevents it from beig enabled if the newdelphij2011-09-021-4/+3
| | | | | | | | | timeout is the same timeout. Submitted by: Dmitrij Tejblum <tejblum yandex-team.ru> PR: kern/139604 MFC after: 2 weeks Approved by: re (kib)
* Chipset support for the new Intel Panther Point PCH, thanksjfv2011-05-112-1/+65
| | | | to Seth Heasley for preparing the changes.
* Add missing bit in r221015.attilio2011-04-251-1/+12
| | | | | | | Sponsored by: Sandvine Incorporated Reviewed by: des MFC after: 1 week X-MFC: r221015
* Don't assume that SMI are enabled when attaching ichwd and then doattilio2011-04-251-0/+1
| | | | | | | | correct unwind based on former state. Sponsored by: Sandvine Incorporated Reviewed by: des MFC after: 1 week
* Whitespace nitdes2011-04-251-2/+2
|
* Add some more bit definitions:attilio2011-04-211-2/+8
| | | | | | | | | | | - TCO_MESSAGEx: TCO specific regs providing the ability to monitor BIOS bootup activity. - TCO_NEWCENTURY: reporting RTC year roll over. - TCO_NMI2SMI_EN, TCO_NMI_NOW: controlling SMIs conversion to NMIs and NMI trigger. - SMI_GBL_EN: Enabling SMI delivery for all the northbridge controller. MFC after: 10 days
* Support for the new Patsburg PCH chipset:jfv2011-02-012-1/+5
| | | | | | | | | | | - SMBus Controller - SATA Controller - HD Audio Controller - Watchdog Controller Thanks to Seth Heasley (seth.heasley@intel.com) for providing us code. MFC after 3 days
* Support for the new DH89xxCC PCH chipset including:jfv2011-01-312-0/+2
| | | | | | - SATA controller - Watchdog timer - SMBus controller
* Use convenience macro for minimum and maximum value capping whenattilio2010-12-082-15/+19
| | | | | | | | | re-arming the watchdog timeout. Sponsored by: Sandvine Incorporated Submitted by: Mark Johnston <mjohnston at sandvine dot com> Reviewed by: des MFC after: 10 days
* Add a comment to clarify that some BIOSes may clear the hw watchdogemaste2010-12-071-2/+3
| | | | | | indicator bit, preventing us from reporting in that case. X-MFC-with: r215868
* Fix build by correcting function name. Pointed out by dougb.emaste2010-11-271-1/+1
|
* - Advertise when the reboot came from a watchdog-induced reset.attilio2010-11-261-8/+9
| | | | | | | | | | - Fix a bug where TCO_BOOT_STS was supposed to be cleared after TCO_SECOND_TO_STS and not before. Sponsored by: Sandvine Incorporated Submitted by: Mark Johnston <mjohnston at sandvine dot com> Reviewed by: des MFC after: 10 days
* Add Intel Cougar Point PCH LPC Controller Device IDsjfv2010-08-282-0/+92
| | | | | | | for watchdog support. Also add additional Intel Ibex Peak (5 Series/3400 Series) PCH IDs. MFC after a week
* ichwd: correct range check for timeout valueavg2010-07-241-2/+2
| | | | | | | | This is similar to a fix in r189305 but for earlier ICH versions (<= 5). Reported by: someone via attilio Discussed with: des, attilio MFC after: 1 week
* Add support for the NM10 chipset.remko2010-01-242-0/+2
| | | | | | | PR: kern/143118 Submitted by: Koshin sumitani <ksumitani at mui dot biglobe dot ne dot jp> Approved by: imp (mentor, implicit) MFC after: 3 days
* Add H55 ID from Mike Tancsa, with minor rewording from avg@.emaste2010-01-222-0/+2
| | | | | | PR: kern/143068 Submitted by: Mike Tancsa (Sentex) MFC after: 1 week
* ichwd: don't attach to isa pnp device(s) by accidentavg2009-11-071-1/+4
| | | | | Reviewed by: imp, des MFC after: 1 week
* Don't print out a message on loading a module. 'kldload -v' and 'kldstatn_hibma2009-09-101-21/+2
| | | | | | | | | | | | | | grep <modname>' can be used instead. Put a message behind bootverbose as ichwd0: <Intel ICH6M watchdog timer> on isa0 ichwd0: Intel ICH6M watchdog timer (ICH6 or equivalent) does not make a lot of sense. MFC after: 1 week
* Rename two functions to make their purpose clearer. Add tons of comments.des2009-03-191-7/+56
| | | | | | | Generated code is identical after stripping .comment section. Suggested by: Andriy Gapon <avg@icyb.net.ua> MFC after: 2 weeks
* ichwd: correct range check for timeout valueavg2009-03-031-2/+2
| | | | Approved by: jhb (mentor)
* Add more PCI IDs including those for ICH10.jhb2008-08-252-5/+23
| | | | | | PR: kern/126736 Submitted by: Olivier Smedts olivier of gid0 org MFC after: 1 week
* Add support for ICH8M.des2008-01-072-0/+2
| | | | | | PR: kern/119351 Submitted by: Takeharu KATO <takeharu1219@ybb.ne.jp> MFC after: 1 week
* Add device IDs for the ICH9 family.des2007-12-312-0/+8
| | | | | | PR: i386/119126 Submitted by: Dan Lukes <dan@obluda.cz> MFC after: 1 week
* Tabify.des2007-12-312-20/+20
|
* Add PCI device support for Intel S7000FC4UR in usb and ichwd, systemsjfv2007-11-152-0/+2
| | | | | | | will not install without the usb changes in the install kernel, so I would like to MFC this in time for 7.0 RC MFC: 3 days
* Update to support ICH[678] chipsets (based on a patch by Takeharu KATO)des2007-08-132-76/+229
| | | | | | | | Fix a resource allocation bug (explained by jhb on -acpi) Thanks for Mike Tancsa for testing and helping track down the bug. Approved by: re (kensmith) MFC after: 3 weeks
* Revisit the watchdogs: Resetting the error to EINVAL after failing to set then_hibma2007-03-271-2/+0
| | | | | | | | watchdog might hide the succesful arming of an earlier one. Accept that on failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is returned instead of the more appropriate EINVAL. MFC after: 3 days
* In one of the previous commits I accidentally removed the enabling of then_hibma2007-03-131-1/+4
| | | | | | | | watchdog chip. Noticed by: Mike Tancsa Tested by: Mike Tancsa MFC after: 1 week
* Align the interfaces for the various watchdogs and make the interfacen_hibma2006-12-151-30/+12
| | | | | | | | | | | | | | | | | | | | | | | | | behave as expected. Also: - Return an error if WD_PASSIVE is passed in to the ioctl as only WD_ACTIVE is implemented at the moment. See sys/watchdog.h for an explanation of the difference between WD_ACTIVE and WD_PASSIVE. - Remove the I_HAVE_TOTALLY_LOST_MY_SENSE_OF_HUMOR define. If you've lost your sense of humor, than don't add a define. Specific changes: i80321_wdog.c Don't roll your own passive watchdog tickle as this would defeat the purpose of an active (userland) watchdog tickle. ichwd.c / ipmi.c: WD_ACTIVE means active patting of the watchdog by a userland process, not whether the watchdog is active. See sys/watchdog.h. kern_clock.c: (software watchdog) Remove a check for WD_ACTIVE as this does not make sense here. This reverts r1.181.
* Re-work the bus attachment somewhat. Make the rids unique forambrisko2006-02-172-37/+51
| | | | | | | | | the SMI/TCO address space. Switch the bus space I/O to the one specific for either the SMI or TCO space. Re-calibrate the tick. Add some more device id's, 82801FBR submitted by des. This makes it work on the platforms I've tested with. Go ahead by: des
* Start each of the license/copyright comments with /*-, minor shuffle of linesimp2005-01-062-2/+2
|
* make code less broken, only try to create unit 0 since there can onlyjmg2004-06-131-2/+4
| | | | | | | be one, this will help prevent multipling devices if this driver is ever loaded/unloaded multiple times... Prodded by: julian
* Add missing <sys/module.h> includesphk2004-05-301-0/+1
|
* Remove some debugging printf()s and a pointless device_set_desc() call.des2004-05-151-12/+7
|
* Add a driver for the watchdog timer function present on the LPC interfacedes2004-05-112-0/+505
bridge in Intel ICH-series chipsets. The original implementation was by W. Daryl Hawkins of Texas A&M, but I have made substantial modifications.
OpenPOWER on IntegriCloud