summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-04-01Make setrlimit() return EINVAL if rlim_cur > rlim_max, per POSIX.Philip Guenther
Use limfree() instead of decrementing the reference counter directly. ok kettenis@
2013-03-31Put parens about negative #define values.Philip Guenther
Hide struct loadavg as non-standard. <sys/cdefs.h> is already pulled in via <sys/time.h>, so don't do it again. ok deraadt@
2013-03-31try to avoid pulling in pte.h and other more crazy things. Checked againstTheo de Raadt
the things that libkvm needs.
2013-03-31do not need machine/cpu.h directlyTheo de Raadt
2013-03-31NBPG and PGSHIFT are now available directly from cpp due to param.hTheo de Raadt
2013-03-31do not need machine/cpu.h directlyTheo de Raadt
2013-03-31Use the discipline name instead of the product string when reporting theJoel Sing
attachment.
2013-03-31Use consistent error handling when validating the number of chunksJoel Sing
provided.
2013-03-31Resort to I2C bit-banging on the SDVO port like Linux does. Using GMBUS simplyMark Kettenis
doesn't work reliably. On some machines you can talk to the SDVO chip, but not to the DDC channel associated with it. On others ou can't even reliably communicate with the SDVO chip. Might make all sorts of digital video ports (DVI, HDMI) work. Some systems need further changes to adjust timings in the I2C bit-banging code.
2013-03-31More runtime value initialisation functions.Joel Sing
2013-03-31Unbreak the build on amd64 by making sure that inteldrm pulls in the genericMark Kettenis
i2c bit-banging code. Requires us to move around the i2c_bitbang define. Also move the onewire_bitbang define to be close to i2c_bitbang since they are similar. ok jsing@
2013-03-31Add bit banging support.Mark Kettenis
2013-03-31The return value of sd_free_resources() is never checked and all of theJoel Sing
implementations only ever returned zero. Change the return value from int to void instead of pretending it might mean something.
2013-03-31Fix compilation with debug.Joel Sing
2013-03-31The call to in_pcballoc() in user request attach was handled inAlexander Bluhm
three different ways. Use the same code in udp_usrreq() and rip_usrreq() and rip6_usrreq(). This also fixes a pcb and socket leak in udp_usrreq() in case soreserve() fails. Put an splsoftassert() into in_pcballoc() for safety. OK mpi@
2013-03-31Provide default resource allocation and free functions. Convert allJoel Sing
disciplines except for AOE and CRYPTO, which require custom handlers.
2013-03-31Pull the initialisation of runtime values out into a separate initJoel Sing
function, rather than having it spread across create/assemble/alloc. Also handle strip size errors appropriately, rather than failing silently. ok krw@
2013-03-31Let the DDC "proxy" functions call the high-level I2C functions insteadMark Kettenis
of calling the controller functions pointers directly. The upcoming bit banging implementation will not provide the (*ic_exec)() function. Also return a proper (positive) error code if bus switching fails
2013-03-31Do not transfer diverted packets into IPsec processing. They shouldAlexander Bluhm
reach the socket that the user has specified in pf.conf. OK reyk@
2013-03-31replace pool debug magic with shared mem poison codeTed Unangst
ok deraadt
2013-03-30Fix i2c_algo_dp_aux_exec() such that it handles all transactions needed byMark Kettenis
our i2c framework. Unbreaks EDID fetching over displayport. ok jsg@
2013-03-30Two fixes to intel_sdvo_write_cmd():Mark Kettenis
- Allocate a large enugh buffer to store messages. - Make sure we return true if we sucessfully transferred the command. Makes it possible to actually talk to the SDVO chip on the other end.
2013-03-30Provide wrappers for scsi_io_get() and scsi_io_put(), that also includeJoel Sing
the sd_sync check/wakeup. Remove some unnecessary NULL checks whilst here. ok krw@
2013-03-30If the ws_{get|set}_param hooks are set, use those for brightness controlMark Kettenis
instead of poking the hardware directly. Prevents some funny interaction between using the brightness keys and wsconsctl(8) on the Dell XPS M1330. Changing the brightness behind ACPI's back is apparently not such a good idea.
2013-03-30Fix intel gmbus i2c code. Not all transactions were handled correctly, andMark Kettenis
on top of that, various iic_exec(9) calls were incorrect. Doesn't seem to handle SDVO yet though.
2013-03-30Restrict protocol numbers for raw sockets to the range from 0 to 255.Alexander Bluhm
OK deraadt@ guenther@
2013-03-30Remove debug printf that causes problems with framebuffer acceleration whenMark Kettenis
turned on. Linux doesn't have it anyway. ok jsg@
2013-03-30Back out previous; this needs more thought.Mark Kettenis
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-30enable com2. if it works on i386, we think it will work here.Ted Unangst
ok deraadt
2013-03-30vrele() is a tricky beast. it can sleep if the refcount hits zero,Ted Unangst
leaving us with a free type function that isn't atomic. deal with this by erasing any reachable pointers to the vnode first, then free it. ok deraadt guenther
2013-03-30go back to the old method of execbuffer pinningJonathan Gray
should fix problems noticed by Ralf Horstmann and bluhm@
2013-03-30Return ENOTDIR if an *at() syscall is passed a relative path and aPhilip Guenther
fd to resolve against that isn't a directory ok matthew@
2013-03-30Provide a default discipline interrupt handling function and migrate all ofJoel Sing
the disciplines that now have the same interrupt code. ok krw@
2013-03-30Add a function to read the ARM MPCore base address. This let's usPatrick Wildt
dynamically determine where e.g. the interrupt controller is. ok bmercer@
2013-03-30Remove duplicate prototypes.Patrick Wildt
2013-03-29Properly release ccbs when restarting a work unit.Joel Sing
2013-03-29Declare struct pf_state_key in the mbuf and in_pcb header files toAlexander Bluhm
avoid ugly casts. OK krw@ tedu@
2013-03-29Convert RAID 4/5/6 to new ccb completion code.Joel Sing
2013-03-29Replace hand-crafted loops in if.c with the FOREACH macro.Alexander Bluhm
OK tedu@ claudio@
2013-03-29Decouple wakeups on work unit completion from the type of I/O beingJoel Sing
performed. ok krw@
2013-03-29sd_wu_pending is only decremented when scsi_done() or scsi_io_put() areJoel Sing
called. As a result, factor out the the sd_sync check/wakeup code and move it to after the scsi_done() call in sr_scsi_done(). Perform the same sd_sync check/wakeup after scsi_io_put() calls (including the addition of some that were previously missed). ok krw@
2013-03-29Fix building on the RAMDISK media. This was exposed by SMALL_KERNEL.Brad Smith
ok deraadt@
2013-03-29reduce the diff to linux in i915_gem_get/set_tilingJonathan Gray
2013-03-29put urtwn in big ramdisks so I can use it for upgradesTed Unangst
2013-03-29release the i2c bus in the error paths of fetching an edidJonathan Gray
2013-03-29remove some of the unused fields from rndstats and stop printing zeroes.Ted Unangst
print labels before stats so people can tell what's what.
2013-03-28as DRM_LOG_KMS is called with partial lines make it a simple printfJonathan Gray
2013-03-28add support for relaxed deltasJonathan Gray
2013-03-28code that calls timeout functions should include timeout.hTed Unangst
slipped by on i386, but the zaurus doesn't automagically pick it up. spotted by patrick