summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-06-25add a pf_tagname field to ifbrlreq and a pf_tag field to ifbrlnode.Henning Brauer
on bridge rule load translate tagnames to pf tags using pf_tagname2tag etc if packets match a bridge filter rule tag them using pf_tag_packet() with the given tag help dhartmei@ ok deraadt@ jason@ dhartmei@
2003-06-25a bit whitespace/tab KNF while I'm hereHenning Brauer
2003-06-25support Moxa C104HHenning Brauer
from Raul Aldaz <raul.aldaz at grupocarreras.com> with minor polishing by me, thanks!
2003-06-25regenHenning Brauer
2003-06-25Moxa C104HHenning Brauer
2003-06-25Avoid a divide by zero byKenneth R Westerback
1) Ensuring that both sd_scsi.c and sd_atapi.c report a device as offline when its disksize cannot be determined. 2) Ensuring blksize is always non-zero, with a default value of 512. 3) Eliminating a couple of unneeded 'sectors' variables, which makes the code easier for me to read if nothing else. The bug was introduced when sd_atapi.c was changed to allow 'incomplete' implementations to be reported as online. REALLY incomplete implementations (i.e. not even the disksize can be determined) would be reported online with a blksize of zero. Also fix a couple of knf nits in Mickey's last commit, and add another check for an rpm of 0. ok (pre-Mickey diffs) tdeval@ marc@ frantzen@
2003-06-25fix _set_ functions as found while debugging an@stpMichael Shalayeff
2003-06-24... and it must compile, too. Doh.Miod Vallat
2003-06-24io_alloc must provide working bus_space tag and handles...Miod Vallat
2003-06-24a.out emulation for dynamic binaries: intercept the right system callsMarc Espie
so that they look in /emul/a.out first. This allows a.out's ld.so to find its own libraries without interfering with ELF at all. Many comments from various people. okay deraadt@
2003-06-24try to devise drive's rpm and default to 3600 should we fail miserably.Michael Shalayeff
derived from pr2815 from Marco Peereboom krw@ deraadt@ ok
2003-06-24Use the common Power9000 definitions.Miod Vallat
2003-06-24Add a "where" argument to the sparc64 interrupt code. This lets usHenric Jungheim
associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@
2003-06-24Revert the addition of the blanking code - it will corrupt displays after longMiod Vallat
blanking periods...
2003-06-24For now depend on the gccism __CHAR_UNSIGNED__ to define if we have (un)signedDale Rahn
chars. Fixes other defines if -fsigned-chars is specified. ok deraadt.
2003-06-24in the ipv6 case, allow route-to to route to link-local addressesHenning Brauer
from KOZUKA Masahiro <ma-kun@kozuka.jp> with a minor adjustment from itojun ok itojun@ dhartmei@
2003-06-24KNFHenning Brauer
2003-06-24recover code that requires exact match on rtm_change/lock (lost in netbsd 1.16).Jun-ichiro itojun Hagino
without it "route change X" would change less-specific route by mistake. reported by jinmei@kame, markus ok
2003-06-24remove unneeded checks of accept_rtadv. from kameJun-ichiro itojun Hagino
2003-06-24* kame/sys/netinet6/nd6.c (nd6_rtrequest): changed a condition toJun-ichiro itojun Hagino
decide whether to create an empty llinfo stricter so that a user can manually change the link-layer address of an existing neighbor cache. Pointed out by: KIU Shueng Chuan from kame
2003-06-24use time.tv_sec directly, rather than having time_second (freebsd NIH).Jun-ichiro itojun Hagino
2003-06-24clear ln_hold earlier. from kameJun-ichiro itojun Hagino
2003-06-23bus_space_*_raw*_1() do not exist; drahn@ okMichael Shalayeff
2003-06-23Remove strcat() and strcpy() prototypes since we no longer have thoseTodd C. Miller
functions in kernel-land. Noticed by Jim Rees; OK deraadt@
2003-06-23*_raw_*_1() functions do not existMichael Shalayeff
2003-06-23no need to check nintr late in the code... it's verified pretty earlyJason Wright
2003-06-23Properly account for fast interrupt vectors; this was accidentally brokenMiod Vallat
since r1.10
2003-06-23strange things happen if we ack latched lasi ints on older machinesMichael Shalayeff
2003-06-23and we have a copyright (TNF)Ted Unangst
2003-06-23no need for an explicit <machine/intr.h> inclusionMichael Shalayeff
2003-06-23Remove some debugging cruft.Jason Wright
2003-06-23Attachment glue for stp and tslot drivers, and add them, as well as wi0,Miod Vallat
to the appropriate configuration files.
2003-06-23Driver for the pcmcia slots in the Tadpole SPARCbook machines.Miod Vallat
Currently only tested with wi(4), and there are still some sporadic "device timeout" issues left - your mileage may vary.
2003-06-23Split the stp driver into its core, and md attachment routines, and provideMiod Vallat
attachment routines for sparc and sparc64.
2003-06-23Add a very straightforward subset of the bus_space API, where all functionsMiod Vallat
expand to very simple inlines. This will be used by some code very shortly.
2003-06-23Handle SBus cards with an "interrupts" property but no "intr" property.Miod Vallat
Adapted from NetBSD in a quite ugly way, but it works... ok deraadt@
2003-06-23install host route for p2p interface even if there's connected net routeJun-ichiro itojun Hagino
by broadcast interface. NetBSD PR 21903. markus ok
2003-06-23syncTheo de Raadt
2003-06-23fix nfds type; tedu marc okTheo de Raadt
2003-06-23Don't remove anchor too early in table code, it makes PF use freed memory.Cedric Berger
This might just be a temporary fix, we're still looking for a better one. ok dhartmei@
2003-06-23Fix NAP/DOZE sleeping on powerpc. also on newer 745x machines use NAP notDale Rahn
DOZE, DOZE is not valid on these processors. Improves battery life on 12" PBG4 from 3 hours to 4 hours. tested by tdeval@
2003-06-22syncTheo de Raadt
2003-06-22extra headersTheo de Raadt
2003-06-21count packets and bidirectionally on state entries, allowing for fine-grainedDamien Miller
traffic reporting w/ pfsync; ok dhartmei@ Note: ABI change (new fields in struct pf_state), requires a rebuild of pfctl and tcpdump.
2003-06-21add exec/fork/exit hooks per process for compat emulations.Ted Unangst
use them to correctly emulate linux brk. update to TNF copyright in linux_exec.c. from netbsd, mostly from a diff by Kurt Miller in pr3318. this should fix java. no regressions in testing by kurt and sturm@. be prepared for "proc size mismatch" -- recompile ps and friends. ok deraadt@
2003-06-20Screen blanker routine for Creator, adapted from the X11 sunffb driver code.Miod Vallat
Tested by jason@ and I.
2003-06-20Add MSS support to the synproxy. The client's MSS is sent to the server,Daniel Hartmeier
the server's MSS is guessed based on the routing table and interface MTU. Fine patch entirely from Krists Krilovs <pow@pow.za.net>, ok frantzen@ Note: ABI change (new field in struct pf_state), requires a pfctl rebuild (and tcpdump for pfsync).
2003-06-20Extend 'BAD ICMP' debug message, include icmp type/code and outer IP headerDaniel Hartmeier
addresses. ok mcbride@, cedric@
2003-06-19ack all unmasked cpu interrupts here to cancel effect of device probing ↵Michael Shalayeff
activities
2003-06-18Do not panic on no memory available when allocating bufs, pass ENOBUFSHenning Brauer
to userland instead. fixes PRs 2235, 2236 and 2640 from Otto Moerbeek <otto@drijf.net> ok frantzen@, tedu@, deraadt@