summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-09-22Add PSU sensor.Mark Kettenis
2009-09-21Explicitly configure the watchdog timer not to reset the machine when weMark Kettenis
attach. If we don't do this, the machine will reset even if the watchdog timer hasn't been explicitly configured if the watchdog timer was previously enabled.
2009-09-21Add support for the built-in watchdog. In the default state the watchdog willMark Kettenis
enable the fault LED after 127 seconds if the kernel stops patting. You'll have to explicitly enable the watchdog to make it reset the machine.
2009-09-21Fix use before init on wu.Marco Peereboom
Found by jsing, tested and ok jsing.
2009-09-21Properly reference count bpf descriptors when using kqueue.Can Erkin Acar
Reported and fix tested by weerd@, ok claudio@
2009-09-21Document a private ioctl range for wscons drivers (from Miod). ThereforeMarcus Glocker
change the UDLIO_DAMAGE ioctl from 0 to 128 and move the ioctl part from udl.h to udlio.h so we can include it in userland applications. Suggested and OK miod@
2009-09-20Update the hostname stored in the LOM based on the hostname set in the kernel.Mark Kettenis
2009-09-20Back out via nano temperature sensor changes.Jonathan Gray
They break ramdisks as noticed by jasper, and have not been adequately discussed.
2009-09-20Add fan sensors.Mark Kettenis
2009-09-20Implement a detach function in wpi(4) and iwn(4).Damien Bergamini
Some laptops will power off the PCIe socket when the radio kill switch is turned on. Reported and tested by Frantisek Holop on iwn(4). Initial diff for iwn(4) by jsg@ Some additional bits by Frantisek Holop (sensor_detach). Some tweaks and adaptation to wpi(4) by me. Fixes kernel/6223.
2009-09-20Use name provided by the LOM device as description for the temperatureMark Kettenis
sensor.
2009-09-20Sync dummy_cpu layout with current struct cpu_info.Miod Vallat
2009-09-20add support for VIA Nano cpu core temperature sensorKevin Lo
ok deraadt@
2009-09-20syncStuart Henderson
2009-09-20Add ATI SB900 IDs, from Brad. Confirmed against Linux diffs submitted by AMD.Stuart Henderson
2009-09-20syncTheo de Raadt
2009-09-20Support the AX88772A model (found while shopping today); tested by mtuTheo de Raadt
2009-09-20Remove XXX content about missing screen repaint when switching to EMULMarcus Glocker
mode. Miod mentioned that is it OK to loose screen content when switching DUMBFB -> EMUL. Thanks.
2009-09-20For now just clear the screen when switching to emulation mode (need toMarcus Glocker
figure out how we can repaint it as well).
2009-09-20Add WSDISPLAYIO_SMODE, WSDISPLAYIO_SVIDEO, WSDISPLAYIO_GVIDEO ioctl. ToMarcus Glocker
be completed.
2009-09-19Rename another function; udl_cmd_set_xfer -> udl_cmd_set_xfer_type isMarcus Glocker
a bit more self explaining. No functional changes.
2009-09-19Rename two functions; udl_cmd_get_offset -> udl_cmd_save_offset, andMarcus Glocker
udl_cmd_set_offset -> udl_cmd_restore_offset, matches better what we do. No functional changes.
2009-09-19Re-sort function pointer assignments. No functional changes.Marcus Glocker
2009-09-19If UDLIO_DAMAGE fails to queue the damage drawing request, undo theMarcus Glocker
operation and tell the X11 driver to retry later (same as for rasops).
2009-09-19Initial stab at a driver for LOMlite2 as found on the Sun Fire V100, Sun FireMark Kettenis
V120 and Sun Netra X1. For now this only provides a temperature sensor, but more stuff will follow.
2009-09-19Add bits for X11 support over the wsdisplay framework (fully HuffmanMarcus Glocker
compressed). The upcoming X11 driver mmaps its framebuffer from the kernel and sends updates via the Damage mechanism. Committed from a X session on udl, of course.
2009-09-18Make sure we handle all possible ways regions can overlap when EX_CONFLICTOKMark Kettenis
is specified. ok miod@
2009-09-18ldt removal missed some. amd64_{get,set}_ldt gone. also removeMartynas Venckus
ldt_{alloc,free} to shave a few. ok jasper@, oga@
2009-09-18For some dark reason there's a bit on the VLINK device of this chipsetMark Kettenis
that makes the PCIE device show up as a host bridge instead of a PCI-PCI bridge. As a result any devices sitting behind it won't be detected. Whack the device into PCI-PCI mode such that we can walk the PCI bus hierarchy the normal way and detect all devices. Fixes PR 6215. ok dlg@
2009-09-18Fix conversion of symbolic IPL level to hardware PSL value in the mutex code.Miod Vallat
This is a noop on all arches but hp300, where this fixes (at least) IPL_BIO mutexes.
2009-09-18Make sure to always initialize the scsi_xfer timeout with timeout_set() earlyMiod Vallat
in spc_scsi_cmd(), so that it is safe to pass it to timeout_del() anytime (recent scsi changes no longer cause the scsi_xfer timeout to be in an initialized state).
2009-09-17Use __builtin_va_start instead of __builtin_stdarg_startJonathan Gray
for va_start() which was only present for backwards compat and has been removed from recent versions of GCC. Our in tree GCC 3.3.5 has __builtin_va_start and this section of code is only run if __GNUC__ >= 3 already. ok espie@ kettenis@ millert@ miod@
2009-09-17Fail bus_space_map() calls if the flags can't be honoured (such asMiod Vallat
BUS_SPACE_MAP_LINEAR in i/o space, or noncacheable linear TURBOchannel mappings). From NetBSD
2009-09-17Return a dense mapping for BUS_SPACE_MAP_PREFETCHABLE mappings; repairesMiod Vallat
tga on non-bwx machines. Reported and fix tested by kurt@
2009-09-17Remove the comaptibility structures for routing socket version 3.Claudio Jeker
The RTM_VERSION bump is 2 years ago and so there is no need for this. Diff made by tedu@ some time ago but got never commited so I do it now.
2009-09-17Wrap trunk_enqueue() calls in splnet() since sending out lacp packetsClaudio Jeker
starts in a timeout handler which runs at a lower spl. This fixes the problems with lacp trunks where some interfaces suddenly fail for no obvious reason. Problem report and fix tested by Stephan A. Rickauer. OK henning, reyk, mpf
2009-09-17Add an splassert check trunk_enqueue() calling this function at anythingClaudio Jeker
below splnet() is a good recipe for doom. OK henning, reyk, mpf
2009-09-16fix ENETRESET handling in run_ioctl() and run_media_change().Damien Bergamini
fixes a kernel panic reported by ckuethe@ on amd64
2009-09-16style: in pf_test_state_other, fix indentation, kill excessive newlines,Henning Brauer
add break in the last case block
2009-09-16fix copy & paste error from almost a year ago (bad ryan)Henning Brauer
PF_ANEQ call in pf_test_state_other in the IPVshit case used AF_INET, found by claudio
2009-09-15Make sure we block clock interrupts at IPL_CLOCK and higher.Mark Kettenis
ok miod@
2009-09-15TP-LINK TL-WN821NDamien Bergamini
2009-09-15usb id for TP-LINK TL-WN821N (otus(4)).Damien Bergamini
2009-09-15SyncClaudio Jeker
2009-09-15Better product names for the newest Intel cards. Include the productClaudio Jeker
number in the name to simplify identifying the card in dmesg. OK dms
2009-09-15cpu status flag, cpuid added to cpu_info.Takuya ASADA
cpu_info pointer array, cpu_info iterator, cpu_number() implementation added. constraint modifier fixed in lock.h to output correct assembly. calling proc_trampoline_mp in exception.S.
2009-09-14simplify code in preparation for other things. tested by many.Federico G. Schwindt
2009-09-14Deal with the fact that we need to control an external PHY attached to TSEC2Mark Kettenis
through the registers of TSEC1. Makes the first ethernet port on the rb600 usable.
2009-09-14Add a way to convert the ifi_link_state to a string without the use ofClaudio Jeker
if_media. This makes link state tracking a lot easier as there is no need to convert if types to if_media types, etc. Additionally this allows us to extend the link states to include states tracked on higher protocol layers. gre(4) keepalives packets, bfd and udld can be implemented without ugly hacks. OK henning, michele, sthen, deraadt
2009-09-14don't try to manipulate an invalid node. fixes codec detectionJacob Meuser
problem reported by martynas@. this bug has been there a long time (r1.61), but sloppy RIRB handling was hiding it ...