summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-09-28when inserting a state, turn the error that pf_state_insert returnsDavid Gwynne
into something usable by ioctl. makes DIOCADDSTATE on /dev/pf cope when inserting an already existing state.
2009-09-27adjust comments; eephy isn't just for Intel GigE. From Brad.Stuart Henderson
2009-09-27In pmap_proc_iflush(), do not bother checking for pmap being curpmap on anyMiod Vallat
processor, since caches are physically addressed and we are working on physical addresses.
2009-09-27Add an implementation of IRIX-compatible cacheflush() routine to mips ports,Miod Vallat
needed for gcc -ftrampoline operation as well as by some third-party software. Although the implementation uses the sysarch() sysctl, the wrapper is added to libc as it was a direct system call (which it is on IRIX).
2009-09-27If no xfer buffer is free for the UDLIO_DAMAGE ioctl, sleep in the kernelMarcus Glocker
until one xfer buffer gets freed again, instead userland needs to handle this. Help and OK miod@, matthieu@
2009-09-27typosMiod Vallat
2009-09-27Print the LOM type (LOMlite/LOMlite2).Mark Kettenis
2009-09-27Add sensor status for fan sensors.Mark Kettenis
2009-09-27Implement queuing of reads and writes. This gets rid of the remaining busyMark Kettenis
waits for LOMlite.
2009-09-26Fix artefacts in compression mode especially seen when running X.Marcus Glocker
2009-09-25- enable axe/aue to make my life a bit easierJasper Lievisse Adriaanse
ok marex@
2009-09-25Fix the value of one voltage sensor in ev6 environmental machine checks.Miod Vallat
2009-09-24Handle the upper 32 bits of the prefetchable memory range when setting upMiod Vallat
the ppb resource extents, on LP64 systems. Found the hard way on an alpha. ok kettenis@
2009-09-24Link alpha kernels with an ld.script to discard unwanted sections; thisMiod Vallat
allows us to no longer need to compile with -finhibit-size-directive, which in turns allows the (future) use of !samegp relocations by as(1). ok kettenis@
2009-09-24Make sure the scsi_xfer timeout always get initialized with timeout_set(),Miod Vallat
since the scsi_done() wrapper will timeout_del() unconditionnaly and the scsi midlayer no longer provides scsi_xfer with zeroed struct timeout. ok dlg@
2009-09-24In trm_scsi_cmd(), in an splbio() protected block, don't bother doing splx()Miod Vallat
and splbio() around a simple timeout_set() call, it won't gain us anything. ok dlg@ krw@
2009-09-24Slightly less evil busy wait loop for LOMlite. Small tweak to LOMlite stateMark Kettenis
machine.
2009-09-24do not call m_free(n0) followed by m_freem(n0) when m_dup_pkthdr()Damien Bergamini
call fails. this double-free was introduced with the M_DUP_PKTHRD to m_dup_pkthdr change that got committed before I had a chance to review it.
2009-09-23Implement reading LOMlite registers using timeouts and a state machine toMark Kettenis
avoid busy waits. Writes are still somewhat problematic, but things work well enough to make lom(4) attach to LOMlite now. Fix typo pointed out by miod@ while I'm there.
2009-09-23Add some more LOMlite bits. We don't attach to LOMlite yet because it isMark Kettenis
very slow and this version of the code busy waits too much.
2009-09-23Disable SPLUSBCHECK for now, as these turn out to be harmful on sparc64.Miod Vallat
2009-09-23Attempt mapping as io as well as mmio; necessary to make this work on a V100.Mark Kettenis
2009-09-23do not attach the AR5416 and AR5418 (AR5416 PCIe) to the ath(4)Damien Bergamini
driver as these chipsets are not currently supported. noticed by ian@ "makes sense" millert@ ok jsg@
2009-09-23Restructure watchdog support such that it will work on both LOMlite andMark Kettenis
LOMlite2.
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.