summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-01Unbreak "make includes" with an empty /usr/include by creating the 'objc'Martin Pieuchot
directory if it doesn't exist. ok sthen@, espie@
2013-07-01Properly substitute paths in the info file like it was done with the manAntoine Jacoutot
pages. ok espie@
2013-07-01Use the LIST_FOREACH() macro when looping over advertising routers.Alexander Bluhm
No binary change. OK mikeb@ mpi@
2013-07-01When an I/O error occurs on a softraid chunk, only take it offline if theJoel Sing
discipline supports redundancy. In the non-redundant case, there is little to gain my failing the chunk, in fact it just makes any form of data recovery significantly harder. ok krw@ todd@
2013-07-01The reverse parameter of in_pcblookup_listen() is a boolean and notAlexander Bluhm
a flag. Rename the variable inpl_flags in tcp_input() to inpl_reverse like in udp_input(). No binary change. OK mikeb@
2013-07-01Add the necessary -I options to use the libedit readline compatibilty headersMark Kettenis
instead of the GNU versions. While there, use CPPFLAGS to add -I options as they are preprocessor options. ok mikeb@, mpi@
2013-07-01Make the acpi global lock functions actually work. Luckily these functionsMark Kettenis
were still unused. ok millert@
2013-07-01Link sqlite3(1) against libedit and add an empty history.h header forMartin Pieuchot
compatibility with GNU realine. ok mikeb@, sthen@, espie@
2013-07-01Make the acpi global lock functions actually work. Luckily these functionsMark Kettenis
were still unused. ok millert@
2013-07-01Remove vaddr_t casts in bktr_mmap().Brad Smith
Pointed out by LLVM. bktr_os.c:478:22: error: comparison of unsigned expression < 0 is always false ok krw@ kettenis@
2013-07-01update currency exchange rates;Jason McIntyre
2013-07-01Within ns_to_timeval() change the rem field type from unsigned to signed.Brad Smith
Pointed out by LLVM. drm_irq.c:154:10: error: comparison of unsigned expression < 0 is always false kettenis@ says it should be signed and this is what the equivalent Linux code does. ok jsg@
2013-07-01Pass all Kerberos man pages to a sed substitution to fix paths so thatAntoine Jacoutot
they match hier(7). e.g. /etc/krb5.conf versus /etc/kerberosV/krb5.conf help from espie@ ok espie@ robert@
2013-07-01update list of locales after adding Turkish.Federico G. Schwindt
requested and ok stsp@
2013-07-01missing id tag.Federico G. Schwindt
2013-07-01Add Turkish. From FreeBSD.Federico G. Schwindt
stsp@ ok.
2013-06-30Fix non-traditional cpp mode for real.Miod Vallat
2013-06-30Shortly run at ipl 1 in cpu_idle_cycle(), to let SIMH recognize the systemMiod Vallat
is idle; adapted from NetBSD
2013-06-30Add a luna88k-specific function to initialize the instruction cmmuKenji Aoyama
SAPR register. On luna88k, secondary processors are not disabled while the kernel is initializing. They are running an infinite loop in locore.S:secondary_init on non-MULTIPROCESSOR kernel. Then, after initializing the CMMUs tied to the currently-running processor, we turn on the instruction cache of other processors to make them happier. As a bonus, on non-MULTIPROCESSOR kernel, the power switch LED of luna88k is blinking green and orange again. According to the hardware manual, it indicates processors' cache hit status. suggested and ok miod@
2013-06-30Add rgephy(4).Brad Smith
2013-06-29Remove unsigned comparison >= 0.Brad Smith
Pointed out by LLVM. ok matthew@ kettenis@
2013-06-29do not use Sx for sections outwith the man page;Jason McIntyre
2013-06-29Minor fixes to let this build with gcc 3.Miod Vallat
2013-06-29Turn mfpr() and mtpr() into inline functions.Miod Vallat
2013-06-29Pass -D_LOCORE when building .S files.Miod Vallat
2013-06-29do not use Sx for sections outwith the page;Jason McIntyre
man4 still to go...
2013-06-28syncTodd T. Fries
2013-06-28Add support for write-only framebuffers. This makes the code that copiesMark Kettenis
rows and columns redraw the destination area instead of reading pixel values from the framebuffer. This can be a considerable performance win. Only works together with RI_VCONS. ok miod@
2013-06-28Document RI_VCONS.Mark Kettenis
2013-06-28Fix unitialized variable; Maxime Villard.Miod Vallat
Interestingly enough, gcc did not warn about this because the register allocator had optimized the uninitialized `eva' local into using the same register as the initialized `va' local. Therefore it had been initialized. *facepalm*
2013-06-28send proper z value to elantech_send_input in previous v4 commitjoshua stein
pointed out by Owain G. Ainsworth
2013-06-28Uninitialized variable; Maxime VillardMiod Vallat
2013-06-28Uninitialized variable; Maxime VillardMiod Vallat
2013-06-28Turns out that BGE_STATFLAG_UPDATED bit in the status block doesn't getMike Belopuhov
properly updated by the newer hardware (seen in the TX completion case). This leads to very poor transmit performance in the beginning of a TCP connection. Linux and FreeBSD don't rely on BGE_STATFLAG_UPDATED bit since they enable MSI and tagged status for 5717+. Doing the same does indeed fix an issue. Change was tested by David Imhoff on 5719, 5720 and 5721/5750, Hrvoje Popovski on 5704 B0, sthen@ on 5723/5784, benno@ on 5704 A3, and me on 5719, 5720 adn 5714/5715. No objections from kettenis@ and dlg@.
2013-06-28Rewrite the media / link state handling and have itBrad Smith
handled within sis_miibus_statchg() instead of calling sis_init(). Based on the FreeBSD sis(4) driver. ok mikeb@ sthen@
2013-06-27do not use Sx for sections outwith the man page - ingo informs me thatJason McIntyre
stuff like html will render with broken links; issue reported by Eric S. Raymond, via djm
2013-06-27Parse for the closing delimiter `\}' for conditionalsIngo Schwarze
even when the conditional evaluated to false. While here, reshuffle the code to reduce indentation and make it more readable; that way, we can even trim down the comments because it becomes obvious what the code does. Found in zipinfo(1) - thanks to espie@ and naddy@ for making me look at that manual page.
2013-06-27B_WANTED is set when we want a B_BUSY buffer - Therefore we should alwaysBob Beck
check and awaken B_WANTED sleepers when clearing B_BUSY. ok guenther@
2013-06-26Avoid mangling argv and environment variables.Jeremie Courreges-Anglas
ok schwarze@ sthen@
2013-06-26Since interrupts at IPL_AUDIO no longer grab the kernel lock, and nobodyMark Kettenis
is supposed to establish interrupts at IPL_VM, we only need to "flatten" mutex ipls up until IPL_TTY. Add an assertion to enforce that IPL_AUDIO interrupts are establish with the IPL_MPSAFE flag set. Should improve latency of audio interrupts a tiny bit. ok matthew@
2013-06-26Remove some lies in comments.Mark Kettenis
2013-06-26put the cksum diff back, of course with the bug fixed where we couldHenning Brauer
under some circumstances repair broken checksums on the way. ok ryan naddy mikeb . redo most of the protocol (tcp/udp/...) checksum handling -assume we have hardware checksum offloading. stop mucking with the checksum in most of the stack -stop checksum mucking in pf, just set a "needs checksumming" flag if needed -in all output pathes, very late, if we figure out the outbound interface doesn't have hw cksum offloading, do the cksum in software. this especially makes the bridge path behave like a regular output path -little special casing for bridge still required until the broadcast path loses its disgusting shortcut hacks, but at least it's in one place now and not all over the stack in6_proto_cksum_out mostly written by krw@ started at k2k11 in iceland more than 1.5 years ago - yes it took that long, this stuff is everything but easy. this happens to fix the infamous pf rdr bug that made us turn off proto cksum offloading on almost all interface drivers.
2013-06-26Rudimentary counter fix for tables used in match rules.Bret Lambert
Fixes an issue seen by reyk@ ok henning@ reyk@
2013-06-26Flash the LEDs only if the output report size is non null.Martin Pieuchot
This prevent some Logitech Mice, at least G500 and G9x, that contain various HID devices including a keyboard without LEDs to keep disconnecting right after being attached. Problem reported by abieber@ and Damien Couderc, ok miod@
2013-06-26paragraph still mentions an interface name when the example below no longerGilles Chehade
does, reported by Tyler Morgan and Scott Vanderbilt ok jmc@
2013-06-25nmask and omask only used on ELF. Noted by todd@Philip Guenther
2013-06-25allow kernel to compile with MALLOC_DEBUG.syl
ok miod@
2013-06-25zap trailing whitespace;Jason McIntyre
2013-06-25Since the "better kmem pointer hiding" commit, procmap does not workDavid Coppa
anymore for regular users. So remove the setgid kmem for the time being (until tedu@ fixes it). ok tedu@
2013-06-25Do not dereference sc before checking if it exists, pointed by otto@.Martin Pieuchot