summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2010-07-06move the last direct users of mpi_{get,put}_ccb over to using the scsiDavid Gwynne
ioh wrappers.
2010-07-06spacingTheo de Raadt
2010-07-06get rid of ridiculous differences between the i386 and amd64 versionsTheo de Raadt
2010-07-06Kill an unused variablePhilip Guenthe
ok deraadt@
2010-07-06Fix monumental cock-up with SCSI_SILENT and SCSI_IGNORE_ILLEGAL_REQUESTKenneth R Westerback
flags which I perpetrated when I paid insufficient attention to dlg@'s original diff. Belatedly tested by marco@ and myself. Bad marco@. Bad krw@. ok marco@
2010-07-05i forgot to remove various compat references from here. spotted by deraadtTed Unangst
2010-07-05bsdos was removedTheo de Raadt
2010-07-05Rework somewhat for safety, so that we only interpret the values ofJonathan Gray
the PERF_STATUS MSR on earlier processors when we can't find the values via acpi and have a bus clock value to use. And let processors we don't set a bus clock on (ie nehalem) use speedstep again. Expanded/changed version of a diff from gwk who isn't around right now.
2010-07-05remove compat_bsdos supportTed Unangst
2010-07-05remove a debugging panic, as pointed out by mike;Thordur I. Bjornsson
also, remove the flag variable in the setup routine, as we'll always register with a flag value of 0.
2010-07-05cope with the recent changes to m_copyback();Thordur I. Bjornsson
2010-07-05If we find something is not aligned according to ALIGNED_POINTER(), weTheo de Raadt
cannot then re-align it using ALIGN(). That is not portable since we have architectures where the modulo are quite different. define an ALIGN_POINTER() macro in place, and use it in one spot. This caused a NFS crash on sparc (which borrows mbufs and chains them itself in insane ways). I heard claudio and beck trying to diagnose it from over the room when suddenly I knew exactly what it was. blambert spent a few hours on it making sure that I wasn't insane.
2010-07-05timeout_add -> timeout_add_secBret Lambert
ok art@
2010-07-05timeout_add -> timeout_add_secBret Lambert
ok drahn@
2010-07-05Reset register SCI_EN on resume. The ACPI spec clearly states we don't haveMike Larkin
to do this, but many machines don't, or forget to, which leads to all sorts of problems on resume (broken battery stats, overheating, failure to resume more than once, etc). tested by many, ok marco@, deraadt@
2010-07-04restrict srmmu handling to just sun4mTheo de Raadt
2010-07-04Remove an obsolete (was in rev 1.1) and unclear commentPhilip Guenthe
2010-07-03Be sure to initialize b_bq member of struct buf not allocated through theMiod Vallat
regular buf routines; and now we can swap again.
2010-07-03Make the kernel responsible for saving the FPU state before runningMark Kettenis
signal handlers. Breaks ABI for applications that copy around struct sigcontext to implement cooperative threading. Other applications shoouldn't notice the difference. ok guenther@, deraadt@
2010-07-03Fix the naming of interfaces and variables for rdomains and rtablesPhilip Guenthe
and make it possible to bind sockets (including listening sockets!) to rtables and not just rdomains. This changes the name of the system calls, socket option, and ioctl. After building with this you should remove the files /usr/share/man/cat2/[gs]etrdomain.0. Since this removes the existing [gs]etrdomain() system calls, the libc major is bumped. Written by claudio@, criticized^Wcritiqued by me
2010-07-03No more ss(4) or usscanner(4). Unused, unloved and unmaintained.Kenneth R Westerback
General huzzahs. "go for it" deraadt@
2010-07-03no need for syncdelay to be a time_t, make it it an int. unstatic variablesThordur I. Bjornsson
so I can twiddle them from ddb (not that I will mess with the hashmask, but static burns). ok tedu@
2010-07-03replace 0 with equivalent allocation flag. ok thibTed Unangst
2010-07-03explicitly specify flags to malloc and pool_get instead of relying on 0.Ted Unangst
This is more clear, and as thib pointed out, the default in softraid was wrong. ok thib.
2010-07-03de-static ufs_chown and ufs_chmod so they show up in DDB.Thordur I. Bjornsson
2010-07-03Get rid of EAGAIN, retry scsi_xs_sync() commands (after a scsi_delay())Kenneth R Westerback
that get XS_NO_CCB until retry limit exceeded. On to getting rid of XS_NO_CCB. ok matthew@ "so be it" dlg@
2010-07-03Omit some silly USB devices from RAMDISK kernels.Matthew Dempsky
suggestion of more devices and ok tedu@; ok krw@
2010-07-03Stop disk on suspend and start it again upon resume. Gets rid of the loudMark Kettenis
click upon suspend that my laptop with ahci(4) has. ok dlg@, ok marco@ on an earlier iteration of this diff
2010-07-03Intel 3400 Thermal Sensor driver, found on some new Intel machines.Mike Larkin
This is also the same as the Intel Series 5 Thermal Sensor. ok deraadt@, kettenis@
2010-07-03Implement translation of the SCSI START STOP UNIT command.Mark Kettenis
ok dlg@, marco@
2010-07-03Turns out theMark Kettenis
/* XXX maybe more than the default wait is appropriate here? */ in ahci_port_portreset() is true, at least when we come out of suspend. Allow a timeout of 3s here while keeping all the other delays at 1s. ok dlg@, kettenis@
2010-07-03s/$Id$/$OpenBSD$/YASUOKA Masahiko
2010-07-03Last bit of thib@ locking diff from long ago. Put proper lockingKenneth R Westerback
around vinvalbuf(). vrele() -> vput() after VOP_CLOSE(). ok tedu@
2010-07-02Always try READ CAPACITY(16) on SCSI-3 devices. If it fails, returnKenneth R Westerback
the READ CAPACITY(10) values already retrieved. Creates the possibility to look at other interesting READ CAPACITY(16) data for future consideration. ok matthew@ marco@ deraadt@
2010-07-02Pretend that softintr_establish() actually works.Joel Sing
ok kettenis@
2010-07-02no need to call uvm_km_free_wakup for the kernel map, uvm_km_free isThordur I. Bjornsson
enough. ok tedu@, art@
2010-07-02When we steal memory, return the VA for the memory that we have stolen andJoel Sing
not the memory prior to it. Lots of help from oga@ ok kettenis@
2010-07-02Don't bother trying to handle a uvm_pglistalloc failure when called withThordur I. Bjornsson
UVM_PLA_WAITOK as it will not fail; Rather assert that it didn't fail. ok tedu@, oga@
2010-07-02Yet another workaround for PCH devices adapted from Intel code inJonathan Gray
FreeBSD by Mike Belopuhov. Makes the 82578 in dlg's dell desktop work. tested on 82577 by mlarkin@, ok claudio@
2010-07-02Provide an iopool in arc(4).Michael Knudsen
ok dlg matthew
2010-07-02Protect the ccb free list with a mutex rather than splbio().Michael Knudsen
Requested by dlg when reviewing a different diff. ok dlg
2010-07-02nuke unused global and a comment.Thordur I. Bjornsson
ok tedu@, oga@
2010-07-02ss(4) does not need the tape attribute; only tape devices do (and only on vax,Miod Vallat
really).
2010-07-02delete sunos filesTed Unangst
2010-07-02remove sunos compat filesTed Unangst
2010-07-02remove support for compat_sunos (and m68k4k). ok deraadt guentherTed Unangst
2010-07-02Add missing pmap_update. pointed out by matthew@Artur Grabowski
2010-07-02Since fill_eproc() is no longer called from coredump(), it can be droppedPhilip Guenthe
from small kernels "yes" deraadt@
2010-07-02One transition was wrong: Suspending without a card, and then resuming withTheo de Raadt
was doing an attach, detach, and re-attach. Repair the state transitions.
2010-07-02Move common code for waking up writers on a tty into a function.Nicholas Marriott
ok deraadt matthew millert