summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-12-29add admcts(4)Theo de Raadt
2005-12-29Add a bunch of i2c sensors.Mark Kettenis
ok deraadt@
2005-12-29Add viapm(4).Mark Kettenis
ok deraadt@
2005-12-29right spotTheo de Raadt
2005-12-29add admcts(4)Theo de Raadt
2005-12-29Add viapm(4).Mark Kettenis
2005-12-29Driver for SMBus coontroller integrated on VIA VT8237 bus control and powerMark Kettenis
management controller. ok deraadt@
2005-12-29go via pckbc_enqeue_cmd() in pckbd_enable() if on; fixes PR 4615Martin Reindl
ok miod@, mickey@
2005-12-29insanity debugged with djm -- here is the comment from the code:Theo de Raadt
+ * Some Maxim 1617 clones MAY NOT even read cmd 0xfc! When it is + * read, they will power-on-reset. Their default condition + * (control register bit 0x80) therefore will be that they assert + * /ALERT for the 5 potential errors that may occur. One of those + * errors is that the external temperature diode is missing. This + * is unfortunately a common choice of system designers, except + * suddenly now we get a /ALERT, which may on some chipsets cause + * us to receive an entirely unexpected SMI .. and then an NMI. + * + * As we probe each device, if we hit something which looks suspiciously + * like it may potentially be a 1617 or clone, we immediately set this + * variable to avoid reading that register offset.
2005-12-29remove bad newline for the secondary PCI bus with the 82450KX/GX chipsetBrad Smith
which was introduced in rev 1.11. thanks to marco@ for pointing out the issue, testing and ok'ing the diff.
2005-12-29static functions suckTheo de Raadt
2005-12-29Fix isadma0 at isa0 at mainbus0Mark Kettenis
ok deraadt@
2005-12-29"xeontemp" just means "looks like some sort of adm1021, or maxim1617,Theo de Raadt
but without any ID registers". anyways, i found some that still have two registers. instead of using "xeontemp" to mean "only look at one probe", use the existing 0x7f == short plus the ext-short bit in the status register to determine validity. otherwise, show them both.
2005-12-28probe for adm1032, a stupid stupid adm1021Theo de Raadt
2005-12-28this should also match lm86, lm89, lm90, lm99, lm89-1, lm99-1, i thinkTheo de Raadt
2005-12-28Remove dead cruft.Miod Vallat
2005-12-28correct copyrightTheo de Raadt
2005-12-28probe true lm90, lm99, lm89, lm86 devicesTheo de Raadt
2005-12-28I think this is better fan supportTheo de Raadt
2005-12-28clear IFF_RUNNING here to get a full re-init.Brad Smith
2005-12-28using the PCI capability register to check for PCI-X mode doesn't get the ↵Brad Smith
expected result as this is set whether the board is in a PCI-X slot or not. The chip can tell us if we're on a conventional PCI bus.
2005-12-28...thus no need to override conscode if we are configured as console, so thatMiod Vallat
kernels with hardcoded CONSCODE value can run as advertized regardless of the service switch position.
2005-12-28hyper, rbox and topcat not in intio space are CN_NORMAL priority, notMiod Vallat
CN_INTERNAL.
2005-12-28Define dca remote console identifiers as regular identifier with the bit 7Miod Vallat
set, like dcm does. No functional change.
2005-12-28Setting the service switch on 425e to select serial console shall not beMiod Vallat
considered as forcing the console, but as a normal remote console selection.
2005-12-28Use the DIP macros to uniformly access fields from UFS1 and UFS2 dinodes.Pedro Martelletto
No functional change, okay tedu@.
2005-12-28Fix bge_eeprom_getbyte() to return 1 when timeout happens.Brad Smith
Previously it always returned 0 which means success regardless of EEPROM status. While here, add a check whether EEPROM read is successful. From yongari FreeBSD
2005-12-28if many regs in a "xeontemp" appear the same, it is not oneTheo de Raadt
2005-12-28attempt at fan measurementTheo de Raadt
2005-12-28spacingTheo de Raadt
2005-12-28ad7417 much like ad7418Theo de Raadt
2005-12-28eliminate the last few quirk flags.Brad Smith
2005-12-28Use corrent size for io mapping. Problem reported byAlexander Yurchenko
steve.shockley@shockley.net.
2005-12-28symbolic + 3Theo de Raadt
2005-12-28Split off the non-kernel visible portion of sys/errno.h into aTodd C. Miller
separate errno.h. sys/errno.h now only contains errno values (which is included byerrno.h). OK deraadt@
2005-12-28Convert for sensor_task_register();Alexander Yurchenko
diff from Mike Belopuhov <mkb@crypt.org.ru>.
2005-12-28correct CX20468 initialization; mickey@ ok'ed this some time ago.Federico G. Schwindt
if you have this conexant codec give it a try.
2005-12-28Fix totally bogus previous commit.Mark Kettenis
2005-12-28oops enabled a method that doesnt work yet so disabled getbif for now.Marco Peereboom
ok jordan@
2005-12-28Add some return values to getbst and getbif.Marco Peereboom
ok jordan@
2005-12-28Moved DEVNAME to a acpidev.hMarco Peereboom
ok jordan@
2005-12-28Add 2 methods (Battery Info and Battery Status)Marco Peereboom
ok jordan@
2005-12-28oops. forgot this. part of dsdt parsing changesJordan Hargrave
ok marco@
2005-12-28Oops. Missed file from previous commit.Kenneth R Westerback
2005-12-28Added new method evaluation codeJordan Hargrave
ok marco@
2005-12-28Strip out fancy timeout code that attempts to mimic FreeBSD's threadKenneth R Westerback
based timeout handling. Use the simple timeout == bus reset model instead. Also move verbose debug output inside #ifdef/#endif. Fixes pulling out a raidctl disk causing a crash noted by kurt@. Rebuilding the raid still problematic. Reduces but does not eliminate crashes with 'smartctl -d scsi -a /dev/rcd0c' seen by Sigfried H?versen. Should only impact timeout handling. No change to normal processing. Thanks to kurt@ and Sigfied for testing. ok marco@
2005-12-28Strip out fancy timeout code that attempts to mimic FreeBSD's threadKenneth R Westerback
based timeout handling. Use the simple timeout == bus reset model instead. Also move verbose debug output inside #ifdef/#endif. Fixes immediate crashes on encountering a timeout. Noted by per englebrecht when trying 'smartctl -d scsi -a /dev/rsd0c'. Thanks to per englebrecht and luiz gustavo for testing. Should only impact timeout handling. No change to normal processing. ok marco@
2005-12-28some chips (especially those crazy i2c/lpc/isa gross things) expose theirTheo de Raadt
banks at other addresses, but there are issues with accessing these other devices. so allow a driver to "knock" these out from future probing. tested by kettenis -- unfortunate enough to have one of these winbond pieces of poo
2005-12-28golly gee, adm1027 looks a lot like adt7460Theo de Raadt
2005-12-28first draft of an adm1026 driver, without fan code yetTheo de Raadt