summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-27replace a bunch of BAR wrangling code with calls to the pciJonathan Gray
code it was originally copied from. ok kettenis@
2010-03-27At tl==0 call datafault directly instead of going through winfault. It isMark Kettenis
impossible that there is a pending register window trap that we need to fix up in this case.
2010-03-27Add support for NetMos 9865 6-port serial cards.Mark Kettenis
From Alexander Frolkin.
2010-03-27regenMark Kettenis
2010-03-27Add NetMos 9865.Mark Kettenis
2010-03-27Give cardbus the pci_chipset_tag_t from pccbb and push it out throughJonathan Gray
cardbus_attach_args so we can switch to using proper pci config space functions instead of callback based wrappers. ok oga@ krw@ kettenis@
2010-03-27Add missing directories.Matthieu Herrb
2010-03-27Remove explicit nop's in delay slots introduced in the previous commit. TheyMark Kettenis
are already inserted as part of jal/jr expansion by gas, and we don't need another one. suggested by miod@
2010-03-27Implement lazy binding on mips64. This implementation relies on having twoMark Kettenis
reserved entries in the GOT, which is a GNU extension to the 64-bit MIPS SVR4 ABI. That's fine; all existing OpenBSD/mips64 binaries have the extra slot. ok miod@, jsing@, drahn@
2010-03-27Bring back cardbus_chipset_tag_t which is in practice aJonathan Gray
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t which can be passed to the normal pci functions. Suggested by and ok kettenis@
2010-03-27correct the documentation to distinguish cache line purges fromTheo de Raadt
cache line flushes ok miod
2010-03-27Use prev_nonnote_insn() in push_frame_in_operand(); ok miod@Otto Moerbeek
2010-03-27Prevent uninitialized use of prev in replace_return_reg() and useOtto Moerbeek
prev_nonnote_insn() in push_frame_in_operand; ok miod@
2010-03-27aria(4) was here tooJacob Meuser
2010-03-27oops, manpage for aria should go tooJacob Meuser
2010-03-27Correctly initialise variable to prevent free without malloc in error path.Joel Sing
Found by clang static analyser.
2010-03-27Fix TX power per rate settings.Damien Bergamini
Found by Yao Zhao (dragonlinux at gmail dot com)
2010-03-27Fix fallout of the scsi_cmd() interface change.Miod Vallat
2010-03-27aria(4) is an audio driver, but hasn't been compatible with audio(9)Jacob Meuser
for a long time (if ever?), so send it to the Attic. "with prejudice" miod@; GENERIC reminder from kettenis@
2010-03-27Fix the pageqlock recusion on sun4m.Owain Ainsworth
In uvm_pageout() we called pmap_page_protect(VM_PROT_NONE) with the pageqlock held, when pageqlock was a mutex this caused recursion panics. The problem was that freeing the pv_entries called uvm_km_free, which needed the pageqlock itself. Fix this by changing the homegrown pool allocator to just use the normal pool functions, then change the cacheability as necessary. That I know of, this leaves m68k still to be fixed, maybe arm bootstrap (but I do not think so). Tested by NicM@ on a 4m machine. ok miod@
2010-03-27Don't leak job command in #().Nicholas Marriott
2010-03-27Add locking to trap and syscall handlers.Joel Sing
ok kettenis@ miod@
2010-03-27tweak previous; ok dtuckerJason McIntyre
2010-03-27malloc/strlcpy -> strdup. Use consistent idiom.Kenneth R Westerback
ok (as part of larger diff) blambert@ kettenis@ stsp@ zinovik@
2010-03-27replace example that uses impossible uaudio(4) mixer item names andJacob Meuser
incorrectly uses +1 to toggle an enum type control via mixerctl(1) with the configuration I am currently using, which I know works, and uses common hardware. problems noted in a patch from Vadim Zhukov; input from jmc@
2010-03-27remainer->remainder; from miodJason McIntyre
2010-03-27various improvements from Anders Langworthy, with some tweaksJason McIntyre
from krw and myself; ok deraadt krw
2010-03-27remove irrelevant man page; ok deraadtJason McIntyre
2010-03-27-a flag to insert a window after an existing one, moving other windowsNicholas Marriott
up necessary.
2010-03-27syncTheo de Raadt
2010-03-27add mode switch code for Huawei K3765; much help from & ok jsg@Otto Moerbeek
2010-03-27syncOtto Moerbeek
2010-03-27add ids for Huawei K3765; ok jsg@Otto Moerbeek
2010-03-27`b' and `c' arguments to mknod are not optional; from LEVAI DanielJason McIntyre
c_sh.c part from sobrado; ok millert guenther
2010-03-27syncTheo de Raadt
2010-03-27syncfgTheo de Raadt
2010-03-27pass -d -t to the default ``make tags'' flags.Owain Ainsworth
note that this does not affect sys (which already uses those flags) and libc (which has its own special target for them). just other uses of bsd.{prog,lib,dep}.mk. "I suppose" deraadt@, "yes, we want that" marco@ From Toni Mueller, thanks!
2010-03-27Similar fix to amd64 and i386 for isa bus_dma.Owain Ainsworth
Don't trunc_page when determining the highest address to alloc. it is not what pglistalloc expects and pmemrange will fail that allocation. For consistency, if we fail to alloc under 16meg then alloc high as assume we'll bounce (same as i386 and amd64) ok deraadt@
2010-03-27Fix isp(4) fallout from NO_CCB nuking. Seen by several.Kenneth R Westerback
ok deraadt@
2010-03-27in _bus_dmamem_map use PMAP_CANFAIL for mapping in the pages.Owain Ainsworth
bus_dmamem_map can fail for a myriad of reasons already, so panicing if pmap fails is just impolite. other archs will be forthcoming. ok krw@, art@ before lock
2010-03-27DRM for R600 and R700 chipsets.Owain Ainsworth
note, only the pcidevs for those chipsets that have been tested are enabled for now. Please contact me if you have a r600 or r700 that does not attach radeondrm. Only the 2D/Xv bits are here. I'm ambivalent about the implementation of the RADEON_CS ioctl for OpenGL since that was originally kernel-modesetting only. When we update mesa I shall think about (and test) it. Tested by quite a number. Zero bad reports. Nagged perpetually by robert@ (and probably others) for months now.
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2010-03-26Remove unnecessary ptr.lum
ok otto@
2010-03-26Add an ioctl to softraid to allow the boot block and boot loader to beJoel Sing
installed on a softraid volume. This is work in progress but can continue in tree. ok marco@
2010-03-26- merge a fix from heimdal's 2010-03-21 advisory to add more paranoidJasper Lievisse Adriaanse
checking for underruns when decrypting packets. ok beck@ "sure" deraadt@
2010-03-26Never call close(nbr->fd) when the neighbor session was fully established,Claudio Jeker
call session_close(nbr) instead since only that will do all needed cleanup. Still not prefect but at least the lde is no longer eating all CPU when a session times out. OK michele@
2010-03-26event_del() the read event when hitting a read error or when closing theClaudio Jeker
file descriptor. If not done, we will loop forever on this event. OK michele@
2010-03-26pt_add() is not allowed to fail, caller expects this behaviour.Claudio Jeker
2010-03-26Be more careful when walking the tree looking for a non-empty element,Claudio Jeker
we may actually hit the end of the tree (at least in theory).
2010-03-26sync with kristaps@ version of mandoc_char(7) in mdocml-1.9.17Ingo Schwarze
* additional predefined strings needed for Perl manuals, now also supported by mandoc(1) - but not recommended for general use because they are non-portable * remove irrelevant STANDARDS ok jmc@