summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-09Add BCM5717/19/20C PHYs. From Brad.Mark Kettenis
2012-08-09Improve the message flows to completely isolate operations on theEric Faurot
queue backend within the queue process. The scheduler sends envelope ids to the queue process which loads the envelope and forward the request to the agent responsible for the delivery. The result is sent by the agent to the queue which updates the storage before notifying the scheduler. Bounces are created and enqueued (from the client side) by the queue process, rather than the scheduler. ok gilles@
2012-08-08call m_cluncount to account correctly for cluster chains the driverMike Belopuhov
builds upon receiving a jumbo frame.
2012-08-08remove useless definesEric Faurot
ok gilles@ chl@
2012-08-08cleanup some old debug tracesEric Faurot
ok gilles@ chl@
2012-08-08log received fd in log_imsg() if anyEric Faurot
ok gilles@ chl@
2012-08-08fix type (part from NetBSD)Alexandr Shadchin
ok miod@
2012-08-08We're not going to loop in the rxeof refilling our ring as it wouldMike Belopuhov
work against the mclgeti algorithm and besides it doesn't make any difference if [repaired and] enabled since interrupt mitigation was fixed some time ago. So remove the leftovers altogether so that nobody would be tempted to use them. ok claudio, jsg
2012-08-08remove mac68k leftoversJonathan Gray
ok miod@ mpi@ deraadt@ martin@
2012-08-08remove rx debugging codeMike Belopuhov
2012-08-08Improve the scheduler backend API.Eric Faurot
New envelopes are pushed into the scheduler through the insert() commit() rollback() transactional interface functions. Worklists are pulled from the scheduler through a single batch() interface function, which returns a list of envelope ids and the type of processing. Envelopes returned in this batch are said to be "in-flight", as opposed to "pending". They are supposed to be processed in some way, and either updated() or deleted() at some point. The schedule()/remove() functions are used to alter the internal state of "pending" envelopes to make them schedulable. The enve- lopes will be part of a worklist on the next call to batch(). Rewrite the scheduler_ramqueue backend. The initial queue loading in now done by the queue. ok gilles@
2012-08-08Do not depend upon an initialized variable in the common case; gives init(8)Miod Vallat
a chance to run...
2012-08-08Make this compile again.Miod Vallat
2012-08-08Convert from K&R to ISO function signatures.Matthew Dempsky
From Brad; no binary change on amd64.
2012-08-08Mention RFC 6106; from brad@, content ok lteo@.Ingo Schwarze
While here, use .Rs for references; ok jmc@.
2012-08-07Make all *_device_*_start() functions (e.g. ohci_device_intr_start())Kenneth R Westerback
wait for an interrupt when the bus is in polling mode. Otherwise some devices like my YE-Data USB Floppy take a short sharp trip to ddb> at 'halt -p'. Most of the functions were already doing the wait. ok miod@. With modification that printf's become DPRINTF's.
2012-08-07Fix compilation when !defined(KTRACE) by hiding the then-unused 'code'Philip Guenthe
variable Pointed out by Amit Kulkarni (amitkulz at gmail.com)
2012-08-07Implement a set of tree_* functions for storing arbitrary pointers in splayEric Faurot
trees with uint64_t keys. Also add x{m,c}alloc and xstrdup helpers. ok gilles@
2012-08-07allow to choose an alternate regress scriptEric Faurot
2012-08-07fix evpid parsing on 32bit archsEric Faurot
ok gilles@
2012-08-07Handle __syscall as syscall, since these are identical on 64-bit platforms,Miod Vallat
fixing an old n32-inherited bug in the process. Spotted during guenther@'s syscall factorization work.
2012-08-07Store the data used to generate an ICMP error message on a stackMike Belopuhov
instead of allocating a new mbuf. This is a third or fourth attempt to incorporate a change like this meaning a handful of people have lost their hair trying to make it work, namely dlg@, henning@, deraadt@, and thib@. Unfortunately the fixed version was never put back which is exceptionally unfortunate since the impact on performance is huge: it nearly doubles the forwarding performance on selected hardware in simple setups. So after being beaten in test and production environments on several architectures it's ready to be put back again. We're doing it early in the release cycle so that it will receive a good test exposure. ok derradt, henning
2012-08-07Factor out a _dl_randombuf() method from _dl_random().Matthew Dempsky
2012-08-07<sys/ktrace.h> is now pulled in via <sys/syscall_mi.h>, so drop it from herePhilip Guenthe
2012-08-07a bit of cleanup and a tx delay tweakMike Belopuhov
2012-08-07Don't include <sys/ktrace.h>; makes this file compile again.Mark Kettenis
2012-08-07don't forget to set IFF_ALLMULTI; from bradMike Belopuhov
2012-08-07Move the common bits of syscall invocation and return handling intoPhilip Guenthe
an MI file, <sys/syscall_mi.h>, correcting inconsistencies and the handling when copyin() of arguments fails. Tested on i386, amd64, sparc64, and alpha (thanks naddy@) Any issues with other platforms will be fixed in tree. header name from millert@; ok miod@
2012-08-06kill sc->promiscMike Belopuhov
2012-08-06add x540Mike Belopuhov
2012-08-06Add support for 10Gb ethernet cards based on the Intel X540 chipset.Mike Belopuhov
The code was obtained from FreeBSD and tested on the hardware kindly donated by Tony Sarendal <tony () polarcap ! org>. Thanks a lot! ok jsg
2012-08-06Adapt after recent move from pkill(1) to pgrep(1) in rc_check.Antoine Jacoutot
from robert at peichaer dot org ok jmc@
2012-08-06kill pkg(1) for good. with help from espie.Federico G. Schwindt
espie@ ok.
2012-08-05We typedef intmax_t/uintmax_t to be long long/unsigned long long,Philip Guenthe
so override gcc's default of long/unsigned long on amd64 like we do the other LP64 platforms. This lets format checking of %jd/%ju work correctly there. ok matthew@ millert@
2012-08-05Remove a self-assignment, from BradMartin Pieuchot
2012-08-05expand documentation of SUBST_CMD to explain the subpackage-dependent nitsMarc Espie
2012-08-04Fix caching of stacks allocated with the default attributes.Philip Guenthe
based on a diff from Christian Schulte (cs at schulte.it)
2012-08-04Add a test for caching of stacks with the default attributesPhilip Guenthe
2012-08-04PCI_PRODUCT_ATI_RADEON_X1250 -> PCI_PRODUCT_ATI_RADEON_X1250_{1,2}Antoine Jacoutot
prodded by matthieu@
2012-08-04Regen.Antoine Jacoutot
2012-08-040x7942 is also a Radeon Xpress 1500Antoine Jacoutot
ok matthieu@
2012-08-04Document rc_usercheck.Antoine Jacoutot
ok todd@
2012-08-04Add a new rc_usercheck variable (default to YES). When set to no, rootAntoine Jacoutot
privilege is needed to run rc_check. In effect this means /etc/rc.d/foobar check can now be run as a regular user. Discussed with robert@ during g2k12. ok todd@
2012-08-04Set rc_usercheck to NO.Antoine Jacoutot
2012-08-04MDTM and SIZE have been in RFC 3659 for over five years. Also, mention bothPascal Stumpf
RFCs in "SEE ALSO". ok jmc@
2012-08-04zap nonsense codeMarc Espie
2012-08-04Also log the file(s) we manually merged/installed as it's importantAntoine Jacoutot
information. ok sthen@
2012-08-04Factorize common warn, error and report outputs into functions.Antoine Jacoutot
Remove bogus echo -n "foobar\n", leftover from display output tests. No functional change but makes the code more readable. from robert ar peichaer dor org ok sthen@
2012-08-03enable oce(4)Mike Belopuhov
2012-08-03add oce.4Mike Belopuhov