Commit Graph

107534 Commits

Author SHA1 Message Date
Simon L. B. Nielsen
3f40ae6d25 Remove duplicate entries for ubsa(4), uftdi(4), and uplcom(4).
Noticed by:	brueffer
Pointy hat to:	simon
2004-09-12 15:38:47 +00:00
Christian Brueffer
b5b2a033cb Autogenerate device listings for em(4) and gx(4)
MFC after:	3 days
2004-09-12 15:24:02 +00:00
Simon L. B. Nielsen
d65438e530 Change DESCRIPTION section to a HARDWARE section.
MFC after:	3 days
2004-09-12 15:23:36 +00:00
Christian Brueffer
2b01db6194 Add gx(4) 2004-09-12 15:22:34 +00:00
Christian Brueffer
728e851567 Add em(4) 2004-09-12 15:16:13 +00:00
Simon L. B. Nielsen
efcec002e7 Add ubsa(4), ubser(4), uftdi(4), and uplcom(4).
MFC after:	3 days
2004-09-12 15:11:21 +00:00
Ceri Davies
8c5923d931 Typo fix. 2004-09-12 12:13:29 +00:00
Hiroki Sato
682a3af931 New release notes:
PREEMPTION kernel option added,
	ucycom(4) for Cypress CY7C637xx and CY7C640/1xx families
	of USB to RS232 bridges added,
	debug.witness_* tunable renamed to debug.witness.*,
	vge(4) for VIA VT6122 gigabit ethernet chip added, and
	mkuzip(8) for GEOM_UZIP added.

Update release notes:
	remove %include.historic; section for now,
	4BSD is the default schedular now, and
	update links to sound(4)-related manual pages.
2004-09-12 07:16:52 +00:00
Alfred Perlstein
2d3744053b WARNS=4 safe. 2004-09-12 07:06:48 +00:00
Marcel Moolenaar
fa3b7cae8d Catch up with other platforms: switch the default scheduler to 4BSD. 2004-09-12 05:50:32 +00:00
Scott Long
bd971c4961 Put some of the probe messages under bootverbose so to lessen the noise. 2004-09-12 03:19:32 +00:00
Alfred Perlstein
78f606edb4 Fix build. 2004-09-12 02:24:01 +00:00
Alfred Perlstein
1171033fec Hook mount_autofs to the build. 2004-09-12 01:25:47 +00:00
Marcel Moolenaar
27f28ead1b Fix build: s/mkunzip.8/mkuzip.8/ 2004-09-12 00:32:35 +00:00
Bill Paul
9d77459ca7 Remove unneeded TX channel wakeup from vge_txeof(). This was put
there for testing and forgotten. It's not really needed, and taking
it out saves a register access.
2004-09-11 22:13:25 +00:00
Christian S.J. Peron
3a27af0dd4 Currently when ipfw(8) generates the micro-instructions for rules which
contain O_UID, O_GID and O_JAIL opcodes, the F_NOT or F_OR logical
operator bits get clobbered. Making it impossible to use the ``NOT'' or
``OR'' operators with uid, gid and jail based constraints.

The ipfw_insn instruction template contains a ``len'' element which
stores two pieces of information, the size of the instruction
(in 32-bit words) in the low 6 bits of "len" with the 2 remaining
bits to implement OR and NOT.

The current code clobbers the OR and NOT bits by initializing the
``len'' element to the size, rather than OR'ing the bits. This change
fixes this by changing the initialization of cmd->len to an OR operation
for the O_UID, O_GID and O_JAIL opcodes.

This may be a MFC candidate for RELENG_5.

Reviewed by:	andre
Approved by:	luigi
PR:		kern/63961 (partially)
2004-09-11 19:44:29 +00:00
Alan Cox
5e4bdb57cb System maps are prohibited from mapping vnode-backed objects. Take
advantage of this restriction to avoid acquiring and releasing Giant when
wiring pages within a system map.

