summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2011-07-04assemble is a more appropriate place for the setup code than allocate.Ted Unangst
not that it works any better.
2011-07-04remove unneeded cast.David Hill
no binary change. ok jmatthew@
2011-07-04bread does nothing with its ucred argument. remove it. ok matthewTed Unangst
2011-07-04LINK_STATE cleanup. It is no longer needed to special case carp(4).Claudio Jeker
LINK_STATE_IS_UP() does the trick now for all cases. OK henning@ deraadt@
2011-07-04bread() takes daddr64_t block address, not int32_t, so use correct cast. ↵Kenneth R Westerback
bread() always takes DEV_BSIZE address units so don't bother getting the disklabel and trying to convert units to d_secsize. Nukes last references to d_secsize in ufs/. ok tedu@
2011-07-04redo the timeout and input handling. unify them and fix some bugs.Ted Unangst
we no longer retry commands, somebody else can worry about that.
2011-07-04make it look like other softraid codeTed Unangst
2011-07-04whack the collider stuff for nowTed Unangst
2011-07-04there's no way we can use just a single workq task here. one task for all ↵Ted Unangst
packets?
2011-07-04Don't make copy multicast packets for carp interfacesMarco Pfatschbacher
that are not up. OK henning.
2011-07-04rip out more effectively dead code, ryan okHenning Brauer
2011-07-04Let custom nlist.c check ELF, but use the i386 values EM_I386 andKenneth R Westerback
ELFCLASS32 since we are building a 32-bit executable. Which is why we have a custom nlist.c here. Suggested by drahn@. ok drahn@ "looks good" deraadt@
2011-07-04Allow advbase to be set to zero, which makes it possible to runMarco Pfatschbacher
with advertisement intervals of less than a second. This is needed in setups where takover times < 3s are needed. Don't use this unless you really need it. Running with too agressive timeouts might lead to false positive takeovers. OK mcbride, claudio.
2011-07-04Implement an idle timeout for the socket splicing. A new `sp_idle'Mike Belopuhov
field of the `splice' structure can be used to specify a period of inactivity after which splicing will be dissolved. ETIMEDOUT error retrieved with a SO_ERROR indicates the idle timeout expiration. With comments from and OK bluhm.
2011-07-04Replace inadvertantly removed line.Owain Ainsworth
now we can free vnodes again. ok gcc@, jetpack@, beck@, art@. (the results of this were hilarious)
2011-07-03g/c RIO traces (aka clean up after tedu :))Henning Brauer
2011-07-03g/c code to read/write the dscp field. with pf as classifier altq has noHenning Brauer
business in mucking with it and since the _CLEARDSCP flags were never possibly set that is effectively dead code
2011-07-03g/c ALTQT_ defines for disciplines we don't haveHenning Brauer
2011-07-03bring in least-states load balancing algorithmJoerg Zinke
ok mcbride@ henning@
2011-07-03In pf_setup_pdesc() the code for analysing TCP and UDP headers wasAlexander Bluhm
the same for v4 and v6. Deduplicate by moving the protocol switch after the address family switch. ok henning@ claudio@
2011-07-03IFQ_CLASSIFY is also just schrapnelHenning Brauer
2011-07-03no traces of ALTQ_DECL to be found anywhere, thus kill the #definesHenning Brauer
2011-07-03cdnr and rio disciplines are not being used or supported, clear a pathTed Unangst
for new code. ok henning
2011-07-03Tweak the dmesg output a bit. From brad@YASUOKA Masahiko
ok yasuoka@
2011-07-03Enable nvt(4).Mark Kettenis
2011-07-03Bring in millert@ thinko fix for '_' handling from r1.47 ofKenneth R Westerback
libc/gen/nlist.c.
2011-07-03avoid void * pointer arithmetic.David Hill
ok claudio@
2011-07-03Enter nvt(4), a driver for the W83795G and W83795ADG hardware monitor.Mark Kettenis
ok deraadt@, miod@
2011-07-03change void * to a caddr_tDavid Hill
no change in binary OK claudio@
2011-07-03a_sym is an integer not a pointer so check == 0, not == NULL. SomeKenneth R Westerback
off_t casts to parameters for pread(). Whitespace and comment sync. All changes made long ago in libc/gen/nlist.c. More delta reduction.
2011-07-03Add blank line to keep consistent spacing. From brad@YASUOKA Masahiko
2011-07-03Rewrite the multicast handling for OpenBSD. From brad@YASUOKA Masahiko
ok and tested yasuoka@
2011-07-03- add missing #include "bpfilter.h" on if_cnmac.YASUOKA Masahiko
- delete #include <sys/cdefs.h> because it's unnecessary. ok brad@
2011-07-03Fix boot dump on bigmem machines.Owain Ainsworth
Allocate a bouncebuffer at boot time and bounce all pages over 0xffffffff through it. ``looks right but not tested'' miod@, ok krw (who watched me test it on his monster laptop.
2011-07-03in the ironlake interrupt handler, do not do unneccesary registerTheo de Raadt
accesses. we don't need to disable the interrupt on the chip. if the interrupt isn't for us, then we should not write to lots of registers, either. ok oga, tested by lots of people in snapshots
2011-07-03ANSI-fy, de-register as was done in lib/gen/nlist.c years ago. Reduces delta toKenneth R Westerback
make differences obvious.
2011-07-03Add more useful $OpenBSD$ tag.Kenneth R Westerback
2011-07-03Add missing $OpenBSD $ tag.Kenneth R Westerback
2011-07-03ucom(4) did not understand the last-close semantics. repair that, andTheo de Raadt
add a bit more locking in the open function. originally spotted by matthew, ok matthew miod
2011-07-03Change name of pointer to partition from pl to pp, as is used everywhere ↵Kenneth R Westerback
else, No functional change.
2011-07-03reduce kernel compile time dramaticallyHenning Brauer
(you don't need to fix this file for it to compile. oups. forgotten in the last commit)
2011-07-03garbage collect unused parameter to PFLOG_PACKETHenning Brauer
i found this somewhere in my forest, I don't really remember writing it, the context indicates I did this in iceland... getting this is to make a 1000+ lines diff less painful (how do I always end up with those)
2011-07-03endodoify UVM_CNT too.Owain Ainsworth
``beat it'' tedu@ the deleteotron
2011-07-03Rip out and burn support for UVM_HIST.Owain Ainsworth
The vm hackers don't use it, don't maintain it and have to look at it all the time. About time this 800 lines of code hit /dev/null. ``never liked it'' tedu@. ariane@ was very happy when i told her i wrote this diff.
2011-07-03Do as all other direct archs do and map contig memory through the directOwain Ainsworth
map in bus_dmamem_map(). ok miod@
2011-07-03correctify NULL 0 confusionTed Unangst
2011-07-03wsdisplay should use wsdisplaypoll not ttpoll.Nicholas Marriott
ok miod deraadt
2011-07-03Fix return values of wsdisplaykqfilter and move some code so it matchesNicholas Marriott
wsdisplaypoll. ok miod deraadt
2011-07-03Cleanup vnd(4) a bit now that it only has one mode of operation andMatthew Dempsky
uses standard disk device numbering. ok deraadt@
2011-07-03Refactor the fragment handling in pf_setup_pdesc() so that AF_INETClaudio Jeker
and AF_INET6 are doing the fragment handling the same way. Makes code more readable. With and OK bluhm@