summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2005-12-30Kill conforced, and have console devices use CN_FORCED priority instead.Miod Vallat
This means we are no longer aborting the console scans even if the final console has been found, but on the other hand makes some logic simpler; plus it will be necessary for upcoming scode vs device loop order reversal. No user-visible change.
2005-12-30Stop TIOCCONS from silently doing nothing if the console device has CN_REMOTEMiod Vallat
priority; this might have been bright 12 years ago, but this is wrong (and does not rely upon any decent semantic). agreed krw@
2005-12-30Introduce another console device priority level, CN_FORCED, which wins overMiod Vallat
CN_REMOTE.
2005-12-30When a driver claims console, let it set conscode to itself, instead ofMiod Vallat
letting the bus walkers do this for it. This is necessary since apci does not use the bus walkers, now that we do not force console probes to stop when apci claims console.
2005-12-30Introduce symbolic constants for the magic conscode values.Miod Vallat
No functional change.
2005-12-30knf (replace lines of c++/c99 '//' comments with #if 0)Reyk Floeter
2005-12-30Initial W83791D support for lm(4).Mark Kettenis
ok krw@
2005-12-30make ACPI_DEBUG compileTed Unangst
2005-12-30remove the tailq used to locate ehci's companion controllers. i haveDavid Gwynne
absolutely no idea how this compiled since the usb_cardbus struct (which is what the list was made of) was defined in usb_cardbus.h. usb_cardbus.h was removed from the tree over 8 months ago. gcc must be crap.
2005-12-30rebuildTed Unangst
2005-12-30check for another sign that a lm75 is not thereTheo de Raadt
2005-12-30change thrwakeup to take an argument which specifies how many threadsTed Unangst
to wakeup.
2005-12-30remove #if __NetBSD__ and device_ptr_t. its more readable and lessDavid Gwynne
confusing now.
2005-12-30while looking for device_ptr_t typedef cruft i noticed #if __NetBSD__. whyDavid Gwynne
did i put that in? this cleans up the if __NetBSD__ goo
2005-12-30device_ptr_t -> struct device *David Gwynne
i hate typedefs
2005-12-30Now that errno.h and sys/errno.h are separate header files there is noTodd C. Miller
need to use the -Derrno=errno workaround added when __errno() was introduced. OK deraadt@
2005-12-30Some spaces->tab indentation fixes.Jonathan Gray
2005-12-30Make PT_SETFPREGS work even if the process didn't use the fpu yet.Mark Kettenis
ok miod@
2005-12-29W^X for G5Mark Kettenis
ok drahn@, totally groovy deraadt@
2005-12-29regenReyk Floeter
2005-12-29add additional Intel E7525 MCH subdevices. ok brad@Reyk Floeter
2005-12-29ichiic for intel amd64 machines; spotted by reykTheo de Raadt
2005-12-29regenReyk Floeter
2005-12-29add a VMware virtual NIC device idReyk Floeter
2005-12-29regenBrad Smith
2005-12-29add a ServerWorks PCI Express to PCI-X bridgeBrad Smith
2005-12-29Correctly bounds check transfers passed to vndstrategy()Pedro Martelletto
2005-12-29Fix wrong optimization in spec_write() that goes: if we are about to doPedro Martelletto
a write that will globber the whole buffer, and it's not in cache, do not bother reading it in. That's wrong, since the user may be trying to write beyond the disk extent, in which case we definitely want to return an error, rather than returning saying the write was okay, and failing later on at an 'uncatched' biodone(). Okay tedu@.
2005-12-29Match a few more lm(4) Winbond and ASUS chips.Mark Kettenis
2005-12-29stop using I2C_F_POLL; it is a bus driver responsibility nowTheo de Raadt
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