summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2007-12-01Don't double attach serverworks subsidiary pci busses, introduced byTheo de Raadt
oga during the agp merge. Lost a few follicles over this one..
2007-11-30s/letoh16/htole16/ in iwn_send_sensitivity().Damien Bergamini
no binary change.
2007-11-30Fix msleep.Owain Ainsworth
Since mutexes mess around with spl levels, and the sched-lock isn't a mutex, we need to make sure to fix the IPL when msleep does the locking. ok art.
2007-11-30Disestablish interrupts upon detach,Mark Kettenis
2007-11-30Make ppb(4) detachable.Mark Kettenis
2007-11-30Make pci(4) detachable.Mark Kettenis
2007-11-30Unbreak build. Also tested by jasper@.Joel Sing
2007-11-30skip the bad mapping checks for now, sighTheo de Raadt
2007-11-30Define IPL_VM on platforms which lack it.Miod Vallat
2007-11-30Skip the sanity test introduced in r1.50 on TI devices, as it gets triggeredMiod Vallat
with valid devices.
2007-11-30Define NORMAL_C_NOP everywhere.Miod Vallat
2007-11-29unbreak the zaurus kernel build by adding a missing headerTodd T. Fries
co-discovered by robert@
2007-11-29repair case of agp & subsidiary busses; ok kettenisTheo de Raadt
2007-11-29outdated commentTheo de Raadt
2007-11-29needs at least S definedTheo de Raadt
2007-11-29use a working mutex for the freepage list. ok art deraadtTed Unangst
2007-11-28oga just showed the worst case of "commit and run for beer" i've everTheo de Raadt
seen. unbreak the tree by adding a missing file (hope it is the only one)
2007-11-28Initial import of the DRM (direct rendering manager).Owain Ainsworth
This is the kernel part necessary for DRI support in X. Disabled for now because it still has a few bugs, but now I can work on it in tree. Also requires the requisite bits in X, which are currently under discussion on how to deal with them with privsep. ported from a combination of the free and netbsd implementations. Known bugs: 1) only the first occurence of X in any session will have dri, after that something prevents it working. 2) if the machine does not have a dri capable card, the kernel panics. Something's up in one of the probe functions. I haven't been able to find it though. 3) radeon cards need to be forced to use PCI mode otherwise they get into an infinite loop. This is known to at least kinda work with SiS, radeons in pci mode and intel cards. ok deraadt, kinda ok art, a few other people had a quick look.
2007-11-28Add msleep. This is identical to tsleep but it takes a mutex as aOwain Ainsworth
parameter. The mutex is unlocked just before sleep and relocked after unless P_NORELOCK is in flags, in which case it is left unlocked. ok art@.
2007-11-28Garbage collect sparc_cas() and sparc_casx(). We have equivalent functionsMark Kettenis
in <machine/atomic.h> now and they're not used anywhere in our tree.
2007-11-28Don't complain about removing wired pages; this is expected to happen withMark Kettenis
ftruncate(2) on mlock(2)'ed pages.
2007-11-28g/c mfs_mountroot() and mfs_initminiroot(). We don't support root onTodd C. Miller
mfs. OK deraadt@
2007-11-28fill the va_blocksize with something a litte saner,Thordur I. Bjornsson
make stat(2) return st_blocksize thats a bit closer to reality. From NetBSD; OK art@, beck@, tedu@
2007-11-28Don't free the old idt vector if we reuse it.Mark Kettenis
ok deraadt@
2007-11-28Give UltraSPARC-IV CPUs a chance again to attach on GENERIC.Mark Kettenis
2007-11-28my brother, David Fries david at fries dot net, noticed that if you put yourTodd T. Fries
sensors in the freezer, they return negative results, making unsigned values bad to store negative numbers and then do math on. Another popular os had this same bug fixed by the same person. ok grange@
2007-11-28basic support for building an i386 kernel with the native toolchainTed Unangst
on amd64. helpful for test compiling. i have not attempted to boot such a kernel. you shouldn't either. ok deraadt
2007-11-28when we probe a port send an ata inquiry to the device and cacheDavid Gwynne
the result in the ata_port struct. use this cached inquiry data when building the replies to scsi commands rather than fetching a new copy of ata inq every time. this shrinks the code by 100 lines. it also avoids a malloc in a scsi io path, which could be issued at a time when malloc isnt guaranteed to succeed, but a real scsi io definitely should.
2007-11-28doh!Ted Unangst
2007-11-28quite a bit of simplification by removing cpu classes.Ted Unangst
also assume that 386 cpus are really unknown, and promote them to 486 instead of panic.
2007-11-28a few more places where getmicrotime is good enough. ok miodTed Unangst
2007-11-28add the device and interface class codes for USB Video Class (UVC)Robert Nagy
devices ok deraadt@
2007-11-28ctob/btoc -> ptoa/atopMartin Reindl
from Rodolfo Gouveia
2007-11-28do not check malloc return value against NULL, as M_WAITOK is usedCharles Longeau
ok oga@
2007-11-28the ccb lists protect themselves, so we dont have to check if we're atDavid Gwynne
splbio when getting and putting ata xfers.
2007-11-28When updating the timestamps on pipes, use getnanotime() instead of moreMiod Vallat
accurate but more expensive nanotime(), the loss of precision shouldn't matter. Inspired from the other *BSD which did a similar change. ok tedu@ millert@ henning@ deraadt@
2007-11-28delete the compat_09_sys_uname code hereTheo de Raadt
2007-11-28move protos to right placeTheo de Raadt
2007-11-28remove the DIRECTOK flag. the caller semantics were too weird, and it's aTed Unangst
bad idea to have functions that react unpredictably.
2007-11-28finish conversion to workq. remove list remnants, and put spl in the rightTed Unangst
places. handle the no workq case here. ok deraadt
2007-11-28syncTheo de Raadt
2007-11-28make ata controllers protect their own command lists so atascsi doesnt haveDavid Gwynne
to continually go to splbio to ensure its safe to work on them. shrinks code a little.
2007-11-28COMPAT_09 uname is only used by freebsd compat, so move it to the right placeTheo de Raadt
2007-11-28compat_25_sys_omsync is unusedTheo de Raadt
2007-11-28Use cas/casx instead of casa/casxa.Mark Kettenis
2007-11-28COMPAT_{23,25,35} should not be used directlyTheo de Raadt
2007-11-28place a comment as to why these are otherwise emptyTheo de Raadt
2007-11-28use correct data type for the pci address (bus_addr_t)Reyk Floeter
From mickey
2007-11-27Like i386 and amd64 - make the __mp_lock not spin at splhigh.Mark Kettenis
help from & ok art@
2007-11-27Missed those because they are in a weird place.Artur Grabowski