In collaboration with: tegge@
2004-09-11 18:49:59 +00:00
Ruslan Ermilov
cf7b3b6562 Normalize the manpage.
Reviewed by:	sobomax
2004-09-11 18:39:01 +00:00
Ruslan Ermilov
33293ab0ec Normalize the makefile.
Reviewed by:	sobomax
2004-09-11 18:38:26 +00:00
Poul-Henning Kamp
4090065137 Fix a problem that shows up if less than the full complement of
lock sectors are defined ("number_of_keys" argument to gbde init being
less than 4 in the default compile).
2004-09-11 17:58:53 +00:00
Poul-Henning Kamp
cbca0b53e5 Respect that G_BDE_MAXKEYS is a compile time variable. 2004-09-11 17:57:51 +00:00
Simon L. B. Nielsen
1f58e62d1a Auto generate device listings for the following drivers: snd_csa(4) and
snd_gusc(4).

MFC after:	3 days
2004-09-11 15:26:58 +00:00
Simon L. B. Nielsen
21a9da3cf4 - Add snd_csa(4) and snd_gusc(4). 2004-09-11 15:20:48 +00:00
Christian Brueffer
2d8fa8bae5 nge(4) works on alpha as well
MFC after:	3 days
2004-09-11 15:18:35 +00:00
Simon L. B. Nielsen
043c780ab0 Make a warning less cryptic. 2004-09-11 15:14:13 +00:00
Simon L. B. Nielsen
6bbc733245 Add a HARDWARE section which lists supported devices. 2004-09-11 15:00:07 +00:00
Max Laier
c9f6794e2e One more round on the H/W supported checksum code: Fix NICs that can't do
the pseudo header. We really need the TCP packet length here. This happens
to end up in ip->ip_len in tcp_input.c, but here we should get it from the
len function variable instead.

Submitted by:	yongari
Tested by:	Nicolas Linard, yongari (sparc64 + hme)
MFC after:	5 days
2004-09-11 11:18:25 +00:00
Scott Long
1e7fad6b6a Revert the previous round of changes to td_pinned. The scheduler isn't
fully initialed when the pmap layer tries to call sched_pini() early in the
boot and results in an quick panic.  Use ke_pinned instead as was originally
done with Tor's patch.

Approved by: julian
2004-09-11 10:07:22 +00:00
Gleb Smirnoff
5d67845f3e Remove orphaned comment about Meta data. 2004-09-11 08:59:06 +00:00
Hiroki Sato
4ada27d8b3 Removal of the DA_OLD_QUIRKS option should be in "Disks and Storage"
section.

