summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-11-28- MD5 too slow, replace with pf_hash (based on hash from if_bridge.c)Ryan Thomas McBride
- Always fold the key in Many fixes & suggestions from camield@ ok mickey@ camield@ henning@
2002-11-27no wrapper arounf hardclock(), use CPU_CLOCKUPDATE, real microtime; miod okMichael Shalayeff
2002-11-27Avoid possible wraparound when checking timeout size; mickey@ OKTodd C. Miller
2002-11-27regenMichael Shalayeff
2002-11-27chips&tech 69030Michael Shalayeff
2002-11-27fix an underflow in socket timeout calculations.Michael Shalayeff
(see http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/32827). itojun@ ok
2002-11-27do address translation for for socket syscalls that pass addresses inJason Ish
or out - this allows linux programs that use IPv6 to work (not ipv4 mapped addresses though) - from NetBSD
2002-11-27recover original stanford copyright. sync w/kameJun-ichiro itojun Hagino
2002-11-26Call the enable function, don't set the variable directly.Jason Wright
2002-11-26Match VE_3, too; Cliff SkolnickJason Wright
2002-11-26pass struct pfioc_changeaddr to DIOCCHANGEADDRRyan Thomas McBride
rather than struct pfioc_pooladdr an obvious fix from dhartmei@
2002-11-261000baseTX -> 1000baseTNathan Binkert
- More technically correct - Matches FreeBSD and NetBSD - Preserved #define for 1000baseTX for backwards compatibility ok jason@
2002-11-26use pci_matchbyidNathan Binkert
2002-11-26Numerous bug fixes from freebsd and a few from me.Nathan Binkert
- Add support for the BCM5702X and BCM5703X chips - Take care of an alignment bug in the PCI-X implementation of a couple revs of the chip - Disable memory write invalidate. (Supposedly doesn't always work) - Add missing splx(s) - Fix some typos
2002-11-26Pull in DSP patches for the BCM5400, BCM5401, and BCM5411; from NetBSD.Jason Wright
2002-11-26fix "pfctl -Fq".Kenjiro Cho
after altq gets flushed, altq forgot that it was enabled since altq is actually detached with an empty ruleset. so, add a variable, pfaltq_running, to remember the running state and re-enable altq when a new ruleset is loaded. noticed, tested, and oked by henning@
2002-11-26Make the PTE constants unsigned long with UL.Artur Grabowski
The macro PG_PALCODE in pte.h is supposed to be used when comparing two ptes to see if we need a tlb flush. For that it uses the macro ALPHA_PTE_PALCODE which in turn is defined to ~ALPHA_PTE_SOFTWARE. Unfortunately ALPHA_PTE_SOFTWARE is small enough to fit in an int, so ALPHA_PTE_PALCODE becomes an int to and the masking in PG_PALCODE masks off the pfn in the pte and pmap_enter will then fail to flush certain TLB entries when it needs to (this situation shouldn't happen too often). This might or might not be the solution for the memory corruption bug I've been hunting for the last three months (the machine still borks up, but in different ways now).
2002-11-26re-enable if_timer; jason@ ok.Federico G. Schwindt
2002-11-26KNFHenning Brauer
2002-11-26Whitespace diff; from FreeBSDJason Wright
2002-11-25enable fxp(4) and xl(4) on sparc64; ok jason@Christian Weisgerber
2002-11-25remove printf's in xl_setmode().Brad Smith
-- deraadt@ ok
2002-11-25protect the arc4_getbyte() w/ an splhigh sinceMichael Shalayeff
there by multiple pathways, where it worked until read from userland in big buffers and some luck. does not cause a memory trashing, but rather may mess up the arc4 state such that it will not generate one particular value until a stir. sigh. was reported by multiple people over some time.
2002-11-24move } outside #ifdef INET6Ryan Thomas McBride
unbreaks compiling kernel without IPv6 support. how embarassing, spotted by Chris Kuethe
2002-11-24also no opt_user_ldt.hPhilipp Buehler
miod@, millert@ ok
2002-11-24Check whether the chip enabled or not by reading status register.Alexander Yurchenko
Close PR 2980 ok gluk@
2002-11-24there is no spoon^Wopt_pool.hPhilipp Buehler
miod@, millert@ ok (:art: I'll fix it post 3.2.)
2002-11-24Be sun4m-friendly in FDC_C_HANDLER case.Miod Vallat
2002-11-24Explicit unsigned char and unsigned short instead of u_char, u_short.Marc Espie
Make these files usable with -D_POSIX_SOURCE okay millert@
2002-11-24Fix a kernel fault in FDC_C_HANDLER code.Miod Vallat
2002-11-24Make this compile again if FDC_C_HANDLER is defined.Miod Vallat
2002-11-24When initializing the colormap on low depth frame buffers, pick valuesMiod Vallat
from rasops_cmap table, rather than providing our own, especially when they are wrong.
2002-11-23Add the remaining layouts (due to popular demand): spanish, italian, dutch,Miod Vallat
norwegian, portuguese, swiss-french, swiss-german, uk english. Not thoroughly tested, problems (if any) should be minor. Also fix glitch in caret handling in the previous commit.
2002-11-23New identifier for dutch keyboard layout.Miod Vallat
2002-11-23Mention that hme does not work in sun4c machines.Miod Vallat
2002-11-23wskbd layouts for Sun Danish, French and German keyboards.Miod Vallat
More to come as time permits...
2002-11-23KNFTheo de Raadt
2002-11-23pass a pointer to the hash, not the first chunk of itRyan Thomas McBride
2002-11-23kernel code to allow multiple redirection addresses to be specified for natRyan Thomas McBride
and rdr, as well as route-to, dup-to and reply-to. Addresses can be allocated in a number of ways: - masking out the network portion of the address and replacing it - randomly assigning an address in the block - hashing the source address and a key to determine the redirection address - iterating through the addresses sequentially (this is the only allocation scheme which works when a list of addresses is specified) ok dhartmei@ henning@
2002-11-23regenMichael Shalayeff
2002-11-233cSOHO 100B-TX; from Fredrik PerssonMichael Shalayeff
2002-11-22new sysctl: machdep.v8mul says whether the kernel replaced the mul/div/remTheo de Raadt
stubs, so that userland can do the same. we cannot just determine based on sun4m, because cypress (at least) is a sun4m cpu without the instructions
2002-11-22Allow more than two load sections on ELF executables, this limitDale Rahn
should not be required, and may be violated soon. With two fixes art pointed out. ok art@
2002-11-22Instead of statically allocating filedescs for proc0, use fdinit.Artur Grabowski
2002-11-22Allow fdinit to be called with p == NULL so that we can useArtur Grabowski
it to properly init filedescs for proc0.
2002-11-22off by one for sis_tx_cnt, can lead to corrupt sis_tx_list; ok fgs@Markus Friedl
2002-11-22on block rules, let queue apply to the RST packets in the return-rst caseHenning Brauer
and the returned icmp packets in the return-icmp case ok dhartmei@
2002-11-22repair proc0 rlimit setup for >2GB machinesTheo de Raadt
2002-11-22Add xl for pci and cardbus. It seems to work, needs additional testing...Dale Rahn
2002-11-22nate, why is it that for every single ethernet driver you merge into theTheo de Raadt
tree, you forget to delete the printf's that fire EVERY SINGLE TIME it changes media?!?!