summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2004-04-26Start factorizing luna88k and mvme88k common parts.Miod Vallat
For now, include files only.
2004-04-26- make the k field in struct bpf_insn unsigned, as promised in theOtto Moerbeek
manual page. - more strict bpf code validation, preventing arbitrary kernel memory read and writes. Some help from frantzen@ and canacar@; testing jmc@ markus@; ok canacar@ henning@ franzen@
2004-04-26this driver had 256 clusters for receive buffers. move to 512, to increaseTheo de Raadt
performance, if the interface is up. at boot time, allocate only 12 though ... though we note that em_stop() frees them all. perhaps some are used to talk to other parts of the engine though at runtime... tested by mcbride and beck
2004-04-26Before enqueueing the packet, copy the contents of incoming clustersRyan Thomas McBride
to the mbuf and free the cluster when it contains a small packet. ok deraadt@
2004-04-26start with minimum recieve rings. when we ifconfig up, allocate more.Theo de Raadt
this reduces mbuf clusters sitting around unused. from mcbride, fixed by me, tested by frantzen
2004-04-26hide nonstandard struct from userlandJun-ichiro itojun Hagino
2004-04-26Allocate rx buffer mbuf clusters at ifconfig time, release them when theRyan Thomas McBride
interface is configured down. FXP_NRFABUFS_MIN clusters are allocated at all times as they are used by the driver to send commands to the card. ok deraadt@
2004-04-26Howe eye wysh eye cud spel.Ryan Thomas McBride
2004-04-26Prevent biases in arc4random() from disclosing the byte order of the firewall.Ryan Thomas McBride
ok deraadt@
2004-04-26The rule_number parameter for pf_get_pool() needs to be 32 bits, not 8 -Ryan Thomas McBride
this fixes corruption of the address pools with large rulesets. This is a candidate for -stable. Reported by Zbigniew Kossowski <zk@openbsd.com.pl>, hours of braintwisting debugging by pb@
2004-04-26minor cleanupsTheo de Raadt
2004-04-26anchor refcounting. ok dhartmei@ mcbride@Cedric Berger
2004-04-25permit multiple default route. from kameJun-ichiro itojun Hagino
2004-04-25useless castsTed Unangst
2004-04-25if you don't want the parent, don't use WANTPARENT. from pedro martellettoTed Unangst
2004-04-25only use um_cred for lookups, fixes pr 745.Ted Unangst
from pedro martelletto
2004-04-25check for input queue congestion on those as well and call if_congestion whenHenning Brauer
needed; these are slightly different so that we cannot use the new IF_INPUT_ENQUEUE macro deraadt ok
2004-04-25prevent an endless loop with route-to lo0, fixes PR 3736,Daniel Hartmeier
ok pb@, henning@, markus@
2004-04-25MINCLSIZE value now back to what 4.4bsd defined. markus okJun-ichiro itojun Hagino
2004-04-25syncTheo de Raadt
2004-04-25new axe; freebsdTheo de Raadt
2004-04-25get rid of a complete state tree walk at state expire while in splnet()Philipp Buehler
ok mcbride@ henning@
2004-04-25dont splx across functionsPhilipp Buehler
pointed at by Joris Vink who was baffeled how this should work anyway ok mcbride@ henning@
2004-04-25Simplify cpu_number() - adding a shortcut depending upon the board typeMiod Vallat
actually slows things down in every case.
2004-04-25change sb_mbmax to: (sb_max/MCLBYTES) * (MSIZE+MCLBYTES); ok deraadtMarkus Friedl
CV ----------------------------------------------------------------------
2004-04-25add TCPCTL_DROP; ok deraadt, cedric, grange, ...Markus Friedl
2004-04-25Make it clear that we will give each target an openings value equal toKenneth R Westerback
the number of available requests divided by the maximum number of targets on the bus. ok marco@
2004-04-25kill unbounded string op. deraadt okJun-ichiro itojun Hagino
2004-04-25fix typos/spelling in comments, from pedro martellettoJolan Luff
2004-04-25radix tree with multipath support. from kame. deraadt okJun-ichiro itojun Hagino
user visible changes: - you can add multiple routes with same key (route add A B then route add A C) - you have to specify gateway address if there are multiple entries on the table (route delete A B, instead of route delete A) kernel change: - radix_node_head has an extra entry - rnh_deladdr takes extra argument TODO: - actually take advantage of multipath (rtalloc -> rtalloc_mpath)
2004-04-25sync 'other' in test6, too.Philipp Buehler
ok dhartmei@ mcbride@
2004-04-25Rework SCSI_POLL/INQUIRY logic to make it more readable, not least byKenneth R Westerback
fitting all the lines into 80 columns. Prodded by deraadt@. Tested & ok marco@.
2004-04-25sync with NetBSD, mostly a Lite2 merge.Brad Smith
ok itojun@
2004-04-25don't add PF_GENERATED tag to synproxy generated packets for the secondDaniel Hartmeier
handshake, so they can match rules (and create state) on another interface. ok cedric@
2004-04-25undo "oops" commit on 1.14 (radix_mpath).Jun-ichiro itojun Hagino
2004-04-25indentation fixJun-ichiro itojun Hagino
2004-04-24Add "probability xxx" rule modifier. ok deraadt@Cedric Berger
2004-04-24Insane people can't spell insane correctly.Miod Vallat
2004-04-24G/c CD_BOOT and the last related debug printf.Miod Vallat
2004-04-24Do not ignore vs_poll() return value.Miod Vallat
2004-04-24Preliminary switch to an mvme88k bus_space world. Not all drivers have beenMiod Vallat
converted yet, and they rely upon some linear mappings provided by bus_space. In order to not impact performance, almost all the bus_space accesses go through macros and inline functions. This currently restricts us to D16 and D32 access modes, which are selected at compilation time. Since there are no plans to support D8 vme devices in the future, this is acceptable for now. This makes the "len" locator for vme devices go away, and allows to simplify some code which was using the pcctwo device, and will now directly access hardware which is known to exist, rather than wait until the device is attached. While there, try to enforce more interrupt vector number checks, since these changes pointed out that dart(4) had been working correctly so far by sheer luck only.
2004-04-24be careful about option lengths. ok henning@ mcbride@Mike Frantzen
2004-04-24sync to Niels Provos' version. avoid unused variable warning in RB_NEXT()Mike Frantzen
2004-04-24Define wscons device ids for the Luna devices.Miod Vallat
2004-04-23use CMSG macros. netbsd via pedro marteletto.Ted Unangst
2004-04-23kill evil spacesMichael Shalayeff
2004-04-23properly id CX20468 and patch it too, also one more _cx codec; made possible ↵Michael Shalayeff
by fries@
2004-04-23fix some comments and sync devices in ramdiskMichael Shalayeff
2004-04-23fix a couple of %y register save/restore errorsMarco S Hyman
1) don't save %y in a register that is later used before restoring %y 2) always restore %y after calling a signal handler tested by drahn@, OK pval
2004-04-22correct arg to in6_cksum. keiichi@kameJun-ichiro itojun Hagino