Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Acquire/release the i2c bus before/after reading the temperature register. | 2015-05-30 | 1 | -3/+4 | |
| | | | | | | | Prevents concurrent access to the smu(4) microcontroller on Apple G5 machines, which would result in errors reading the RTC. ok deraadt@, mpi@ | ||||
* | Revert unrelated changes in previous. | 2015-05-29 | 1 | -3/+1 | |
| | |||||
* | Initial addition of ``Patrol Read'' support in bio(4), biocto(8), and | 2015-05-29 | 1 | -1/+3 | |
| | | | | | | mfi(4). Based on FreeBSD, but done without mfiutil(8). OK deraadt@ | ||||
* | Remove some includes include-what-you-use claims don't | 2015-03-14 | 4 | -9/+4 | |
| | | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@ | ||||
* | add some more sdtemp devices | 2014-11-14 | 2 | -2/+12 | |
| | |||||
* | Do not compile sensor code if option SMALL_KERNEL | 2014-10-12 | 1 | -1/+9 | |
| | |||||
* | add some more sdtemp devices | 2014-09-27 | 2 | -3/+63 | |
| | | | | ok deraadt@ | ||||
* | Don't mask off revision bits for tests against a full | 2014-09-26 | 1 | -3/+3 | |
| | | | | | | | device id/revision id value. Makes it possible for se98 and stts424 sensors to match. ok deraadt@ | ||||
* | Provide a forward declaration of struct device. | 2013-07-05 | 1 | -1/+3 | |
| | | | | ok deraadt@ | ||||
* | Implement support for "clock stretching" where a slave device pulls down SCL | 2013-04-20 | 1 | -1/+32 | |
| | | | | | | to slow down the master device. This makes the i2c bit-banging code work with slow slave device such as SDVO chips and DDC eeproms found on various graphics hardware supported by inteldrm(4). Mostly from NetBSD. | ||||
* | Unbreak the build on amd64 by making sure that inteldrm pulls in the generic | 2013-03-31 | 1 | -2/+2 | |
| | | | | | | | | i2c bit-banging code. Requires us to move around the i2c_bitbang define. Also move the onewire_bitbang define to be close to i2c_bitbang since they are similar. ok jsing@ | ||||
* | Detect the ts3000b3 and stts2002, and weaken the cat34ts02 model check | 2011-10-07 | 2 | -10/+19 | |
| | | | | | since a similar device (not yet named as far as I can see) has showed up on the market. cat34ts02 tested by weerd. | ||||
* | Calling a detach function from an attach function is no longer legal ( | 2011-07-26 | 1 | -12/+2 | |
| | | | | | | | see a recent subr_autoconf.c commit). To resolve this problem, mark the other attachment dead, and clean it up when the first servicing timeout gets run. ok kettenis | ||||
* | Enter nvt(4), a driver for the W83795G and W83795ADG hardware monitor. | 2011-07-03 | 2 | -1/+303 | |
| | | | | ok deraadt@, miod@ | ||||
* | The check for the mcp98243 sdtemp(4) device was too strict. Relax it. | 2011-05-26 | 1 | -2/+2 | |
| | | | | Tested by Joe Gidi | ||||
* | Add support for detecting the NXP SA56004X (we have not actually | 2011-03-10 | 2 | -2/+12 | |
| | | | | | | seen it in the wild yet, but the detection seems easy). Few bugs spotted by kettenis. ok kettenis | ||||
* | 3 more JEDEC JC-42.4 sensors are the market | 2010-07-09 | 2 | -8/+23 | |
| | |||||
* | Detect Nuvoton W83795G. | 2010-03-22 | 1 | -1/+11 | |
| | | | | ok deraadt@ | ||||
* | Split existing spdmem@i2c code into bus-agnostic spd record decoding code, | 2010-03-22 | 3 | -844/+126 | |
| | | | | | and an i2c attachment. No functional change; ok jsg@ deraadt@ | ||||
* | correct id for 2nd type of stts424e02; from cnst | 2009-12-28 | 1 | -2/+2 | |
| | |||||
* | match() function was leaving the i2c bus locked; ok kettenis | 2009-10-05 | 1 | -3/+6 | |
| | |||||
* | Don't try to check for ECC with fbdimm as the offset exceeds | 2009-09-13 | 1 | -4/+1 | |
| | | | | | | the number of bytes currently read into the sm_data array. Problem found by recent version of gcc. | ||||
* | only pull in the source file if it is needed, so that all the others | 2009-08-12 | 1 | -2/+3 | |
| | | | | | we use compile brilliant cnst, please learn to test better | ||||
* | Mark sensor as invalid if the i2c transaction to read its value fails. | 2009-08-12 | 1 | -2/+5 | |
| | | | | ok deraadt@ | ||||
* | New lisa(4) driver for ST LIS331DL accelerometer in HP 2133 Mini-Note PC; ok deraadt | 2009-08-12 | 3 | -2/+156 | |
| | |||||
* | check 4 (instead of merely 2) addr bits for probing sdtemp(4) chips; ok deraadt | 2009-07-10 | 1 | -8/+8 | |
| | |||||
* | fix the complement in the 2's complement patch from yesterday; ok deraadt | 2009-07-10 | 1 | -2/+2 | |
| | |||||
* | support onsemi's cat34ts02 and cat6095; ok deraadt | 2009-07-10 | 2 | -3/+8 | |
| | |||||
* | the temperature value is really a 13-bit 2's complement; ok deraadt | 2009-07-10 | 1 | -5/+4 | |
| | |||||
* | fix the mask for the sign bit and some comment; ok deraadt | 2009-07-10 | 1 | -3/+3 | |
| | |||||
* | Seems I confused Mb and MB and was in too much of a rush when I | 2009-05-23 | 1 | -5/+18 | |
| | | | | | | | | added the DDR3 bits. Take into account more of the spd data and compute DDR3 module size in a way similiar to NetBSD so it comes out correctly. Tested by Olivier Cherrier and Christian Stuermer. | ||||
* | remove a meaningless sensor.desc; ok deraadt | 2009-04-22 | 1 | -3/+1 | |
| | |||||
* | apologize (dlg and claudio, stop snickering) | 2009-03-14 | 1 | -2/+2 | |
| | |||||
* | Untested FB-DIMM decoding adapted from changes made to NetBSD | 2009-02-22 | 1 | -1/+72 | |
| | | | | | by Paul Goyette. ok deraadt@ | ||||
* | Indicate if a thermal sensor is present on ddr3 modules. | 2009-02-19 | 1 | -1/+6 | |
| | |||||
* | Move most of spdmem match logic into the driver and add crc16/ddr3 | 2009-02-19 | 2 | -18/+201 | |
| | | | | | | | | | support based on changes in NetBSD by Paul Goyette with goop like bitfields/single decode function mess removed and things like module type/simpler capacity calculations added. Tested by a bunch of people in particular krw who tested a few revs of the ddr3 bits. | ||||
* | Unify error message. | 2009-01-26 | 2 | -4/+4 | |
| | | | | ok grange@, oga@, todd@ | ||||
* | Check for zero'd spd data even if we pass the checksum | 2008-12-12 | 1 | -2/+4 | |
| | | | | | | | and don't offer a match in this case. Deals with the qemu "TODO: Populate SPD eeprom data." tested by todd@ | ||||
* | remove more logically irrelevant DDR code from the SDR function; ok jsg | 2008-11-24 | 1 | -30/+18 | |
| | |||||
* | add support for ST's chip since documentation is now available at | 2008-11-13 | 2 | -3/+8 | |
| | | | | | http://www.st.com/stonline/products/literature/ds/13448/stts424e02.pdf as discovered by Gert-Jan Vons. | ||||
* | remove some dead code and fix a comment; llvm/clang; ok jsg | 2008-11-10 | 1 | -16/+4 | |
| | |||||
* | uninitialised value caused some lmenv(4) fans to never appear sometimes; | 2008-11-10 | 1 | -2/+3 | |
| | | | | | the bug was reported long time ago by Simon Slaytor with adm9240; the eyes were cleared today by LLVM/Clang Static Analyser; ok deraadt | ||||
* | support w83627dhg at i2c (as seen on Sun Ultra 24 via dmesg@) ok deraadt@ | 2008-11-03 | 2 | -2/+6 | |
| | |||||
* | add support for the PCA9555 device which has 16 instead of 8 pins. | 2008-09-10 | 1 | -56/+131 | |
| | | | | ok deraadt@ | ||||
* | * fix the order of precedence in the divisor bits calculation | 2008-06-09 | 1 | -10/+10 | |
| | | | | | * correct the constant in the fanrpm formula ok deraadt | ||||
* | Print a specific message for non i2c attachments like macppc | 2008-05-21 | 1 | -1/+5 | |
| | | | | | memc, in the situation where Apple cheaps out by having no SPD on integrated RAM. | ||||
* | correct attach messages | 2008-05-01 | 1 | -3/+3 | |
| | |||||
* | learn about the fans | 2008-04-23 | 1 | -21/+74 | |
| | |||||
* | * correct the names of the register defines | 2008-04-22 | 1 | -12/+15 | |
| | | | | | | | * describe the temperature sensors as 'Internal' / 'External' * no need for sensor description enumeration 'sure' deraadt | ||||
* | unbreak the ignore_addrs logic (the 'continue' was obviously meant to affect | 2008-04-22 | 1 | -2/+4 | |
| | | | | | | another preceding 'for' loop); reported by krw and kettenis; better diff from millert; 'get it in' deraadt |