Peter Wemm [Sat, 10 Jun 2000 22:13:40 +0000 (22:13 +0000)]
A checkpoint of a part of a work-in-progress. Some more cleanups for
config(8). This commit allows control of the creation of the
#include "foo.h" files. We now only create them explicitly when needed.
BTW; these are mostly bad because they usually imply static limits on
numbers of units for devices. eg: struct mysoftc sc[NFOO];
These static limits have Got To Go.
David E. O'Brien [Sat, 10 Jun 2000 20:42:27 +0000 (20:42 +0000)]
It is not necessary to wrap usage of $f28 with ".set noat/at" pairs.
A very bogus gas warning gave people the impression it was. noat/at had
no useful affect here.
Mike Smith [Sat, 10 Jun 2000 19:41:34 +0000 (19:41 +0000)]
Update hardware and release-note blurb about AMI and Mylex RAID
controllers. Add extra verbiage to try to clarify some of the more
frequently asked questions.
Mike Smith [Sat, 10 Jun 2000 19:22:39 +0000 (19:22 +0000)]
The AMI MegaRAID's internal memory map conflicts with scatter/gather
map physical addresses below 0x2000 (accoding to AMI). If we
allocate our s/g tables and get an address below this point, leak the
memory and try again.
Jonathan Lemon [Sat, 10 Jun 2000 18:00:27 +0000 (18:00 +0000)]
Add KASSERT() to mbuf free routines in order to allow developers to
catch cases where the mbuf has already been freed.
Submitted by: David Malone <dwmalone@maths.tcd.ie>
PR: kern/18471
Duncan Barclay [Sat, 10 Jun 2000 13:50:57 +0000 (13:50 +0000)]
Remove promisc_user, ray_reset and ray_reset_timo as they are not used. Incidental remove of a timer too. Remove the runq_abort code.
Get ray_detach working correctly. This is a very simple routine as it
just wakes up sleeping processes. Note that anything woken has NO softc
structure available! runq_add is suitably modified to detect a detach and
return straight away.
Due to ray_detach and its implications use a macro for adding things
to the runq in user land.
Mike Smith [Fri, 9 Jun 2000 22:32:36 +0000 (22:32 +0000)]
taskqueue_swi is a pointer, not a struct. Fix a comment that misleadingly
suggests you pass its address to taskqueue_enqueue, which leads to various
kinds of unpleasant mischief.
Doug Rabson [Fri, 9 Jun 2000 16:04:30 +0000 (16:04 +0000)]
A driver for programming the AGP hardware. This is only very lightly
tested on Intel BX chipsets only. The other agp minidrivers are totally
untested.
The programming api is a subset of the Linux api and is only intended to
be enough for the X server to use. There is also an in-kernel api for the
use of other kernel modules such as the 3D DRI.
Chris Costello [Fri, 9 Jun 2000 01:59:48 +0000 (01:59 +0000)]
- Replace
.Pp
.Fn func
.Pp
Description ...
with a list (Bl ... Li ... El).
- Remove a superfluous ``.Sh ENVIRONMENT'' and replace it with a ``.Pp''
within the IMPLEMENTATION DETAILS section.
Add bus_alloc_resource.9 and bus_release_resource.9.
bus_release_resource.9 contains a paragraph obtained from a mail
by Warner Losh <imp@FreeBSD.org> to myself.
Reviewed by: asmodai, hoek; in parts by msmith, mdodd and imp
Gerard Roudier [Thu, 8 Jun 2000 19:48:16 +0000 (19:48 +0000)]
- Use `bus space' primitives for IO and MMIO instead
of IO/MMIO legacy methods.
- Prepare the driver for big endian CPU support.
- Clarify memory and IO barriers needed by the driver.
Bruce Evans [Thu, 8 Jun 2000 18:11:15 +0000 (18:11 +0000)]
When dubiously reprogramming .SUFFIXES, don't screw up the order of .S
relative to .s. This fixes wrong sources being preferred after
"gcc -save-temps" creates .s files from .S files.
Bruce Evans [Thu, 8 Jun 2000 17:53:43 +0000 (17:53 +0000)]
Always include the full symbol table (as specified by its start and
end values in bootinfo) in kernel space if it is loaded (i.e., if its
specified end address is nonzero), not just if it is loaded and DDB
is configured. This may be used to fix kldsym(2) for booting without
/dev/loader; currently, in this case, it just fixes unused pointers
and wastes space consistently. For booting in the normal way with
/boot/loader, the table is included and pointed to in a different way
and kldsym(2) works.
Dan Moschuk [Thu, 8 Jun 2000 15:34:51 +0000 (15:34 +0000)]
Add tcpoptions to ipfw. This works much in the same way as ipoptions do.
It also squashes 99% of packet kiddie synflood orgies. For example, to
rate syn packets without MSS,
ipfw pipe 10 config 56Kbit/s queue 10Packets
ipfw add pipe 10 tcp from any to any in setup tcpoptions !mss
Submitted by: Richard A. Steenbergen <ras@e-gerbil.net>