Pointed out by:	Xin LI (delphij at frontfree dot net)
2004-09-11 08:28:25 +00:00
Alan Cox
fe8d8261ec Add nge. (I've used one for about a week in an XP1000.) 2004-09-11 07:26:50 +00:00
Poul-Henning Kamp
083d7d1c8f Add a threadcount field which we will need later for device removal
cleanup.  Adding it now and MT5'ing will preserve binary compatibility
if this code is later MFC'ed.

MT5 candidate.
2004-09-11 07:09:48 +00:00
Doug White
155119e8ff Fix build if both of BKTR_USE_FREEBSD_SMBUS and BKTR_NEW_MSP34XX_DRIVER are
defined.

Thanks to Damian Gerow <dgerow@afflictions.org> for pointing out this problem.
RELENG_5 candidate.
2004-09-11 04:32:55 +00:00
Warner Losh
d5daf6c02e Add two spare fields to struct resource for some planned enhacenments
to make it possible to merge them w/o changing the size of struct resource
which some drivers unfortunately still need to know.
2004-09-11 04:28:46 +00:00
Scott Long
9e0c3bdf64 Double the number of kernel page tables for amd64 and for i386/PAE. The old
value was only enough for 8GB of RAM, the new value can do 16GB.  This still
isn't optimal since it doesn't scale.  Fixing this for amd64 looks to be
fairly easy, but for i386 will be quite difficult.

Reviewed by: peter
2004-09-11 01:31:26 +00:00
Bill Paul
712753fd51 Remove unneeded VGE_UNLOCK() in vge_detach(). 2004-09-11 01:07:39 +00:00
Julian Elischer
0caccd943f Whitespace fix
MFC after:	2 days
2004-09-11 00:33:51 +00:00
Julian Elischer
513efa5b39 Try committing from the right tree this time
MFC after:	2 days
2004-09-11 00:11:09 +00:00
Maxim Sobolev
0b99ac6313 o Print more info in the verbose mode;
o use zlib(3) function which computes maximum length of the output
  buffer instead of rolling own version;

o allow size of input file to be not multiple of cluster size by applying
  zero padding.
2004-09-10 23:16:05 +00:00
Simon L. B. Nielsen
83fb427163 Add vge(4) to the Hardware Notes. 2004-09-10 23:10:03 +00:00
Julian Elischer
5c854accc1 Make up my mind if cpu pinning is stored in the thread structure or the
scheduler specific extension to it. Put it in the extension as
the implimentation details of how the pinning is done needn't be visible
outside the scheduler.

Submitted by:	tegge  (of course!)   (with changes)
MFC after:	3 days
2004-09-10 22:28:33 +00:00
Maxim Sobolev
42ecdf052f Clarify/extend in several places and make sure that everything matches reality. 2004-09-10 22:26:31 +00:00
Tom Rhodes
aa8cdf7765 Bump WARNS level to 6.
Submitted by:	keramida
Tested on:	i386, sparc64 (panther)
2004-09-10 21:34:46 +00:00
Julian Elischer
3389af30e8 Add some code to allow threads to nominat a sibling to run if theyu are going to sleep.
MFC after:	1 week
2004-09-10 21:04:38 +00:00
Bill Paul
3071824ff0 Add a manual page for the vge(4) driver. 2004-09-10 20:58:38 +00:00
Bill Paul
a07bd003bf Add device driver support for the VIA Networking Technologies
VT6122 gigabit ethernet chip and integrated 10/100/1000 copper PHY.
The vge driver has been added to GENERIC for i386, pc98 and amd64,
but not to sparc or ia64 since I don't have the ability to test
it there. The vge(4) driver supports VLANs, checksum offload and
jumbo frames.

Also added the lge(4) and nge(4) drivers to GENERIC for i386 and
pc98 since I was in the neighborhood. There's no reason to leave them
out anymore.
2004-09-10 20:57:46 +00:00
Poul-Henning Kamp
5263eebc9a Add two spare elements for planned but not yet implemented stuff related
to device driver unloading.  Adding these two now and MT5'ing them will
allow us to preserve binary compatibility on RELENG_5 when these facilities
are MFC'ed.

MT5 Candiate.
2004-09-10 20:49:30 +00:00
Maxim Sobolev
7f4caa8c59 Add mkuzip(8), non-GPL utility to compress filesystem images for use with
geom_uzip module. This is based on utility I wrote some 3 years ago for a
hack for md(4), which functionally was close to what geom_uzip does today.

Since I don't have a time to test that it compiles/works on other arches,
stick it to i386 only. Will do it later.

Unlike original cloop util, this one embedds FreeBSD-compatible shell code
into the generated image, not Linux one. Unfortunately severe space
restriction imposed by the CLOOP format doesn't allow to put conditional
code which will work both on Linux and FreeBSD. In fact it was quite a
challenge to fit necessary FreeBSD code into 127 bytes. ;-)
2004-09-10 20:17:31 +00:00
Stefan Eßer
c7754014fa Fix oversight reported by Norikatsu Shigemura for the "sym" driver
(which was derived from the "ncr" driver) and add a MODULE_DEPEND
on "cam".

MT5 candidate, IMHO.
MFC after:	1 week
2004-09-10 19:35:44 +00:00
Robert Watson
2d832be085 Add netrate (netreceive, netsend), a tool for generating (and sinking)
UDP packets of specified size at a fixed rate.  I've been using this for
netperf-related testing.
2004-09-10 19:09:50 +00:00