summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2005-12-27enable some i2c bus drivers (piixpm(4), alipm(4), ichiic(4)) as neededTheo de Raadt
by each arch enable adc(4), admtemp(4), admlc(4), admtm(4), admtmp(4), admtt(4), adt(4), lm(4), lmenv(4), lmtemp(4), maxds(4), and maxtmp(4) iic chip drivers too, which provide gobs of sensor info
2005-12-27correctly mark 0x7f temperature reading as invalidTheo de Raadt
2005-12-27mark xeon internal sensor invalid each timeTheo de Raadt
2005-12-27correct probe for ds1780 (lm87 clone)Theo de Raadt
2005-12-27better namesTheo de Raadt
2005-12-27Remove the 1:1 association between SCSI targets and work queues, but use aMiod Vallat
cyclic search of the first unused work queue.
2005-12-27Fail existing command upon bus reset.Miod Vallat
2005-12-27oops, messed up "enabling run"Theo de Raadt
2005-12-27if too many of the early regs on a adm1021 are zero, it cannot be one..Theo de Raadt
2005-12-27Better initialize local variables before they are used, even if the compilerMiod Vallat
did not notice.
2005-12-27adjust truth in adm commentTheo de Raadt
2005-12-27handle smsc 47m192 and varients, which have 3 additional sensorsTheo de Raadt
2005-12-27Don't touch ic_exec callback directly since it can be missed for someAlexander Yurchenko
controllers. Use iic_exec() instead. ok deraadt@
2005-12-27Keep an array of command blocks (formerly M328_CMD), one per queue - sinceMiod Vallat
we can't send more commands simultaneously - instead of using MALLOC/FREE for every scsi command we send.
2005-12-273 drivers that mistakenly claim to need gpiobusTheo de Raadt
2005-12-27more paranoid checking for 47m192Theo de Raadt
2005-12-27Enable i2c bus scanning and kill annoying error message.Alexander Yurchenko
2005-12-27lm(4) at iic(4)Mark Kettenis
ok grange@, deraadt@
2005-12-27Add support for newer M7101 chips with different PCI config registers layout.Mark Kettenis
tested by deraadt@
2005-12-27avoid writing back same value; and use symbolic name for config START bitTheo de Raadt
2005-12-27adm1024 has the same interrupt clearing semantics as a lm87; tested by miodTheo de Raadt
2005-12-27interrupt clearing applies to lm87 class too (not just lm81 class)Theo de Raadt
2005-12-27Instead of using options to configure code, use machine header filesDale Rahn
<machine/intr.h>. On the road to cleanup.
2005-12-27if the device is busy trying to deliver an interrupt, it will stall onTheo de Raadt
scanning. at startup, that is dumb. clear the interrupt bit. now i get 40 sensors on the alpha... crazy
2005-12-27correct adm2940 probeTheo de Raadt
2005-12-27on lm81 and clones, reflag external sensor as invalid every time throughTheo de Raadt
2005-12-27print real memory in MB as well as KB, also remove unused ifdef code.Dale Rahn
2005-12-27tprintf() is now only necessary for NFS, so do not compile it for kernelsMiod Vallat
which like NFSSERVER and NFSCLIENT.
2005-12-27Do not tprintf() information, use printf() instead like all other tapeMiod Vallat
drivers do.
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-27only start, if not already startedTheo de Raadt
2005-12-27no longer use ia_compat; tested by a fewTheo de Raadt
2005-12-27match about 15 more clone chipsTheo de Raadt
2005-12-27make direct mappings fail for now, since noone will test that for meTheo de Raadt