Commit Graph

6228 Commits

Author SHA1 Message Date
obrien
5094b5a232 Add a pure open source nForce Ethernet driver, under BSDL.
This driver was ported from OpenBSD by Shigeaki Tagashira
<shigeaki@se.hiroshima-u.ac.jp> and posted at
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
It was additionally cleaned up by me.
It is still a work-in-progress and thus is purposefully not in GENERIC.
And it conflicts with nve(4), so only one should be loaded.
2006-06-26 23:41:07 +00:00
thompsa
03c09be4f6 Hook enc(4) to the build. 2006-06-26 22:31:26 +00:00
thompsa
320c8e5164 Add a pseudo interface for packet filtering IPSec connections before or after
encryption. There are two functions, a bpf tap which has a basic header with
the SPI number which our current tcpdump knows how to display, and handoff to
pfil(9) for packet filtering.

Obtained from:	OpenBSD
Based on:	kern/94829
No objections:	arch, net
MFC after:	1 month
2006-06-26 22:30:08 +00:00
wpaul
d1da54538c Add support for the RealTek 8169SC/8110SC and RTL8101E devices. The
latter is a PCIe 10/100 chip.

Finally fix the EEPROM reading code so that we can access the EEPROMs on all
devices. In order to access the EEPROM, we must select 'EEPROM programming'
mode, and then set the EEPROM chip select bit. Previously, we were setting
both bits simultaneously, which doesn't work: they must be set in the
right sequence.

Always obtain the station address from the EEPROM, now that EEPROM
reading works correctly.

Make the TX interrupt moderation code based on the internal timer
optional and turned off by default.

Make the re_diag() routine conditional and off by default. When it is
on, only use it for the original 8169, which was the only device that
that really needed it.

Modify interrupt handling to use a fast interrupt handler and fast
taskqeueue.

Correct the rgephy driver so that it only applies the DSP fixup for
PHY revs 0 and 1. Later chips are fixed and don't need the fixup.

Make the rgephy driver advertise both 1000_FD and 1000_HD bits in
autoneg mode. A couple of the devices don't autoneg correctly unless
configured this way.
2006-06-26 20:31:32 +00:00
brueffer
4cca3a410b - Convert to new SYNOPSIS layout
- New Sentence, new line
- Remove eol whitespace

MFC after:	3 days
2006-06-22 20:03:35 +00:00
yar
0e343922c8 Don't forget to touch Dd. 2006-06-21 11:46:29 +00:00
yar
ad10a899ae Quite a number of rc.d scripts try to load kernel modules. Many
of them do that conditionally depending on kldstat.  The code is
duplicated all over, but bugs can be uniqie.

To make the things more consistent, introduce a new rc.subr function,
load_kld, which takes care of loading a kernel module conditionally.

(Found this lying for a while in my p4 branch for various hacks.)
2006-06-21 09:42:55 +00:00
maxim
2801f35e73 o Remove LK_REENABLE and LK_NOPAUSE lockinit(9) flags, add LK_NOSHARE.
MFC after:	1 week
2006-06-20 21:41:14 +00:00
brueffer
3d0b33853e Boji Tony Kannanthanam no longer supports this driver, Achim Leubner
however still does.  Confirmed by email contact with both of them.

MFC after:	3 days
2006-06-19 15:22:34 +00:00
netchild
374a73f6b1 Document support for the Aceeca Mez1000 RDA. 2006-06-18 17:56:37 +00:00
brueffer
48a9227547 We just have one generic sound driver, reflect this.
MFC after:	3 days
2006-06-18 17:53:04 +00:00
brueffer
5d0c31cbc6 o We only have one generic audio driver, reflect this (1)
o Mention the author of the driver
o Minor mdoc improvement

