summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2001-05-11unifyTheo de Raadt
2001-05-11kmemstats, nselcoll, forkstat, and nchstats structures throughAngelos D. Keromytis
sysctl. deraadt@ ok
2001-05-11sysctl entries for kmemstats, nselcoll, nchstats, and forkstat.Angelos D. Keromytis
2001-05-11check for 'fastroute' condition (like ip_input) in bridge_filter() andJason Wright
deal with it.
2001-05-10Simplify probe routine.Aaron Campbell
2001-05-10Provide PAGE_{MASK,SHIFT,SIZE} constants.Miod Vallat
2001-05-10Don't play with MCR_IEN, it breaks serial console input on the 425e.Todd C. Miller
If it turns out that this causes problems on other 4xx models this can be added back for the non-425e models.
2001-05-10Nuke the DCA check. ACPI can only be console on a 425e; thorpej@netbsd.orgTodd C. Miller
2001-05-10Add missing #include <sys/resourcevar.h> so these can compile.Todd C. Miller
2001-05-10In apciparam() in the ospeed == 0 case, actually set the cfcr to the newTodd C. Miller
value; bad@netbsd.org
2001-05-10Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on everyTodd C. Miller
other 4xx model, and the "not configured" could be pretty annoying. This means we can nuke apcicheckdca() and just key off being a 425e. Also, ia->ia_addr is a physical address, not a kernel virtual address; thorpej@netbsd.org
2001-05-10dmamem_unmap the memory before dmamem_freeig it.Michael Shalayeff
only affects unaligned transfers (such as disklabel, fsck and dump). we used to get away w/ this due to older pmap, uvm or both. be more precise w/ double-buffer on command failure as well. once at it, allow more than 1 segment for double-buffer to be allocated. also fix a couple of endianesses and command timeouts.
2001-05-10fix typo introduced in non-UVM case yesterdayTodd C. Miller
2001-05-10More sync to NetBSD.Artur Grabowski
The highlight is some more advices to madvise(2). o MADV_DONTNEED will deactive the pages in the given range giving a quicker reuse. o MADV_FREE will garbage-collect the pages and swap resources causing the next fault to either page in new pages from backing store (mapped vnode) or allocate new zero-fill pages (anonymous mapping).
2001-05-10Hasn't been used for ages. ZAP!Artur Grabowski
2001-05-10remove the pt{1,23}_{alloc,free} functions now that pool works withoutArtur Grabowski
UVM and UVM is required anyway.
2001-05-10Don't crash in pgt_page_alloc if uvm_km_kmemalloc fails.Artur Grabowski
(we'll crash somewhere else anyway, but that's a later problem).
2001-05-10UVM is no longer optional on sparc.Artur Grabowski
2001-05-10Switch sparc to PMAP_NEW. I've been running with that code for ages.Artur Grabowski
2001-05-10oops.Artur Grabowski
2001-05-10Some locking protocol fixes and better enforcement of wiring limits.Artur Grabowski
From NetBSD.
2001-05-10When acpi is used as the console, set cn_tab appropriately so that aTodd C. Miller
serial console on the 425e gets attached properly. The hp300 port should really be changed such that drivers don't touch cn_tab themselves but this turns out to be a bit tricky so I'm going to punt on that for now.
2001-05-10Move the timeout_set() call up a bitTodd C. Miller
2001-05-10o Print memory sizes in KB in addition to bytes like i386 portTodd C. Miller
o Move model designation info out of hp300_models. Since it is non-overlapping we only need a single array to store this. o For 68040 CPUs use cpuspeed * 3/8 for the CPU speed (in Mhz) that we print in the boot message. That way we get accurate info for upclocked systems w/o hard-coding things. Don't bother doing this with the '020 and '030 systems for the moment since they are less likely to have been "upgraded".
2001-05-10Add a MMUID_425_E defineTodd C. Miller
2001-05-10Add 425e detection based on what is in stand/uboot/srt0.STodd C. Miller
2001-05-10in txp_intr() only refill the rx buffer ring if it is empty; based onJason Wright
suggestion from Pankaj Chhabra.
2001-05-09fix prototype; J.S.Peatfield@damtp.cam.ac.ukMarkus Friedl
2001-05-09update the NetBSD to the correct versionArtur Grabowski
2001-05-09More sync to NetBSD.Artur Grabowski
- Change pmap_change_wiring to pmap_unwire because it's only called that way. - Remove pmap_pageable because it's seldom implemented and when it is, it's either almost useless or incorrect. The same information is already passed to the pmap anyway by pmap_enter and pmap_unwire.
2001-05-09revert reverted patch now that bus_dma has been updated on i386Jason Wright
2001-05-08inplement screen burner in screenblank(1) style (no program though).Michael Shalayeff
disabled by default, also supports vsync blanking, disabled by default. aaron@ looked at it a while back and i fixed problems he had indicated.
2001-05-08document registers off BAR1 found on the 7951Theo de Raadt
2001-05-08simplify printsTheo de Raadt
2001-05-08string names for those new classes/subclasses; from netbsdMichael Shalayeff
2001-05-08Fix realloc possible leak; this is userland, not kernel; reported byFederico G. Schwindt
Ted U <grendel@heorot.stanford.edu>.
2001-05-08When `dup-to if:addr' clause is used, be sure to rewrite the dest addrFederico G. Schwindt
with the one supplied; fix by ericj@, darrenr notified.
2001-05-08IPfilter 3.4.17; kjell@ deraadt@ ok.Federico G. Schwindt
2001-05-08more class/subclass/caps ids; from netbsdMichael Shalayeff
2001-05-08correct 1 printf.Federico G. Schwindt
2001-05-08In extent_alloc_subregion1, be sure that the region returned don't runFederico G. Schwindt
past the end of the subregion; art@ok, deraadt@ok.
2001-05-08From netbsd: implementations of _bus_dmamap_load_mbuf() andJason Wright
_bus_dmamap_load_uio().
2001-05-08fix preposition in the printf msgMichael Shalayeff
2001-05-08reapply 1.39 once again, it seems i've fixed two bugs in it and itMichael Shalayeff
works ok on sparc and i386 now.
2001-05-08Substantial update from NetBSD, most notably gives us UVM support; deraadt@ okAaron Campbell
2001-05-08on `out of data' condition print a warning and exit w/Michael Shalayeff
whatever current checksum we have gotten accumulated. this is somewhat conformant w/ what other archs are doing. from Camiel Dobbelaar <cd@sentia.nl>
2001-05-08support a hook for vga_pci-based ioctls; aaron@ ookMichael Shalayeff
2001-05-08add transmit side of bpf tappingJason Wright
2001-05-08syncTheo de Raadt
2001-05-08another modemTheo de Raadt