summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-02-01Make it build without INET6 again.Daniel Hartmeier
2003-02-01m_pad() is expected to have free'd the mbuf if it returns NULL, soDaniel Hartmeier
free it in one (rare) error condition. ok angelos@
2003-02-01Look, noone cares if you run of out rx descriptors and whining about it just ↵Jason Wright
makes the situation worse.
2003-02-01RegenMiod Vallat
2003-02-01Correct 715/100XC machine name, per openpa.net. mickey@ okMiod Vallat
2003-02-01from Chris Pascoe <c.pascoe@itee.uq.edu.au>:Chris Cappuccio
Fix multicast bug; internal multicast members' list was not initialized correctly. Also, begin to make vlan less ether specific - TR and FDDI could also be supported.
2003-01-31do not merge the rodata sections into the .text . they could be moved above ↵Michael Shalayeff
4m later should there be too much code
2003-01-31sync w/ generic and correct minirotsizeMichael Shalayeff
2003-01-31Enter gsckbc, a driver for the ps/2-like input device ports found on manyMiod Vallat
hppa machines, and gsckbd, a driver for the ps/2-like keyboard. Both are derived from pckbc and pckbd, but the differences in port wiring and keyboard behaviour prevented the creation of a thin pckbc wrapper. Currently, only us and uk keyboard layouts are provided. The adventurous person can enable gsckb[cd], wsdisplay at sti and wskbd, but this will only work correctly on machines featuring a modern-prom sti graphics device, and a ps/2 keyboard port.
2003-01-31Various typos; Andrey MatveevMiod Vallat
2003-01-31These cards just don't master... don't bother trying to enable it.Jason Wright
2003-01-31Sigh. I comitted the wrong diff in the last vfs changes.Artur Grabowski
These are the files that were ok:ed and tested.
2003-01-31Save about 1.7k in executable size for macppc kernel, Since the ELF headerDale Rahn
has changed due to W^X, start address need to change slightly, 74 -> 114.
2003-01-31Change how the bootloader links to get around size/start address issuesDale Rahn
introduced by W^X. exe size goes back to 60640 from 126456.
2003-01-31The fix introduced with 1.294 to solve issues with route-to inDaniel Hartmeier
combination with translations was too broad and broke some more complex setups (creating two states for one connection on two interfaces, using modulate state for each, and additionally using route-to/reply-to on one of them), so narrow it to the cases where it's needed. Reported by henric@.
2003-01-31Check protocol (TCP/UDP/ICMP/ICMP6) checksums of all incoming packets,Daniel Hartmeier
and drop packets with invalid checksums. Without such a check, pf would return RST/ICMP errors even for packets with invalid checksums, which could be used to detect the presence of the firewall, reported by "Ed White" in http://www.phrack.org/phrack/60/p60-0x0c.txt. To minimize the cost of checksum calculations, mbuf flags set by network interfaces capable of hardware checksumming are honoured, and set when pf performs the calculation, so the TCP/IP stack itself will not repeat the calculation for the same packet later on. ok mcbride@ and henning@
2003-01-31Send a RST when an invalid packet matches a TCP state during theDaniel Hartmeier
handshake. Solves the issues with the "ACK+1000000 cookie scheme", which depends on RFC 763 (p39, Reset Generation, 2. non-synchronized state, "reset is sent"). ok henning@, camield@ and (I guess ;) frantzen@
2003-01-31File system locking fixups, mostly from NetBSD:Artur Grabowski
- cache_lookup move common code from various fs's here always return with vnode and parent locked adjust return codes - PDIRUNLOCK - new flag set if lookup couldn't lock parent vnode - kernfs and procfs lock vnode in get_root don't unlock (again) in kernfs_freevp fix memory leak in procfs From tedu@stanford.edu deraadt@ and various other ok
2003-01-31KNFTheo de Raadt
2003-01-31plug a mbuf leakHenning Brauer
debugging session w/ dhartmei@ and lots of testing help from Jun <pilot at monkey.org> ok theo daniel angelos
2003-01-31Working wscons attachment and block move operations; joint debug by mickeyMiod Vallat
and myself. wsdisplay at sti will be enabled as soon as byte-size rom font loading is done.
2003-01-31more quietTheo de Raadt
2003-01-31fetch the font and use it, some cleanup and knfMichael Shalayeff
2003-01-30Stop using an LFS type for cluster mallocs, use an own type andArtur Grabowski
GC the LFS malloc types until LFS is resurrected. from tedu@stanford.edu
2003-01-30Track if a physical page has been previously mapped executable. If itDale Rahn
has not been previously mapped EXE, flush it. If a writeable mapping which is not executable occurs for the page, clear this bit. Solves a problem where an executable page is double mapped, first without EXE then accessed for execute at a different physical page, the cache will behave properly.
2003-01-30somehow this got missed in the regen commitTodd C. Miller
2003-01-30big KNF & ANSI roundHenning Brauer
"accidently" typed while hunting a bug ;-) ok kjc@
2003-01-30The E450 seems to have the same problem as the E250, so don't ask OF forHenric Jungheim
the msgbuf on this box either. ok jason@ (a very, very long time ago)
2003-01-30Many Ultra 5s likes to hang when starting. The last thing on the consoleHenric Jungheim
is: "pcons at mainbus0 not configured". The problem is that the IDE chip asserts a PCI interrupt line even while the registers on the chip claim that it is not. Doing a channel reset helps, but is almost certainly only a work-around for the real problem. Several other work-arounds have been suggested, but this one has had the most testing. Many have looked and helped (notably grange@). Thanks. ok jason@
2003-01-30there is no need for a MCOUNT, gcc prepares everything and calls _mcount() ↵Michael Shalayeff
all by itself
2003-01-30no need to force cflags hereMichael Shalayeff
2003-01-30reread the dma status reg after playing part of the dma got programmed.Michael Shalayeff
according to the doc, the "play next" bit and therefore the device interrupt may get raised earlier than the "record next" is set, thus we might not program the record dma and get another harmony interrupt right after servicing this one. this little optimization allows to deal w/ the situation more efficiently, should it occur. jason@ ok
2003-01-30regen now that setreuid/setregid have moved out of compat and into kernTodd C. Miller
2003-01-30Bring back setreuid(2) and setregid(2) as first class syscallsTodd C. Miller
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK
2003-01-30real meat in audio_device; discussed w/ jason@Michael Shalayeff
2003-01-30Check the codec revision... if it's >=CS4215E or >=AD1849K (same valueJason Wright
strangely =) the make ulinear (native) and slinear (emulated) available. Also, while here, make ulinear_le:16 available via emulation. (Btw, the LASI docs say that the format code for ulinear is a reserved value... Probably just wasn't available in the early CS4215/AD1849's)
2003-01-29check the uvm_fault_wire() for failure, just like other calls; art@ okMichael Shalayeff
2003-01-29save fpregs in coredumpMichael Shalayeff
2003-01-29enable scsi and sync w/ genericMichael Shalayeff
2003-01-29oops, test-compiled the wrong source, missing parenMichael Shalayeff
2003-01-29make it work on both yamaha and ensoniq mpus; from hunter@dg.net.uaMichael Shalayeff
2003-01-29moved some stuff into hppa.htmlMichael Shalayeff
2003-01-29ref bit is reverse meaning in the pte, therefore should beMichael Shalayeff
set on initial mapping (both enter and kenter), this seems to repair numerous userland issues. do not play DIRTY games either. repair border condition on the batch unmap (as well).
2003-01-29typos;Jason McIntyre
many tweaks by millert@ (thanks) thanks mpech@ for help with adduser(8) ok millert@
2003-01-29print out the codec revision in dmesgMichael Shalayeff
2003-01-29fix typo. majver should be minverTed Unangst
ok mickey@
2003-01-28add a rule to built bzero.po as wellMichael Shalayeff
2003-01-28Japanese type 5 layout; from a picture of the actual layout on sunsolve,Miod Vallat
checked against prom behaviour with a jumpered type 5.
2003-01-28harmony is there, 10x to jasonMichael Shalayeff
2003-01-28Ok, you can only set the HE/SE/LE/IS bits in GAINCTL when reset is asserted ↵Jason Wright
(why? I have no clue, but not abding this causes the chip to wedge). So, you can now switch input/output ports to your hearts content... oh did I mention several commits ago that capture works?