Discussed with:		netchild (1)
2006-06-18 17:48:08 +00:00
netchild
c9ca278d22 Add support for:
- Curitel PC5740 Wireless Modem (Verizon's PCMCIA card)
 - Sierra MC5720 Wireless Modem (Built in to Thinkpad X60s)

Bump the date in the uscanner man page for the update some minutes ago.
2006-06-18 17:46:40 +00:00
netchild
440e48d33e Add Epson Perfection 1270 scanner. All other scanners in the PR are already
detected, but with a different name.

PR:		98106
Submitted by:	Lars Engels <lars.engels@0x20.net>
2006-06-18 17:29:16 +00:00
netchild
9da88bf5a6 2 spelling fixes...
Noticed by:	John E Hein <jhein@timing.com>
2006-06-18 17:02:21 +00:00
brueffer
541a257955 o sort the HARDWARE list somewhat
o mention ATA and SATA support
o mdoc improvements

MFC after:	3 days
2006-06-18 14:45:28 +00:00
brueffer
a6c0deec5a o Remove FILES section (uninteresting for users)
o Xref asr(4)

MFC after:	3 days
2006-06-18 14:37:48 +00:00
brueffer
254be6b7c4 o Capitalization fixes
o Remove the outdated FILES section

MFC after:	3 days
2006-06-18 14:12:27 +00:00
brueffer
9c08d0cfc0 Add MLINKS:
ixgb.4 -> if_ixgb.4
mxge.4 -> if_mxge.4
2006-06-18 14:08:20 +00:00
netchild
54bacf2fa6 - xref linsysfs
- improve the ldconfig part
- tell about pitfalls with the osrelease sysctl
2006-06-18 13:51:39 +00:00
netchild
7a06a80203 Alpha is gone, no need to keep them. 2006-06-18 13:44:26 +00:00
brueffer
7357250c8b o Convert to our new SYNOPSIS layout
o Add "device scbus/pci/etc" where needed for consistency

MFC after:	3 days
2006-06-18 09:53:00 +00:00
brueffer
077463f2ab Correct date for the previous commit. 2006-06-18 07:33:51 +00:00
brueffer
6efe5a2dfd - Bring the hardware list up to date
- Convert to our standard SYNOPSIS layout
- Remove the kld from FILES, it's now mentioned in the SYNOPSIS
- Remove useless .Pp call at eof

MFC after:	3 days
2006-06-17 18:45:53 +00:00
netchild
57f3b26efe Add man page for the envy24 driver. 2006-06-17 16:43:21 +00:00
thompsa
a0100cc14d Document that we can only bridge wireless interfaces in hostap mode, this is
becoming a faq.

MFC after:	1 week
2006-06-16 23:03:22 +00:00
brueffer
3b85cc4c62 Mention that the powernow driver also supports AMD Cool'n'Quiet.
MFC after:	3 days
2006-06-16 14:51:23 +00:00
brueffer
4f3bb13306 mxge(4) works with altq.
Tested by:	gallatin
2006-06-15 19:38:42 +00:00
brueffer
f49b3e3c23 - new sentence -> new line
- s/freebsd/FreeBSD/ for consistency
- eol and eof whitespace removed
2006-06-14 18:26:34 +00:00
gallatin
12cf40a7a5 Remove the initial myri10ge driver, now that it has been
renamed mxge.
2006-06-14 17:07:21 +00:00
joel
7dfc8c73aa Fix spelling. 2006-06-14 08:32:25 +00:00
delphij
b0a06b380f Add a manpage for the CORE scheduler. 2006-06-14 02:16:51 +00:00
brueffer
b06caabc45 s/MYRI10GE/MXGE/ and a typo fixed. 2006-06-13 14:23:13 +00:00
gallatin
4b49620e7f - Complete the myri10ge -> mxge name change by doing a mechanical
s/myri10ge/mxge/g replacement in the myri10ge files.  A few contuation
  lines were joined because of the regained columns.
- Hook the mxge driver back to the build.
2006-06-13 13:53:52 +00:00
maxim
9a2ece0a0b o vinum.8 -> gvinum.8 as the former was replaced by the latter.
PR:		docs/98340
MFC after:	1 week
2006-06-11 19:41:07 +00:00
jkoshy
8806426e05 Cross-reference src.conf(5). 2006-06-11 08:30:38 +00:00
brueffer
aebc3016ce Be explicit about which chips support jumbo frames.
Suggested by:	Brad Smith
Obtained from:	OpenBSD
MFC after:	3 days
2006-06-10 15:14:12 +00:00
njl
00c07c3991 Move the reset beep tunable/sysctl to debug.acpi.resume_beep. This makes
more sense than under hw.acpi.  Also, document this in the man page.
2006-06-10 08:06:16 +00:00
maxim
6384ee9143 o Catch up v_flag split and replace VSYSTEM by VV_SYSTEM.
Inspired by:	jkoshy's commit to vgone.9
2006-06-08 04:39:02 +00:00
jkoshy
ddc3e83891 Catch up with the rename of symbol VDOOMED to VI_DOOMED in revision
1.198 of "sys/sys/vnode.h".  Remove a cross-reference to a manual
page that never existed.

---------------------------------------------------------------------- CVS:
PR:              Fill this in if a GNATS PR is affected by the
change.  CVS: Submitted by:    Fill this in if someone else sent
in the change.  CVS: Reviewed by:     Fill this in if someone else
reviewed your modification.  CVS: Approved by:     Fill this in if
you needed approval for this commit.  CVS: Obtained from:   Fill
this in if the change is from third party software.  CVS: MFC after:
N [day[s]|week[s]|month[s]] CVS:    Fill in to get MFC notification
later. (days assumed unless specified) CVS:
---------------------------------------------------------------------- CVS:
Enter Log.  Lines beginning with `CVS:' are removed automatically
2006-06-07 16:51:54 +00:00
glebius
8ec3e70ee9 Add section describing how ARP load balancing works and its
limitations:
  - Can't load balance behind router
  - ARP balancing + pfsync probably won't work

PR:		kern/93829
Wording by:	scottl
2006-06-07 10:26:51 +00:00
flz
dc95de3e71 Reflect latest changes in rc.subr wrt prefix/etcdir variables being set
automatically by load_rc_config.

With help from:	ru (mdoc-fu)
Reviewed by:	brueffer
Approved by:	cperciva
2006-06-07 10:20:57 +00:00
delphij
2540a38c42 Cleanups for mailwrapper(8):
- K&R -> ANSI prototype [O]
 - Do not bother to do free right before exit() or execve() [O]
 - Remove some dead code in addarg()
 - Make additional parameters specified in mailer.conf(5)
   actually work and document the fact. [N]
 - Avoid using __progname but instead use getprogname()
   and setprogname() to provide more sensible messages. [O, N]
 - Update $OpenBSD$ and $NetBSD$ to reflect the fact that we
   have sync'ed with their code.
 - WARNS=6

Obtained from/Inspired by:	OpenBSD [O], NetBSD [N] (partially)
2006-06-06 05:01:12 +00:00
brueffer
2007942da5 Some mdoc and wording improvements. 2006-06-05 20:29:31 +00:00
maxim
50ddaeffca o Add missed comma. 2006-06-05 19:55:44 +00:00
mjacob
37c3cf9522 Just a very quick update to get *close* to reality. 2006-06-05 19:46:55 +00:00
brueffer
c56d3e4138 my(4) provides support now as well. 2006-06-05 18:02:36 +00:00
joel
12e9888924 Fix minor typos. 2006-06-05 16:31:57 +00:00
pjd
904500481a - Document that padlock(4) pretends to accelerate HMAC algorithms.
- Remove "device cryptodev" as it is not needed for compiling padlock(4)
  into the kernel. Actually it is not advisable, because padlock
  instructions can be used directly from userland, so passing the work
  through the kernel is a bad idea.
2006-06-05 16:24:31 +00:00
rwatson
3b3f1e138b Break out description of the audit pipe facility from audit.4 into a new
man page, auditpipe.4, which describes the behavior of audit pipes, the
ioctls, preselection, etc.

Obtained from:	TrustedBSD Project
2006-06-05 15:26:09 +00:00
pjd
894360e76c Document more bits.
Reviewed by:	brd
2006-06-03 23:39:13 +00:00
kris
9257695685 Strengthen wording; the KTR_ENTRIES value *must* be a power of two since
the code depends on this.

MFC after:	1 week
2006-06-03 23:20:45 +00:00
thompsa
0a5ee5e4db Add rc.d/bridge which is invoked when a new interface arrives and can
automaticly add it to an Ethernet bridge. This is intended for applications
such as qemu, vmware, openvpn, ... which open tap interfaces and need them
bridged with the hosts network adapter, the user can set up a glob for
interfaces to be automatically added (eg tap*).
2006-06-01 11:01:54 +00:00
matteo
54eed11bfc Add jail_<jname>_exec_afterstart<N> rc.conf variable, where <N> is
1,2 and so on.
It specifies the command to be run as Nth after jail startup.

sh(1)-fu by: Dario Freni
PR: 	conf/97697
MFC after: 2 weeks
Reviewed by: ru@ (man page)
2006-05-30 16:20:48 +00:00
phk
971888ff99 Remove mention of minor number construction. 2006-05-27 10:20:17 +00:00
ceri
2309bc6b91 Clarify that G_F_DISKIOCTL is unused, and remove G_T_DETAILS altogether,
since it isn't actually #defined.

Discussed with:	phk
2006-05-25 13:39:27 +00:00
ceri
a98047b96c Clean up the grammar in here some. 2006-05-24 11:01:16 +00:00
imp
b187a35955 Add a stub man page for device_get_sysctl{_ctx,tree}. Needs some
work, but is better than nothing.  Any help appreciated.
2006-05-23 22:11:20 +00:00
pjd
a219cfbd3e Document missing CRYPTO_F_ flags. 2006-05-23 08:43:28 +00:00
mlaier
f92608f263 Remove stale altq instructions. They don't belong to the driver manpage
anyhow.
2006-05-20 21:12:06 +00:00
mlaier
344107bff0 ALTQ-ify nve(4).
Submitted by:	Chris Dionissopoulos
Tested by:	Chris Dionissopoulos
MFC after:	4 weeks
2006-05-20 21:08:09 +00:00
brueffer
eb6278122a Fix a formatting issue. 2006-05-20 10:19:53 +00:00
brueffer
7c38545a74 Convert to use a SYNPOSIS section that mentions kernel modules.
Also add "device scbus" where needed.

MFC after:	3 days
2006-05-20 09:39:28 +00:00
maxim
f4dd4705d0 o Sort .Xrs, touch .Dd. 2006-05-20 06:58:46 +00:00
brueffer
e0f0752b46 Minimal manpage for the acpi_dock driver. This needs to be fleshed out
by someone in the know about this driver.
2006-05-20 06:21:42 +00:00
ume
a8b26079aa Add description how to use caching.
Submitted by:	Michael Bushkov <bushman__at__rsu.ru>
2006-05-20 03:29:09 +00:00
rodrigc
99b97186f2 Remove reference to mount_procfs, which is no longer used by mount(8).
Add an example using "mount -t procfs".
2006-05-19 00:23:29 +00:00
rodrigc
4516fb6dc1 Remove reference to mount_linprocfs, which is no longer used by mount(8).
Add an example using "mount -t linprocfs".
2006-05-19 00:22:45 +00:00
flz
3d58ab6ef3 Add two new scripts (mdconfig/mdconfig2) to replace old ramdisk{,-own}
scripts. These scripts handle vnode backed md(4) devices.

Old ramdisk{,-own} scripts will stay a bit in CVS to allow some time for
migration since variable names have changed (ramdisk_* -> mdconfig_*).

Two new variables have been introduced to be able to populate the md(4)
device once it has been mounted (mdconfig_*_files and mdconfig_*_cmd).

Use should be as easy as:

mdconfig_md0="-t malloc -s 10m"
mdconfig_md1="-t vnode -f /var/foo.img"

See rc.conf(5) for more information and description of the additional
variables.

Approved by:	cperciva
2006-05-18 15:29:27 +00:00
rodrigc
8cc17894fe Remove reference to mount_devfs(8), since mount(8) no longer
invokes this mount_devfs when mounting devfs file systems.
2006-05-18 13:37:13 +00:00
rodrigc
df3a262e80 Add a man page for ext2fs. 2006-05-17 23:25:52 +00:00
pjd
fbc4e2cc40 Update HMAC algorithms. 2006-05-17 18:58:25 +00:00
pjd
7ec29a3365 Update manual page: cri_rnd field is gone, cri_mlen field was added. 2006-05-17 18:44:37 +00:00
csjp
26dc0858d5 Fix typo in device hint variable 2006-05-17 13:17:02 +00:00
maxim
7dbcaa9a39 o Replace alpha-specific DESTDIR to a sparc64 one.
Spotted by:	Gennady Proskurin
2006-05-17 11:31:24 +00:00
phk
537a82e24b Send the pcvt(4) driver off to retirement. 2006-05-17 09:33:15 +00:00
keramida
955080c0be Consistently use `superuser privileges' instead of its singular
form here and its plural there.

Submitted by:	Rostislav Krasny <rosti.bsd@gmail.com>
MFC after: 	3 days
2006-05-16 22:58:43 +00:00
rodrigc
051bc9bd7f Add reiserfs.5 man page to build. 2006-05-16 22:08:38 +00:00
rodrigc
69cb5ca68b Add man page for ReiserFS.
Reviewed by:	dumbbell
2006-05-16 22:06:47 +00:00
wilko
815d2ff3a4 Remove reference to Alpha architecture. 2006-05-15 20:58:05 +00:00
wilko
1b065f00e8 Remove reference to Alpha 2006-05-15 20:55:36 +00:00
maxim
3b1f2df0f9 o In the cross-build example replace alpha by sparc64. 2006-05-15 20:53:00 +00:00
wilko
f18a315fe9 Remove reference to the Alpha architecture. 2006-05-15 20:51:53 +00:00
wilko
4abe044f86 Remove reference to Alpha. 2006-05-15 20:48:18 +00:00
wilko
833dc2dde2 Remove reference to Alpha machine 2006-05-15 20:42:42 +00:00
marius
9bddf4cc14 Now that lnc(4) is removed from the source tree, replace lnc0 in an example
with fxp0 (fxp(4) was chosen as it's also used in a couple of examples in
other man pages and as it has good grep(1)'ability).
2006-05-15 20:28:18 +00:00
marius
b3c4948947 Now that lnc(4) is removed from the source tree, remove it from the list
of drivers supporting ALTQ.
2006-05-15 20:16:42 +00:00
mux
8bc28d95c0 Refer to csup in the make.conf(5) manpage.
Insta-MFC to follow.

Reminded by:	ru (some time ago)
2006-05-15 14:08:41 +00:00
wilko
3cfda041c5 With the demise of Alpha, remove Alpha specific diagnostic. 2006-05-14 22:19:11 +00:00
brueffer
b5c59e6fbf Add if_* MLINKS for bce(4) and le(4).
MFC after:	3 days
2006-05-14 15:45:44 +00:00
bms
28c1069b5c Don't quote IP_MAX_MEMBERSHIPS as 20 any more. 2006-05-14 14:13:30 +00:00
gnn
55c0f1d722 Remove the documentation from the Makefile as well. 2006-05-14 02:01:59 +00:00
gnn
30f565b7a6 Remove documentation for the deprecated lnc driver.
Reviewed By: simon
2006-05-14 01:55:20 +00:00
mlaier
23ea781ace Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.
Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw
scripts as well.
2006-05-12 19:17:34 +00:00
keramida
69574dfc7d Fix the web-appearance of Hardware notes, in the simplest way
possible; by re-arranging a couple of sentences in the ath(4)
HARDWARE section.

Clue by:	bmah
MFC after:	1 week
2006-05-12 17:58:11 +00:00
keramida
77351a04fc apropos(1) does not expand *roff macros that should appear in .Nd
text and, as a result, 'FreeBSD' is not visible in apropos output
when security(7) is displayed.  Fix this buglet by using a
literal 'FreeBSD' string in .Nd

PR:		docs/85986
Submitted by:	Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
MFC after:	1 week
2006-05-12 17:42:48 +00:00
keramida
b5d9042424 After a mini-discussion with Sam Leffler, remove the hardcoded
list of Atheros-based cards from ath(4).  The online list is
always more up to date, anyway.

This invalidates:

PR:		docs/95360
Submitted by:	Erik Nordstr:om Andersen <erik@erik-n-andersen.dk>
2006-05-12 12:55:56 +00:00
keramida
1fe559753b The 'device fd' line became obsolete some years ago, when the transition
to device hints was committed.  The GENERIC kernel configuration lost
its 'device fd' line at revision 1.260, committed by peter@ on
2000/06/13 22:28:46 UTC.

Delete the reference to 'device fd', to avoid kernel build breakage like
the one described in the PR audit trail.

PR:		docs/91448
Submitted by:	Eugene Grosbein <eugen@grosbein.pp.ru>
MFC after:	1 week
2006-05-11 17:23:03 +00:00
ambrisko
d502b8db32 Remove the dependency on procfs since it isn't used.
Noticed by:	des
2006-05-11 15:27:58 +00:00
flz
76e07854c3 - Change the "jail_" prefix for internal script variables. This fixes an
issue where some global jail_* variables were overriden in the script. [1]
- Change "jid" to "jname" in rc.conf(5), since it's more a jail name than a
jail id. [1]
- Update examples and comments in defaults/rc.conf to advertise new
variables and the fact that some of the jail-specific variables may be made
jail-global. [2]

Reported by:	pjd [1], clsung [2]
Approved by:	cperciva
X-MFC after:	i got sufficient testing from people using rc.d/jail
2006-05-11 14:23:43 +00:00