summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-11- bsnprintf() is a wrapper to snprintf() that can be used when we handle anGilles Chehade
encoding error or a truncation the same way. This will turn many of our snprintf() checks into boolean checks.
2008-12-11Don't do radeon_cp_dispatch flip on lastclose.Owain Ainsworth
Sometimes the sarea isn't there and screws us. The intention of this call was to set the scanout buffer back to being correct. On the other hand: If we're in lastclose the xserver is shutting and thus the scanout buffer is moot. Kernel modesetting will probably revising pageflipping, but that'll be a different interface anyway. Since all lastclose does not is call radeon_do_release() just rename radeon_do_release to lastclose and nuke the old one. Uwe@ has some crashes in here occasionally, this diff fixed them for him.
2008-12-11Kill the $ARCH prefix for isa_dma_cookie. With this change, the i386 andOwain Ainsworth
amd64 isa dma code is identical save for some formatting, and a slight difference in bus_dmamem_alloc. "Die x86_!" krw@.
2008-12-11export per-interface mbuf cluster pool use statistics out to userlandTheo de Raadt
inside if_data, so that netstat(1) and systat(1) can see them ok dlg
2008-12-11a little bit of paranoiaTheo de Raadt
2008-12-11Bump size of isakmpd RSA host key up to 2048 bits to match theChristian Weisgerber
SSH2-RSA size; ok hshoexer@, no objection from miod@
2008-12-11copying local files may cause some issues, as noticed by sturm@Marc Espie
Try really hard to avoid copying a file on itself: by first checking the stat() results, and if they are not available (since some people use fucked-up stuff like AFS), rely on the file names as a last resort. This should avoid stuff getting copied from PKG_CACHE to PKG_CACHE and erasing itself in a few cases...
2008-12-11revert back to 1.4, since there's still some code that uses this; pointedMartynas Venckus
out by theo
2008-12-11reorg code so that it can be cut further.Marc Espie
discussed with jmc@ and Thomas Klausner (wiz@netbsd.org)
2008-12-11move one paragraph to a more logical position;Jason McIntyre
2008-12-11add __infinityf declaration. (only affects vax). pointed out by miod@Martynas Venckus
2008-12-11don't try to sio_close a NULL sio_hdl. stops cdio from segfaultingJacob Meuser
when /dev/audio is busy or AUDIODEVICE is not set correctly. commit it! ratchov@
2008-12-11list AC8700 in ubsa(4)Felix Kronlage
2008-12-11hook Qualcomm AC8700 modem into ubsa(4), from freebsdFelix Kronlage
discussed with yuo@ and deraadt@
2008-12-11regenFelix Kronlage
2008-12-11add device id for Qualcomm AC8700 modem, from freebsdFelix Kronlage
2008-12-11- update the list of typesJason McIntyre
- some text improvements - remember systat(1) ok otto
2008-12-11remove an unneccessary addition to SEE ALSO: all the informationJason McIntyre
is already there; ok martynas
2008-12-10convert the aggregator's AS number into host byte order whenStuart Henderson
displayed in "show rib detail". ok claudio@
2008-12-10When booting from a CD on i386/amd64, assume the root filesystemKenneth R Westerback
is on the CD rather than always asking for its location. Behaviour pointed out at OpenCON by Stephan Rickauer. Tested by Stephan. nick@ has no objections. ok deraadt@
2008-12-10That the "aliases" and "virtual" maps satisfy m_src == S_DB is checkedJacek Masiulaniec
too late, ie. at alias resolution time, and it's only a log_info. Move the check to parse.y, and make daemon die if m_src != S_DB. ok gilles@
2008-12-10Fix ohci xfers for some devices by adjusting the number of microframes toMarcus Glocker
a static value of 8. Regression tested by todd@
2008-12-10syncOwain Ainsworth
2008-12-10id for Radeon HD2600 PRO AGP; from johan.Owain Ainsworth
2008-12-10Replace m_free() with m_freem() in foo_start() to ensure that upon errorBrad Smith
the full mbuf chain is freed. ok claudio@ kettenis@
2008-12-10both x86 platforms isa bus_dma implementations handle bus_dmamap_syncOwain Ainsworth
incorrectly. The spec (manpage) states that using two PRE or two POST ops together is entirely valid, but mixing pre and post is invalid. The way this was handled before with a switch statement meant that only individual commands actually would be recognised, so move to just checking the commands indidually using "if (op & $command)". Additionally, add a DIAGNOSTIC check and panic for the mixing of pre and post operations (this is done on several other architectures already). tested by several people; thanks! ok dlg@, kettenis@, "the diff made sense" deraadt.
2008-12-10another rum; Arndt at ba-loerrach.deTheo de Raadt
2008-12-10syncTheo de Raadt
2008-12-10Macro spacing. No binary change.Marcus Glocker
2008-12-10Correctly skip the internal fd when checking the server sockets. Use PFD_MAXClaudio Jeker
to start the for loop and not 1 which was correct long long time ago. OK otto@ found by Anirban Sinha ASinha(at)zeugmasystems.com
2008-12-10no spaces allowed in the macro arguments. completely insanity!Theo de Raadt
2008-12-10use maximum value of dwMaxVideoFrameBufferSize in each vs descriptorsYojiro Uo
as the maximum frame buffer size of video(4) current logic potentially brake the device initialization (and the result of the query is not correct). ok mglocker@
2008-12-10history should mention when the driver appeared in OpenBSD.Brad Smith
2008-12-10o cannot be NULL here but use xfree() to be consistent; ok djm@Kevin Steves
2008-12-10sizeofa -> nitemsKevin Lo
ok jsg@
2008-12-10use sys/cdefs.h; pointed out by theoMartynas Venckus
2008-12-10use sys/cdefs.h; pointed out by theoMartynas Venckus
2008-12-10use sys/cdefs.hTheo de Raadt
2008-12-09syncTheo de Raadt
2008-12-09pass CPPFLAGS+= -D__STDC__ for vax, to get the right definitionsMartynas Venckus
from asm.h. discussed w/ millert@
2008-12-09add vol/ to SUBDIRSAlexandre Ratchov
2008-12-09Non soundblaster-like devices must set AUDIO_PROP_INDEPENDENTAlexandre Ratchov
flag even if playback and record are not independent; otherwise AUDIO_GETINFO ioctl may return false parameters on devices like envy(4) that don't use the same number of channels for playback and recording.
2008-12-09fix typo in error messageKevin Steves
2008-12-09sync with sudo cvs repoTodd C. Miller
2008-12-09these were not neededMartynas Venckus
2008-12-09libstdc++ (cmath) needs to handle integer arguments for the mathMartynas Venckus
functions: acos, asin, atan, atan2, cos, cosh, exp, fabs, floor, log, log10, sqrt, sin, sinh, tan, tanh fixes quite some ports tested by brad@. no objections millert@
2008-12-09also test rintlMartynas Venckus
2008-12-09update ap_config_auto.h for new libcMartynas Venckus
2008-12-09ditto frexpl and ldexplMartynas Venckus
2008-12-09alias fabsl to fabs on these archsMartynas Venckus