summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-01-20Add workaround for broken ATI southbridges; inspired by how Linux handles this.Mark Kettenis
Fixes PR 5916 & 5959. ok toby@
2009-01-20Install ACPI S3 resume trampoline code in a lowmem page. First partMike Larkin
of ACPI S3 suspend/resume support. This is for i386. Help/comments from art, toby, marco, jordan, kurt ok marco@, kurt@
2009-01-20Variables were never used, never implemented.Ariane van der Steldt
Ok miod, toby
2009-01-20Change the ``buf'' parameter of sdla_{peek,poke}_by_4()Alexander Yurchenko
from void * to u_int_8 * to avoid redundant and illegal lvalue casts. No functional changes. ok krw@
2009-01-20Don't use (type *)var as an lvalue, it's incorrect. No functional changes.Alexander Yurchenko
ok jakemsr@ krw@
2009-01-20Start reworking NFS client mbuf handling by creating an interface whichBret Lambert
requires well-formed mbuf chains to work. Existing function name is now a wrapper to this interface. Much, much more work to follow which will build on this. Truly change we can believe in. ok thib@, who would have preferred this in two commits, but I'm impatient :) testing on multiple arches (i386, arm, amd64, and sparc64 at least) by many, thanks to all who did so
2009-01-20Add a few more inline functions to read priviliged registers.Mark Kettenis
2009-01-19Introduce a macro to invalidate the attributeThordur I. Bjornsson
cache instead of setting n_attrstamp to 0 directly. Lift the macro name from NetBSD. prompted by and OK blambert@
2009-01-19The acceleration code would not work on XVR-600 and XVR-1200, so if it turnsMiod Vallat
out it doesn't work, fall back to dumb software routines until we know better. Also, do not attach to the second head of the XVR-1200 yet, the second node lacks basic frame buffer properties. Tested by Mattieu Baptiste, thanks!
2009-01-19Clear RI_CLEARMARGINS in the ri_bits == NULL ifb(4) kluge, the new windowMiod Vallat
position code may set it.
2009-01-19Add support for Novatel Wireless Ovation U727.Jonathan Gray
Tested by Seth Hanford.
2009-01-19regenJonathan Gray
2009-01-19Novatel U727Jonathan Gray
2009-01-18Define HEAP_START so that we can use space below it for ethernet buffers;Miod Vallat
this prevents if_ie buffers from possibly overwriting the stack. Crank bootloader versions.
2009-01-18Recompute file pointer position when seeking backwards, as it gets reinitializedMiod Vallat
to zero otherwise; allows the tftp bootloader to work again after the switch to the MI loadfile code.
2009-01-18If open() failed because the file does not exist, a struct sd for this fileMiod Vallat
won't be allocated. Check for this in close() so as not to free() bogus pointers.
2009-01-18Remove unused members from struct nfsd.Bret Lambert
ok thib@
2009-01-18remove function which only called nfssvc_iod(), and pass nfssvc_iod()Bret Lambert
to kthread_create() ok thib@
2009-01-18Replace #ifndef DIAGNOSTIC with #ifdef to make the additional checksAlexander Bluhm
in diagnostic kernels. The typo comes from 4.4BSD-Lite2 via NetBSD. Found with pedro@, ok pedro@, blambert@, thib@
2009-01-18add $OpenBSD$ tagThordur I. Bjornsson
2009-01-18Perform the same access enforcements for set attributesThordur I. Bjornsson
as for open/read/write etc, that is assume that the file as already been opened proper, this fixes an ancient ftruncate bug, that is if ftruncate was called on a file with no write modes, we'd return EACCES, this breaks posixy behavior. however, for e.g. truncate() we'll return EACCESS as we should. Diff from PR5880 by mickey. I had forgotten about this PR, and the fix but niklas@ ran into similar issues which prompted another review of this. OK kettenis@
2009-01-18Add nfs ddb hooks, for now only to show all the outstanding nfsreq'sThordur I. Bjornsson
and to print out struct nfsreq. "get it in so people can pound on it" blambert@ OK and information_s_ on the manpage from miod@
2009-01-18Update copyright.Alexander Yurchenko
2009-01-18Put ccb back on free list if we bail out because we can't map theKenneth R Westerback
data buffer.
2009-01-18Don't lose ccb's if there are problems allocating the structures neededKenneth R Westerback
to issue a command.
2009-01-18enable atphy/ageKevin Lo
ok kettenis@
2009-01-17gdt_compact() was removed years ago, so kill the code and commentsPhilip Guenthe
that worked around its presence ok'ed by miod@
2009-01-17If the hypervisor call that fetches randomness returns EWOULDBLOCK,Mark Kettenis
reschedule the timeout again instead of complaining.
2009-01-17Clean things up a bit, and be a bit more fussy about the proper sequence inMark Kettenis
which we should receive messages from our peer.
2009-01-17Return NO_CCB if we run out of descriptors.Mark Kettenis
Suggested by krw@
2009-01-17Add support for DS1822 to owtemp(4).Alexander Yurchenko
2009-01-17Sync vio_sendmsg() with equivalent code in vdsk(4).Mark Kettenis
2009-01-17Enable vrng(4).Mark Kettenis
2009-01-17Make this work in guest domains.Mark Kettenis
2009-01-17Use proper assignment macros for dinode manipulations instead ofAlexander Yurchenko
abusing the DIP() macro which is an rvalue and can't be used as an lvalue. No functional changes. ok tedu@ pedro@
2009-01-17Recognize environmental change machine checks on ES40, and report whatMiod Vallat
happens instead of panicing; while there, start providing more details for ev6 processor machine checks as well. This allows power supplies to be unplugged and exchanged while the system is running, without causing the kernel to crash.
2009-01-17use 24-bit precision (encoded in 32-bit words) rather thanAlexandre Ratchov
fake 32-bit precision. Allowed by recent audio(4) changes.
2009-01-17A couple of stray malloc/memset -> malloc(M_ZERO), a bit of knf andKenneth R Westerback
lose a couple of unnecessary casts. No functional change. Feedback from kettenis@ ok kettenis@ marco@
2009-01-17Implement SYNCHRONIZE CACHE and make SCSI_POLL work while we're there.Mark Kettenis
2009-01-16Set the number of openings to the number of ring descriptors minus one. ForMark Kettenis
some reason, setting it to the number of descriptors causes ring overruns.
2009-01-16In pf_test_rule(), if we don't create a state, free any state keys thatDavid Krause
may have been allocated earlier by pf_get_translation(). Fixes a pf_state_key_pl leak triggered by certain ICMP types matching a NAT rule. Finally located with the help of pool_walk(). ok henning@ dlg@ mcbride@
2009-01-16Make it possible to boot from vdsk(4).Mark Kettenis
2009-01-16support 20 and 24-bit sample formats. remove the unneeded "validbits"Jacob Meuser
handling. ok ratchov; tested by naddy, thanks
2009-01-16deal with sample precisions that are not a power of 2.Jacob Meuser
discussed with and ok ratchov; manpage tweak from naddy, thanks
2009-01-16Make transfers bigger than PAGE_SIZE work.Mark Kettenis
2009-01-16turn nfs_msg into void functions, also make it take an nfsreqThordur I. Bjornsson
argument since all of the info we need is there, makes it and the use it a tad bit nicer. ok blambert@
2009-01-16Remove bogus KASSERT.Mark Kettenis
2009-01-16Call start callback unconditionally.Mark Kettenis
2009-01-16Improve VIO state machine, and initiate VIO handshake ourselves. Makes thisMark Kettenis
work with newer versions of Solaris.
2009-01-16add IT8720F supportOleg Safiullin
thanks to Vit Skibinskiy <bucker(ik)skibinski.pp.ru>