summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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
2002-08-19merge in IPv6 deprecated address handling from KAME.Jun-ichiro itojun Hagino
2002-08-17set default value for use_deprecated to 0, to avoid consequences with ftpd.Jun-ichiro itojun Hagino
2002-08-17Arowana Fast-Ethernet support; patch by Thomas Delaet.Federico G. Schwindt
2002-08-17regen.Federico G. Schwindt
2002-08-17Arowana Fast-Ethernet; from Thomas Delaet.Federico G. Schwindt
2002-08-17The consensus was to include both FONT_GALLANT12x22 and FONT_BOLD8x16Todd C. Miller
for sparc, even when SMALL_KERNEL is defined. That way we get a reasonable font on the sparcbook for the install.
2002-08-17If the HBA is already 'touched', still set maxluns.mjacob
Don't whine if the name server returns "no such registered type" when we ask it for all FC-SCSI objects. Fix a few typos. If we get a f/w crash, if ISP_FW_CRASH_DUMP is *not* defined, do the isp_reinit inline, otherwise, let the platform isp_async drive things. This is because, typically, the platform isp_async will freeze things and wake up a thread to do the actual f/w crash dump (really *can't* be done on the interrupt stack- the 23XX has one move on the order of 500KBytes of crash dump data). Set up to handle default framsize && exec_throttle and iid/loopid overrides. If we're using ancient (pre 1.17.0) 2100 f/w (for the cards that cannot load f/w images > 0x7fff words), set ISP_FW_ATTR_SCCLUN. We explicitly don't believe we can find attributes if f/w is < 1.17.0, so we have to set SCCLUN for the 1.15.37 f/w we're using manually- otherwise every target will replicate itself across all 16 supported luns for non-SCCLUN f/w. Correctly set things up for 23XX and either fast posting or ZIO. The 23XX, it turns out, does not support RIO. If you put a non-zero value in xfwoptions, this will disable fast posting. If you put ICBXOPT_ZIO in xfwoptions, then the 23XX will do interrupt delays but post to the response queue- apparently QLogic *now* believes that reading multiple handles from registers is less of a win than writing (and delaying) multiple 64 byte responses to the response queue. At the end of taking a a good f/w crash dump, send the ISPASYNC_FW_DUMPED event to the outer layers (who can then do things like wake a user daemon to *fetch* the crash image, etc.).
2002-08-17Add ISPASYNC_FW_CRASH case.mjacob
2002-08-17isp_target_notify changes what it returns for success.mjacob