summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-05-14Remove BOARD_ID* tests that do the same thing for every imx board.Jonathan Gray
Tested by and ok djm@
2015-05-14Stop including CFLAGS in CXXFLAGS it creates problems when mixingJonathan Gray
C and C++ when wanting to pass flags to only the C compiler. Tested in a ports bulk build by naddy and the handful of problems found were fixed by naddy, jca and pascal.
2015-05-14rework imxenet hardware address setup: if COTP doesn't provide anDamien Miller
address, check whether the firmware/bootloader has already programmed one. If all else fails, use ether_fakeaddr(); feedback and ok jsg@ (committed from Novena)
2015-05-14syncTheo de Raadt
2015-05-13If crypt(3) is called with an unknown setting, return NULL insteadAlexander Bluhm
of some undefined value. OK tedu@
2015-05-13test mbuf pointers against NULL not 0Jonathan Gray
ok krw@ miod@
2015-05-13Get rid of the last "#if NTRUNK" by overwriting trunk ports' outputMartin Pieuchot
function. ok claudio@, reyk@
2015-05-13Remove useless "bridge.h" include.Martin Pieuchot
ok miod@
2015-05-13The enqueuer should never encouter the "From " separator in its headers, asGilles Chehade
it is added by the mda. If it sees one, it means that the enqueuer was used as the mda and it needs to strip it otherwise the message will end with two delimiters later down the road. Same applies to "Return-Path". bug experienced by James Turner, confirmed by Giovanni. fix suggested by Todd Miller, diff ok eric@
2015-05-13Define END() to set ELF symbol size.Masao Uebayashi
OK miod@
2015-05-13Having the same settings on the same phy across multiple boards is justJonathan Gray
asking too much in the arm world. Translate the fec parameters from the novena dtb to set a different clock skew to the same micrel phy used on sabre lite. The novena dtb sets txd[0-3]-skew-ps to 3000, the sabre lite sets them to 0. When run through the shifting/oring process from the micrel phy driver in FreeBSD this ends up being a write of 0xffff on the novena and 0x0000 on sabre lite when writing to TX_DATA_PAD_SKEW. This change resolves the stability problems djm was seeing with imxenet on novena. ok djm@
2015-05-12To replace c0-*, add a high watermark to the pty event, and also backoffNicholas Marriott
when the any of the ttys the pane is going to write to has buffered enough data.
2015-05-12Revert rev 1.3. While that change appears to make the behaviour similar toMark Kettenis
binutils 2.15, it introduces bogus failures when inter-library dependencies are present. With the binutils 2.17 behaviour restored, --as-needed will cause linker failures when necessary inter-library dependencies are not present. This is actually a good thing as binutils 2.15 will silently produce executables that will fail at runtime in those cases. ok miod@
2015-05-12Make sure the rx ring lwm is set to at least 4. As far as we know, allMark Kettenis
hardware variants need at least 4 descriptors on the rx ring to be able to receive packets. Should fix the issue reported by Christian Schulte on bugs@. ok mikeb@, sthen@
2015-05-12Add dlclose(3) to SEE ALSOPhilip Guenther
ok millert@ jmc@ schwarze@
2015-05-12Document pthread_atfork(3)'s interaction with dlclose(3)Philip Guenther
Use Xr instead of Fn for functions documented on other manpages ok millert@ jmc@ schwarze@
2015-05-12Race less.Todd C. Miller
2015-05-12Tidy blank lines when outputting server info.Nicholas Marriott
2015-05-12remove the sc->isopen flag, as sc->flags already hold theAlexandre Ratchov
same information.
2015-05-12store byte count in a size_t and switch from uiomovei() to uiomove()Alexandre Ratchov
2015-05-12Remove unused code & definitions: midi_attach(), midi_unit_count(),Alexandre Ratchov
midi_getinfo(), midi_writebytes(). They were "used" by the sequencer interface which we removed years ago.
2015-05-12Don't hold the audio mutex when calling uiomove(), as uiomove()Alexandre Ratchov
may sleep in case of a page fault
2015-05-12Remove references to (deleted) auconv.h and mulaw.h files. FixesAlexandre Ratchov
i386 build. Found by Mark Patruck <mark at wrapped.cx>, thanks!
2015-05-12Add a session_alerts format which is a list of all the alerts in theNicholas Marriott
current session in symbolic form (something like "0!,4~,5!"). Use this in the default set-titles-string. Prompted by a request from Jan ONDREJ.
2015-05-12Add bell-action "other" to pass through bells in all windows except theNicholas Marriott
current, suggested by Jan ONDREJ.
2015-05-12Fixup potential use after free and a memory leak.Mike Belopuhov
Found by Maxime Villard <max at m00nbsd ! net> with the Brainy Code Scanner, thanks!
2015-05-12This file is only compiled when "pseudo-device bridge" is included inMartin Pieuchot
your kernel configuration, no need for a #if NBRIDGE > 0 dance.
2015-05-12MPLS also needs a definition for etherip_output(), fix build withoutMartin Pieuchot
bridge.
2015-05-12Add newly matched devices to urtwn(4) hardware list.Stefan Sperling
from Mikhail mp39590@gmail on tech@ Grammar fixes by sthen@. Made mandoc -T lint clean by me (must escape 'D1').
2015-05-12Merge various urtwn(4) fixes from FreeBSD:Stefan Sperling
Match additional devices (RTL8188CU_3, DWA123D1, DWA125D1). Fix efuse reading (fixes potential error in MAC address read from efuse). Replace some magic numbers with macros. Based on FreeBSD r270191, r273589, r281918, r281592, r282119, and r282623 via Mikhail mp39590@gmail on tech@ ok sthen@
2015-05-12Fix definition of R92C_USTIME_TSF.Stefan Sperling
from FreeBSD r282623 via Mikhail mp39590@gmail on tech@
2015-05-12regenStefan Sperling
2015-05-12usbdevs_data.hStefan Sperling
2015-05-12Add 4 additional urtwn(4) device IDs.Stefan Sperling
from FreeBSD via Mikhail mp39590@gmail on tech@
2015-05-12Drop and reacquire the kernel lock in the vfs_shutdown and "cold"Mike Belopuhov
portions of msleep and tsleep to give interrupts a chance to run on other CPUs. Tweak and OK kettenis
2015-05-12Fix an uninitialized variable access when pptp.hostname is configured.YASUOKA Masahiko
2015-05-12imxiic is known to be broken don't try attaching it on utiliteJonathan Gray
2015-05-12Raise VM_PHYSSEG_MAX to two and load an additional physical memoryJonathan Gray
segment if u-boot reports it. Needed for the utilite where u-boot reports two 1GB segments of physical memory. From Patrick Wildt in bitrig with some additional sanity checks added.
2015-05-12Put the right number of leading underscores in ___cerror and __cerror, forMiod Vallat
the sake of libpthread. Probably missed during the a.out->ELF switch, I can't believe this went unnoticed for so long.
2015-05-12Move the logit() prototype so parse.y will see it.Jonathan Gray
ok yasuoka@
2015-05-12Add missing braces.Jonathan Gray
Tested by and ok djm@
2015-05-12chflagsat() is also async-signal-safePhilip Guenther
2015-05-12The i211 does not support an external EEPROM only a OTPJonathan Gray
Internal Non-Volatile Memory (iNVM). Add support for reading words out of it instead of an EEPROM. From Patrick Wildt with some more offsets added.
2015-05-11regenJasper Lievisse Adriaanse
2015-05-11add id for virtio rngJasper Lievisse Adriaanse
ok sf@
2015-05-11Make softraid(4) compile with SR_DEBUG by fixing __kprintf__ specifiers.Martin Pelikan
ok jsing krw
2015-05-11fix a potential use-after-free in pf_state_rm_src_nodeHenning Brauer
found by jsg; ok jsg mikeb
2015-05-11explicit_bzero(3) on private data, in case of core dumps (and being a good ↵Martin Pelikan
example) ok florian jsing
2015-05-11Left the c0-* options behind in the table.Nicholas Marriott
2015-05-11Remove the c0-* options which never really worked satisfactorily. GoingNicholas Marriott
to try something else...