summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2002-08-29soft line breaks do not work always, just nl and tab instead, prettier tooMichael Shalayeff
2002-08-28vm_offset_t/vm_size_t are on their way to tartars nowMichael Shalayeff
2002-08-28do not forget to export the weak alias, proper line continuationMichael Shalayeff
2002-08-28update of radiotrack driver, including isapnp support; from jumbo@Michael Shalayeff
2002-08-28ancient file name in .file; from pbastos@rdc.puc-rio.brMichael Shalayeff
2002-08-28Fix a problem where passing NULL as a pointer with varargs does not promotePer Fogelstrom
NULL to full 64 bits on a 64 bit address system. Soultion is to add a (void *) cast before NULL. This makes a 64 bit MIPS kernel work and will probably help future 64 bit ports as well. OK from art@
2002-08-28 - Fix one typo (instead of two disable_rx, one disable_rx and one disable_tx)Artur Grabowski
- Instead of setting OACTIVE on the interface when encap fails and never clearing it, set a 2 second timer instead and hope that the memory situation will improve. This stops the lockups of the interface when memory is running low. jason@ ok.
2002-08-28RAIDframe spelling. ok art@Thierry Deval
2002-08-28cast size_t to u_long on printing. from netbsdJun-ichiro itojun Hagino
2002-08-27do not just bail out of the copy loop, but go to theMichael Shalayeff
'done' label for the job finish. major register missallocation for copyonfault, fix it. clean the space regs after use.
2002-08-27call ktrnamei() later, after cnp->cn_pnbuf has been made proper; art@ okMichael Shalayeff
2002-08-27config_edit() isn't used anywhere. ok art@Wilbern Cobb
2002-08-26now that none of the keyboard maps map anything intoMichael Shalayeff
the KS_BackSpace (use KS_Delete instead) we can restore an ability to map any key into BackSpace symbol: wsconsctl -w keyboard.map+="keycode 14 = Cmd_ResetEmul BackSpace" xfree is not using the key symbols, but raw key codes and therefore is not affected (as discussed w/ matthieu@). in fact, nothing in the whole tree is using the KS_BackSpace right now. existing KS_BackSpace definition is wrong and breaks the wsconsctl.
2002-08-26map backspace to delete, not backspace key symbol which are defined the same ↵Michael Shalayeff
at the moment; drahn ok@
2002-08-26map backspace to delete, not backspace key symbol which are defined the same ↵Michael Shalayeff
at the moment; jason ok@
2002-08-26Update sb_lastrecord in sbcompress() when the mbuf pointed to is removed.Daniel Hartmeier
Bug report from Alistair Kerr, tested miod@, inspected art@, ok provos@
2002-08-26space cleanup; some from grendel@zeitbombe.orgMichael Shalayeff
2002-08-24aperture driver for alpha. It works here the same as on i386Matthieu Herrb
to allow access to VGA card's memory by mmapping /dev/xf86. The macdep.allowaperture does also control /dev/pci access. Ok miod@, deraadt@
2002-08-23Just like getvnode, make getsock FREF the file so that we can't get awayArtur Grabowski
with not refing it. Eyeballed by lurene@daemonkitty.net, fries@, nordin@ and fries@ Some additional cleanups by nordin@
2002-08-23Cleanup change. Since almost all callers (except one) of getvnode did a FREFArtur Grabowski
on the returned file, do the FREF inside getvnode so that people can't get away with avoiding FREF and FRELE. Eyeballed by various people.
2002-08-23Use LIST_ macros for the list of all struct file.Artur Grabowski
2002-08-23map the heap without PROT_EXEC.Artur Grabowski
deraadt@ ok.
2002-08-23FREF/FRELE cleanup/simplification, no functional changes; ok artPeter Valchev
2002-08-23Add missing FRELE() in finishdup() error case; ok artPeter Valchev
2002-08-23Fix missing FRELE in mmap(2); ok artPeter Valchev
2002-08-22match more serverworks "double bridges", based on discussions with nate andTheo de Raadt
brad
2002-08-22Change the vnode locking in exec to not keep the vnode locked almost allArtur Grabowski
the time. This could lead to problems when a process wants to do an exec on the same vnode it's being run from and needs to copy in arguments from an uncached page in the data segment. When that happens uvm detects a vnode deadlock and returns an error causing execve() return EFAULT. This fixes the regress test in regress/sys/kern/exec_self Also, initialize scriptvp early in exec_script because it could be used uninitialized in a failure case.
2002-08-22simplify multicast setup on the 3c905 (pre-B/C, etc)Jason Wright
2002-08-22Remove code, use common ether_crc32_le() routine.Dale Rahn
2002-08-22Configure the media in the initialization routine so that media/mediaoptDale Rahn
fields in hostname.bm0 will work correctly. This does not fix the 100MB receive problem, but allows media 10baseT in hostname.bm0 to set the speed to a working speed.
2002-08-21Recognize both VSIMM slots, and allow one cgfourteen to attach to eachMiod Vallat
of them.
2002-08-21Correctly map the video memory, for proper operation.Miod Vallat
2002-08-21Get the boot device correctly if scsi id != 0 on 1[67]x boards.Miod Vallat
2002-08-21Attach one screen resource, by default, to every wsdisplay device,Miod Vallat
instead of zero, if the kernel configuration file does not override this setting. This enables X11 to work on multihead sparc{,64} configurations without the need for an explicit wsconscfg invocation first. If a non-default emulation is requested, the user can still delete this automatic resources and recreate it with wsconscfg. ok mickey@ jason@
2002-08-20print as unsigned for unsigned values, when printing out a map in ddb; art@ okMichael Shalayeff
2002-08-20set use_deprecated back to 1. sync w/kameJun-ichiro itojun Hagino
2002-08-20more comment on bind(deprecated) handlingJun-ichiro itojun Hagino
2002-08-20Two fixes from NetBSD (this allows my u60 to boot multiuser):Jason Wright
- Use paddr_t for avail_start and avail_end so we can handle machines with RAM above the 2GB mark. - Do not truncate the kernel pmap physical address to an `int' before sticking it in the context lookup table. Fixes a booting issue on Netra T1125s.
2002-08-20syncNathan Binkert
2002-08-20New intel gigE devices from Henric Jungheim <henric@henric.info>Nathan Binkert
2002-08-20Because of reversed use of the annul bit and delay slots copyin andArtur Grabowski
copyout could underflow by one byte and write a \0 where is doesn't belong. Don't try to micro-optimize the failure case of copyin and copyout. It's not worth the bugs. miod@ ok
2002-08-20Add a pseudo openfirmware console device for early debugging purposesDale Rahn
and to allow UKC to work properly. ok miod@
2002-08-19correct copyout logic. better fix to be made in kame treeJun-ichiro itojun Hagino
2002-08-19KNF (4 char continuations)Jason Wright
2002-08-19Take advantage of rasops.updatecursor to keep the prom cursor up to dateJason Wright
2002-08-19From NetBSD:Jason Wright
-Fix some corner cases in bus_dmamap_load_mbuf(). From Takeshi Nakayama <tn@catvmics.ne.jp> -Fix off-by-one error in iommu_dvmamap_load_raw() where if a DMA segment has just one byte on a page the page is never mapped into the IOMMU.
2002-08-19copyout only if oldp is non-nullJun-ichiro itojun Hagino
2002-08-19need explicit copyout().Jun-ichiro itojun Hagino
2002-08-19committed by mistake - i'm still working on theseJun-ichiro itojun Hagino
2002-08-19be consistent with other KAME source, use "ip6" for ip6_hdr, not "ipv6".Jun-ichiro itojun Hagino