summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-13Extend xbridge to support shared interrupt handlers, and perform PCI-PCIMiod Vallat
bridge initialization if necessary; enable ppb on IP27 and IP30 kernels. With feedback from kettenis@; macepcibr to gain the same functionality soon.
2009-07-13zap trailing whitespace;Jason McIntyre
2009-07-13Add the neccessary glue to attach gem(4) to sbus(4) and enable gem(4) inMark Kettenis
GENERIC and SUN4M kernels. ok miod@
2009-07-13Add a somewhat minimal bus_dma(9) implementation. Only fully implemented forMark Kettenis
the sun4m iommu. Bits and pieces from NetBSD, with some additional tweaks and a bus_dmamap_load_mbuf() implementation from myself. ok miod@
2009-07-13Get rid of the token bucket filter.Michele Marchetto
Traffic shaping code should not be inside routing code. If you want to rate-limit use altq instead. ok claudio@ henning@ dlg@
2009-07-13Token bucket filter has been killed.Michele Marchetto
ok claudio@ henning@ dlg@
2009-07-13Get rid of the multipath code, as it is not needed.Michele Marchetto
ok claudio@ laurent@
2009-07-13If there are no downstream members for a particular prefix, send a pruneMichele Marchetto
upstream. ok claudio@
2009-07-13Expand leading tildes in arguments, from Tiage Cunha.Nicholas Marriott
2009-07-13copy-mode and scroll-mode have a -u flag missing from usage, add it.Nicholas Marriott
2009-07-13Tidy up and improve target (-t) argument parsing:Nicholas Marriott
- move the code back into cmd.c and merge with the existing functions where possible; - accept "-tttyp0" as well as "-t/dev/ttyp0" for clients; - when looking up session names, try an exact match first, and if that fails look for it as an fnmatch pattern and then as the start of a name - if more that one session matches an error is given; so if there is one session called "mysession", -tmysession, -tmysess, -tmysess* are equivalent but if there is also "mysession2", the last two are errors; - similarly for windows, if the argument is not a valid index or exact window name match, try it against the window names as an fnmatch pattern and a prefix.
2009-07-13Do the same rdomain checking in sppp as we do in the Ethernet case.Claudio Jeker
Encapsulated pppoe packets are moved into the rdomain of the physical interface because it is possible that a pppoe(4) interface is in a different rdomain then the physical interface. OK reyk@
2009-07-13clarify the last entry in BUGS somewhat, since not all mp machinesJason McIntyre
will have more than one temperature sensor; ok tedu
2009-07-13Make the callers of nfs_request() responsible for freeing the reply mbuf,Thordur I. Bjornsson
if the reply is an error and retire the NFS_RETERR hack. For NFSv3 mounts the flag was set and reply mbuf not freed to allow the callers to handle the post-op attributes, or just free the mbuf for NFSv2. Tested by myself and jasper@ on various arch's. OK blambert@.
2009-07-13dont initialise ifp->if_snd.ifq_maxlen, and then follow it byDavid Gwynne
IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen). the first was deprecated by the use of IFQ_SET_MAXLEN.
2009-07-13make the send queue one slot long. this forces packets off the virtualDavid Gwynne
interfaces down to the queue on the physical interface immediately. this avoids having the tx mitigation code wasting cpu time dicking around with simply shuffling packets off virtual interface queues and lets it do its job of ammortising the cost of calling a real interfaces start routine. it also prevents an artificial inflation of the physical interfaces queue length where packets could hide on the virtual interfaces queues during softnet before being dumped en masse onto the hardware. this will smooth out the rate at which packets are submitted to the hardware. kjc@ says this has no impact on altq. ya henning@
2009-07-13Support "alternate screen" mode (terminfo smcup/rmcup) typically used by fullNicholas Marriott
screen interactive programs to preserve the screen contents. When activated, it saves a copy of the visible grid and disables scrolling into and resizing out of the history; when deactivated the visible data is restored and the history reenabled.
2009-07-13syncMiod Vallat
2009-07-13fix a trivial pasto that crept into 1.7.23; also submitted upstreamIngo Schwarze
2009-07-13now in sync with release 1.7.24Ingo Schwarze
2009-07-13sync to 1.7.24: mdoc_nwarn/mdoc_nerr got mixed up;Ingo Schwarze
fix from joerg at netbsd via kristaps@
2009-07-13sync to 1.7.24: In the .Nd line, \(em is typographically more sound than \- ,Ingo Schwarze
so that's what e.g. NetBSD and FreeBSD do. However, for *now*, we want to stick with the exact behaviour of the in-tree groff in OpenBSD. ok jmc@
2009-07-13sync to 1.7.24: support \(hy for groff compatibilityIngo Schwarze
(even though it's useless, unescaped "-" is just the same)
2009-07-12Missed this declaration in key bindings change. Whoops.Nicholas Marriott
2009-07-12Document the -k flag to new-window.Nicholas Marriott
2009-07-12sync to 1.7.24: remove long-fixed FIXMEIngo Schwarze
2009-07-12sync to 1.7.24: support .St -p1003.1i-95Ingo Schwarze
from joerg at netbsd via kristaps@
2009-07-12sync to 1.7.24: make .In handling more similar to new groffIngo Schwarze
2009-07-12now in sync with release 1.7.23Ingo Schwarze
2009-07-12sync to 1.7.23: Fewer knobs: provide -Wall -Werror but not -Wsyntax -Wcompat.Ingo Schwarze
The simplification of the internal code has already been done before, this is just the user interface adjustment.
2009-07-12sync to 1.7.23: pass warning code to mdoc_pwarn() instead of warning messageIngo Schwarze
define additional warning macro mdoc_nwarn() remove obsolete warning functions mdoc_warn(), pwarn(), vwarn(), nwarn() remove various now unused "enum mdoc_warn" and "enum mwarn"
2009-07-12Assert copyright.Joel Sing
suggested by and ok marco@
2009-07-12Fix rebuild percentage so that it ranges from 0-99% rather than 1-100%.Joel Sing
ok marco@
2009-07-12sync to 1.7.23: pass error code to mdoc_perr() instead of error stringIngo Schwarze
and use the so improved mdoc_nerr() at many places; get rid of now unused static functions perr()
2009-07-12remove a semicolon at the end of an if statement, alreadyJonathan Gray
removed in upstream gdb sources. ok kettenis@
2009-07-12Accept numeric UIDs as well as usernames like pgrep etc.Nicholas Marriott
ok millert
2009-07-12Don't attach when the PROM didn't give us an interrupt. Fix printed messagesMark Kettenis
in error paths while I'm there. Eliminate a fairly useless local variable as well. ok miod@
2009-07-12Update the screen entries to bring them into line with ncurses 5.7.Nicholas Marriott
ok millert sthen
2009-07-12sync to 1.7.23: pass error code to mdoc_nerr() instead of error stringIngo Schwarze
and use the so improved mdoc_nerr() at many places
2009-07-12sync to 1.7.23: unify the various "enum merr" into libman.h and libmdoc.h,Ingo Schwarze
use it as a new argument to mdoc_err(), the same way as for for man_err(), and use string tables instead of switch statements to select error messages
2009-07-12Add protection against multiple inclusion.Mark Kettenis
ok miod@
2009-07-12Enable gem@sbus.Mark Kettenis
2009-07-12sync to 1.7.23: third step to get rid of enum mdoc_warn:Ingo Schwarze
mdoc_verr is not using enum mdoc_warn, so use it at a few more places
2009-07-12fwrite() should also return 0 if either size or nmemb are 0.Todd C. Miller
Adapted from FreeBSD. OK deraadt@
2009-07-12sync to 1.7.23: second step to get rid of enum mdoc_warn:Ingo Schwarze
remove type from mdoc_vwarn arguments, and use this function where apropriate
2009-07-12sync to 1.7.23: first step to get rid of enum mdoc_warn:Ingo Schwarze
unify manwarn() and mdocwarn() into mwarn()
2009-07-12In a error case in malo_init (e.g. can't load the firmware),Marcus Glocker
always call malo_stop which removes the previously registered interrupt handler from the cardbus interrupt handler chain. Otherwise, since malo_init gets called twice in a error case, our interrupt handler got registered twice and on the next device detach, just the last registered interrupt handler got removed, which leaves one left. That caused a kernel page fault trap as soon our "zombie" interrupt handler got called. Fix a typo while here.
2009-07-12don't cast lvalue, no binary change.Jonathan Gray
2009-07-12don't cast lvalues, no binary change.Jonathan Gray
ok millert@ gilles@ sthen@
2009-07-12Creating a key binding which replaces itself (such as "bind x bind x lsw")Nicholas Marriott
frees the command list bound to the key while it is still being executed, leading to a use after free. To prevent this, create a dead keys list and defer freeing replaced or removed key bindings until the main loop when the key binding will have finished executing. Found by Johan Friis when creating a key binding to reload his configuration file.