summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-15revert 1.20 now that the new allocator is used to control the number ofBrad Smith
RX buffers allocated. ok dlg@
2008-12-14MCLGETI takes an mbuf *, not an mbuf.David Gwynne
2008-12-14Allow trunk_hashmbuf() to take HW VLAN tagging into consideration.Brad Smith
ok mpf@ naddy@
2008-12-14Since trunk_hashmbuf() and thus trunk_lb_gethdr() are no longer specificBrad Smith
to the loadbalance code rename trunk_lb_gethdr() to just trunk_gethr(). ok mpf@
2008-12-14Make sure the low water mark for cluster pools isn't 0 such that networkMark Kettenis
drivers are guaranteed to make progress. We could probably set it to 1, but we set it to 2, to make sure drivers that link descriptors don't link a descriptor back to itself. ok deraadt@, dlg@
2008-12-14Switch gem(4) over to using MCLGETI when allocating mbufs for the rx ring.Mark Kettenis
help from dlg@, tested by a few, ok dlg@
2008-12-14Files under /incoming don't need flock(2)ing anymore.Jacek Masiulaniec
ok gilles@
2008-12-14O_TRUNC is redundant if O_EXCL is specified.Jacek Masiulaniec
ok gilles@
2008-12-14O_TRUNC is redundant if O_EXCL is specified.Jacek Masiulaniec
ok gilles@
2008-12-14queue_create_incoming_layout must return 0 on failure, not -1.Jacek Masiulaniec
ok gilles@
2008-12-14Disable TX_DMA writing back DDONE into TXD.Damien Bergamini
Some micro-optimizations while I'm here.
2008-12-14Implement a "machine xir" ddb command, making it possible to send anMark Kettenis
External Initiated Reset (XIR) to processors. A XIR is non-maskable and will drop us at the PROM ok prompt. This makes it possible to diagnose problems where a CPU is spinning with interrupts disabled. For now, this is only supported on machines with bbc(4).
2008-12-14o Correctly clear UGEN_ASLP in all cases.Federico G. Schwindt
o Use the timeout for isochronous transfers as well o Allow to set the timeout for both, read and write From FreeBSD. you@ ok some time ago.
2008-12-14txpower range checks should be inclusive.Jonathan Gray
From FreeBSD via mickey in pr 6024. ok damien@
2008-12-14display message is +DISPLAY; from Ingo SchwarzeJason McIntyre
ok espie
2008-12-14- properly handle RT2860_TX_RX_COHERENT interrupts.Damien Bergamini
- update ic_dtim_count and make use of the new ieee80211_notify_dtim function. - add explicit barriers. - cleanup as usual.
2008-12-14Add an ieee80211_notify_dtim() function that drivers should call afterDamien Bergamini
every DTIM in HostAP mode. Flushes all group addressed MSDUs buffered at the AP for power management.
2008-12-14Remove useless fields from template, they just serve to confuseRay Lai
users. Idea okayed by art and deraadt, feedback from jmc.
2008-12-14Give names to anonymous unions.Ray Lai
Worked on with mglocker. OK mglocker
2008-12-14regenBrad Smith
2008-12-14Add the Novatel Merlin X950D ExpressCard.Brad Smith
2008-12-13Properly restore PSTATE_IE when returning from send_softint().Mark Kettenis
Fixes "ipi_send: couldn't send ipi" panics.
2008-12-13IMSG_* namespace cleanup.Jacek Masiulaniec
ok gilles@
2008-12-13Detect alias duplicates.Jacek Masiulaniec
ok gilles@
2008-12-13Fix few parsing bugs in parse_entry, most severe of which wasJacek Masiulaniec
segv on lines consisting exclusively of whitespace. ok gilles@
2008-12-13Simplify parse_entry; streamline the code to call db->put in oneJacek Masiulaniec
place, regardless of number of preexisting aliases. Don't call db->sync; it's covered by db->close shortly before rename. ok chl@ gilles@
2008-12-13If parse_aliases fails, don't warn about syntax errors; it may failJacek Masiulaniec
for other reasons. Never exit outside main; we need to return to main to clean the temp file. Check parse_entry return code; otherwise $? == 0 even when invalid entries were found. ok gilles@
2008-12-13Use mkstemp instead of mkdtemp; also, add more X's.Jacek Masiulaniec
Do chmod before rename to eliminate short time window when aliases.db is "official" but not readable. Use PATH_ALIASESDB instead of hardcoding "/etc/mail/.." Check db->close return code. ok gilles@ henning@
2008-12-13- Correct usage text.Jacek Masiulaniec
- Drop static qualifiers. - Drop unused -d switch. - Use 0/1 exit codes instead of <sysexits.h> defines. ok gilles@
2008-12-13Another camera that works, 'Sure' mglocker@Ian Darwin
2008-12-13use the hardware general-purpose timer interrupt instead of timeout(9).Damien Bergamini
clean up the ctl_ridx mess.
2008-12-13Declare alias_parse in smtpd.h, and fix callers that pass it wrongJacek Masiulaniec
number of arguments. ok gilles@
2008-12-13clear the WCID, pairwise keys, shared keys, IV/EIV tables in NIC memoryDamien Bergamini
*after* resetting the hardware. otherwise the tables contain garbage. should fix most of the weird issues people were facing. scary.
2008-12-13;5Anvidia mcp67 ahci controller also needs special handling.Mike Belopuhov
from Marko Pecic. thanks!
2008-12-13My camcorder works now, too :-)Marcus Glocker
2008-12-13syncTheo de Raadt
2008-12-13note to everyone: nitems(pointer) is 0, not what you wantTheo de Raadt
2008-12-12__isinff and __isnanfMartynas Venckus
2008-12-12Check for zero'd spd data even if we pass the checksumJonathan Gray
and don't offer a match in this case. Deals with the qemu "TODO: Populate SPD eeprom data." tested by todd@
2008-12-12Make bgpctl priority aware.Claudio Jeker
2008-12-12Make bgpd route priority aware and while there sync in the basics to correctlyClaudio Jeker
track multipath routes. Code is mostly stolen from similar fixes to ospfd but a bit different as this kroute.c implementation is more complex because of additional task (nexthop verification for example). This change and the similar ospfd change were desperatly needed on larger complex network setups which tended to end up in situation where the kernel had a different oppinion about routing than the daemon. Now the situation should be a lot better. Tested and OK sthen@ gollo@
2008-12-12ospfd knows now priorities so let ospfctl know and print them as well.Claudio Jeker
2008-12-12Make the kroute code routing priority aware. This solves a few issues andClaudio Jeker
makes to code simpler. While the routing table is somewhat simpler the redistribution code does not allow a much more radical approach. With some additional help of Mr. Kernel and his rtsock it should be possible to rip even more code out of kroute.c. Tested and OK sthen@, gollo@
2008-12-12ifconfig(8) part to make it possible to set an interface priority.Claudio Jeker
OK deraadt@
2008-12-12Introduce a if_priority that will be added to RTP_STATIC when routes areClaudio Jeker
added without an expilict priority. This allows to specify less prefered interfaces that will only take over if the primary interface loses link. OK deraadt@
2008-12-12Make sure that incomming routing messages don't have RTP_DOWN set. MaskClaudio Jeker
the rtm_priority with RTP_MASK so that userland (e.g. arp) can issue a RTM_GET and reissue the message as RTM_DELETE.
2008-12-12fix a bug that slipped through my last commit.Damien Bergamini
2008-12-12- fix HW crypto using group keys (this should fix the "ExtIV bit not set"Damien Bergamini
logged by some WPA supplicants when connecting to a ral(4) WPA AP.) - get rid of the ugly ack_rate, rate2mcs functions (pre-compute ACKs duration for all rates at node association time.) - lot of clean up, prepare for future enhancements
2008-12-12Use the hdrlen to skip over the header and to the sockaddrs instead of theClaudio Jeker
implied sizeof(struct rt_msghdr). Makes code more robust when userland and kernel are out of sync.
2008-12-12Use rtm_hdrlen to jump over the message header and to the beginning of theClaudio Jeker
sockaddrs included in the message. This makes the code more robust when kernel and userland are out of sync. put it in deraadt@