summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-12-31Split scrub rules out from the filter rules in the kernel.Ryan Thomas McBride
Precursor to removing rule.action from skip steps. Also a couple of other small fixes: - s/PF_RULESET_RULE/PF_RULESET_FILTER/ - replacement of 4 with PF_RULESET_MAX in pfvar.h struct ruleset { - error handling in ioctl of an invalid value in rule.action - counting evaluations and matching packets for scrub rules ok henning@ dhartmei@
2002-12-31amiga and sun3 turned out to not be y2k+3 compliant here. Remove them, asMiod Vallat
well as the few userland tools which were only used on these platforms.
2002-12-31Prepare for the removal of amiga and sun3 platforms from the tree.Miod Vallat
There has not been enough activity and interest towards these platform to keep them lying in the tree.
2002-12-31sha1.c is needed by pf.Matthieu Herrb
ok fgs@
2002-12-31+ NFSCLIENTTheo de Raadt
2002-12-31don't overrun user-supplied buffer. from jinmei@kame, deraadt okJun-ichiro itojun Hagino
2002-12-31Use a default state table limit of 10000 entries. This is safe for allDaniel Hartmeier
normal configurations, and sufficient for many. You can always increase it, if you need more concurrent states and have enough memory (65000 for 64MB RAM, for instance). Suggested earlier by henning@. ok mcbride@
2002-12-30Add new parameter to scsi_test_unit_ready(): retries number.Alexander Yurchenko
Use increased retries number and don't ignore SCSI_IGNORE_NOT_READY when call scsi_test_unit_ready() for cd-rom, this makes system wait if drive is loading media. Tested by millert@ and fgsch@; some input and ok from krw@. Problem reported by The lord of the CD-writers Igor Grabin <violent@death.kiev.ua>.
2002-12-30Use PLOCK for tsleep priority instead of the (rather bogus) PZERO - 4.Todd C. Miller
PZERO - 4 == 18 which makes it equivalent to PRIBIO; not what we want. Discussed with art@ some time ago.
2002-12-30If we can't allocate a struct sem_undo w/o sleeping, use PR_WAITOKTodd C. Miller
but then check to see that one with our struct proc was not allocated in the meantime.
2002-12-30Don't forget to copyout the time at which statistics got cleared.Cedric Berger
2002-12-30really count the number of deleted tables - obvious fix.Cedric Berger
2002-12-30Add $OpenBSD$ tag.Thierry Deval
Thanks to Clarie Wouter (rimshot at pandora point be)
2002-12-30Update.Thierry Deval
2002-12-30Some cleanup.Thierry Deval
Re-work the SBP2 data manipulation to support concurrent node accesses. (That data manipulation MUST go into SBP2 code, eventually)
2002-12-30Implement the reconnect callback. This will be called whenever an SBP2 node'sThierry Deval
node_id changes, following a BusReset (happens when you add/remove a device to/from the FireWire chain). Re-work the ORB management to support concurrent node accesses.
2002-12-30As we still don't have a data_page_dir support yet, transfers of more thanThierry Deval
65535 bytes blocks silently broke. So limit ourself to 32k blocks, for now. That mistake gave us the false impression that huge transfers were fast. They usually resulted of 0-byte transfers. Fast indeed :-( Now, we have real data going through.
2002-12-30Some devices have bad ConfigROM crc, but contain valid Unit entries.Thierry Deval
So just ignore, and continue the auto-configuration.
2002-12-30Make the callbacks entry non-constant.Thierry Deval
2002-12-30Re-design fwohci_hadler_set() to use a new key3.Thierry Deval
That new key will be used for Request handlers to discriminate the requests by nodes. Key3 will also get the lenght field specifier... (may still change) Add an implementation for a BusReset callback that will be called whenever a node's node_id changes. This will allow us to work with more than one device at the same time...
2002-12-30proper HOSTAP_FLAGS_BITS; from merith@vantronix.netMichael Shalayeff
2002-12-30KNFHenning Brauer
2002-12-30KNFHenning Brauer
2002-12-29Fix a couple of cases where semutot was not getting decremented andTodd C. Miller
one where semtot was not getting incremented.
2002-12-29Add support for radix tables for source and destination of PF rules.Cedric Berger
ok dhartmei@, mcbride@, henning@
2002-12-29fix buf allocation; partoff may be a NULL tooMichael Shalayeff
2002-12-28fix C++ semantics.Marc Espie
Found by Andrew Pinski <pinskia@physics.uc.edu> Works with gcc-current and Tendra C++ now.
2002-12-27Bugfix and better error handling:Ryan Thomas McBride
- set rpool.cur in DIOCCHANGERULE - check to make sure rpool.list is not empty if we're doing translation or routing other than fastroute ok dhartmei@ henning@
2002-12-27Fixups for pf_route and pf_route6.Ryan Thomas McBride
- pull the route-to ifp from the current pf_pooladdr (not the last one) with stateful rules - remove unnecessary PF_ACPY and PF_AZERO ok dhartme@ on pf_route version, pf_route6 is the same.
2002-12-27Use model control capability to distinguish 8 from 16 line models,Hugh Graham
and don't ttymalloc lines we don't have. CXA16 in DHV-11 mode is probably still not correct.
2002-12-27Handle binat-anchor rules in pf_match_translation(), they don't have aDaniel Hartmeier
redirection target address. Reported by Michael Lucas. ok mcbride@
2002-12-27Initialize rt_ifp in newly allocated pf_state objects to NULL.Daniel Hartmeier
Solves the crashes in pf_route() with -current. Reports from Michael Lucas and Bjorn Runaker.
2002-12-26Prettier debug printing in pf_map_addr.Ryan Thomas McBride
2002-12-26Additional sanity checks for pf_route(). Please report when any of theseDaniel Hartmeier
panics should occur. ok mcbride@
2002-12-25No need to define FOO?=foo for AS, CC, CPP and LD, as they are always alreadyMiod Vallat
set from <sys.mk>
2002-12-25Turn xxUNIT, xxPARt, xxLABELDEV macro names into uppercase.Miod Vallat
2002-12-25Get prototypes from *dev_decl() macros rather than running our own.Miod Vallat
2002-12-25Do not force DEBUG to be defined here. hp300 is already slow enough.Miod Vallat
2002-12-25Initialize color palette from rasops settings (from sparc) rather thanMiod Vallat
from incorrect values, and restore it after X11 use (from macppc).
2002-12-24cleanup; ok costa@Alexander Yurchenko
2002-12-24Received a christmas card from Diego and Wim -- thanks!Hugh Graham
It works even, so enable the dhu.
2002-12-23regenMichael Shalayeff
2002-12-23a few more machines and devsMichael Shalayeff
2002-12-23no need to htons the port, it's already in net order, since we swapped it ↵Michael Shalayeff
back in tcpdump, worked fine (; from bdd@ieee.org
2002-12-23Change from array to single pf_pabuf (no longer need multiple buffers asRyan Thomas McBride
we don't need the second list of addresses for DIOCCHANGE* operations) Also get rid of a bug where DIOCBEGINADDRS clears pabuf[1] when pabuf[0] is the one being used. ok henning@ dhartmei@
2002-12-23Repair minor indentation problem.Miod Vallat
2002-12-23dev/ata/ata.c should depends on wdc_base since it uses some callsAlexander Yurchenko
from dev/ic/wdc.c; from NetBSD. ok miod@ deraadt@
2002-12-23Fix complete botch in handling of 'openings'.Kenneth R Westerback
Assign a fixed value (SIOP_NTAGS) to the openings field in the adapter's template sc_link, rather than incrementing the value as cbd's are allocated. The template value is the one copied into each device's sc_link structure as it is created. Incrementing the value meant that each new device got a larger value for openings. The total number of openings claimed by devices on a bus soon exceeded the number of cbd's available. e.g. after 5 devices there would be 132 allocated cbd's, but the total number of openings claimed by devices would be 300. A heavy i/o load on an adapter with multiple devices could have caused the upper scsi layer to try to queue more i/o's than the driver had cbd's to store them in. Such i/o's would fail with EIO if they were started with SCSI_NOSLEEP (e.g. sdstart()) or were not queued within the specified retry limit. I/o's for devices 'later' on the bus would be more likely to trigger this behaviour, due to their inflated openings values. This is good candidate for -stable.
2002-12-22pfioc_changealtq is not needed anymore; queues will eventually beRyan Thomas McBride
referenced by number in DIOCCHANGEALTQ (like rule and pooladdress) "go for it" henning@
2002-12-22Define atagettrace_t type and use it instead of struct atagettrace.Alexander Yurchenko
ok costa@