Commit Graph

12544 Commits

Author SHA1 Message Date
Alexander Motin
874bf0b64b Bump modification date. 2008-09-17 20:34:50 +00:00
Alexander Motin
0737f637ef Fix a typo. 2008-09-17 20:28:01 +00:00
Alexander Motin
49c93197a3 Add set of snd_hda driver configuration examples to the man page. 2008-09-17 20:17:22 +00:00
Attilio Rao
cecd8edba5 Remove the suser(9) interface from the kernel. It has been replaced from
years by the priv_check(9) interface and just very few places are left.
Note that compatibility stub with older FreeBSD version
(all above the 8 limit though) are left in order to reduce diffs against
old versions. It is responsibility of the maintainers for any module, if
they think it is the case, to axe out such cases.

This patch breaks KPI so __FreeBSD_version will be bumped into a later
commit.

This patch needs to be credited 50-50 with rwatson@ as he found time to
explain me how the priv_check() works in detail and to review patches.

Tested by:      Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Reviewed by:    rwatson
2008-09-17 15:49:44 +00:00
Andrew Thompson
51e1463035 Allow a jail to be started with a specific route fib.
Reviewed by:	secteam (simon)
Reviewed by:	brooks, bz
2008-09-16 20:18:25 +00:00
Konstantin Belousov
52dfc8d7da Add the ffs structures introspection functions for ddb.
Show the b_dep value for the buffer in the show buffer command.
Add a comand to dump the dirty/clean buffer list for vnode.

Reviewed by:	tegge
Tested and used by:   pho
MFC after:   1 month
2008-09-16 11:19:38 +00:00
Edwin Groothuis
acd5ab2fcb MFV of tzdata2008c:
Changes for Mauritius, Morocco, Pakistan, Palestine, Argentina and Brazil.

Approved by:	bde@ (implicit)
2008-09-16 04:39:44 +00:00
Sam Leffler
5a2637d215 decription of macros to add ddb commands
Submitted by:	Guillaume Ballet <gballet@gmail.com>
MFC after:	1 month
2008-09-15 23:13:29 +00:00
Konstantin Belousov
dcd8bc9a08 Connect dev_clone.9 and devfs_set_cdevpriv.9 to the build. 2008-09-15 10:12:04 +00:00
Joel Dahl
c43aea0f68 Minor language fixes and updates to the hardware section. 2008-09-14 09:56:35 +00:00
Alexander Motin
04b96d88cd Update man page according to r182999 snd_hda driver update. 2008-09-13 17:01:38 +00:00
Konstantin Belousov
0763bc964b Remove unneeded comma.
Noted by:	kensmith
2008-09-12 13:04:39 +00:00
Konstantin Belousov
817bf377d3 Document dev_clone eventhandler interface 2008-09-11 11:43:47 +00:00
Konstantin Belousov
630f2c3ba3 Add a first draft of the cdevpriv(9) documentation 2008-09-11 11:41:33 +00:00
Konstantin Belousov
fe7546493e Document make_dev_credf(9), destroy_dev_sched(9) and destroy_dev_drain(9)
functions.

Reviewed by:	brueffer
2008-09-11 11:38:48 +00:00
Konstantin Belousov
43826d2c06 Update insmntque(9) manpage, bringing it close to reality.
Reviewed by:	brueffer
2008-09-11 11:36:21 +00:00
John Baldwin
26e4688329 Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and
the driver worked ok with them.

Tested by:	friends of yar
2008-09-10 18:36:58 +00:00
Maksim Yevmenkin
618f3d8c0a Document TAPGIFNAME, TAPSIFINFO and TAPGIFINFO tap(4)
character device ioctl's.

MFC after:	1 week
2008-09-08 22:44:51 +00:00
Andrew Thompson
6945d73b44 Put the bridge mac inheritance behind a sysctl with the default off as this
still needs all the edge cases fixed.

Submitted by:	Eygene Ryabinkin
2008-09-08 03:28:26 +00:00
Konstantin Belousov
d56aeabac3 Document BUS_DMA_NOCACHE.
MFC after:	3 days
2008-09-06 15:21:01 +00:00
Josh Paetzel
3aa648965f Add myself to the list of ports committers.
Approved by:	ade (mentor)
2008-09-06 14:10:31 +00:00
Ed Maste
7c77eeb816 Add a note that CTASSERT() should not be used in header files. 2008-09-05 15:24:54 +00:00
Christian Brueffer
f083c6eb98 Hook up ixgbe(4) to the build. D'oh! 2008-09-04 20:45:32 +00:00
Ed Schouten
64308260f6 Implement pts(4) packet mode.
As reported by several users on the mailing lists, applications like
screen(1) fail to properly handle ^S and ^Q characters. This was because
MPSAFE TTY didn't implement packet mode (TIOCPKT) yet. Add basic packet
mode support to make these applications work again.

Obtained from:	//depot/projects/mpsafetty/...
2008-09-04 16:39:02 +00:00
Attilio Rao
59d4932531 Decontextualize vfs_busy(), vfs_unbusy() and vfs_mount_alloc() functions.
Manpages are updated accordingly.

Tested by:	Diego Sardina <siarodx at gmail dot com>
2008-08-31 14:26:08 +00:00
Attilio Rao
65eb71bd3c Reflect recent changes to the sysctl debug.witness.watch moving into a
tri-state variable.
2008-08-30 13:37:28 +00:00
Jung-uk Kim
9c8d21f901 Add links to all bpf(9) functions. 2008-08-28 17:04:52 +00:00
Attilio Rao
0359a12ead Decontextualize the couplet VOP_GETATTR / VOP_SETATTR as the passed thread
was always curthread and totally unuseful.

Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
2008-08-28 15:23:18 +00:00
Warner Losh
c21156876b Add recent ELSA additions to wi(4), plus make sure the list matches
the driver for ELSA.

PR:		77913
Submitted by:	Daan Vreeken
MFC after:	3 days
2008-08-27 04:55:37 +00:00
Kevin Lo
7ddc7b1390 Add DWA-110 and DWA-111 to the list of devices supported by rum(4) 2008-08-25 05:51:58 +00:00
Warner Losh
d0e7c113ef Note that most Windows CE phones are supported by this driver.
# It would be nice if we had a good way to generate this list from the driver
# list itself, since there's now over 400 listed Ids.
2008-08-25 02:38:28 +00:00
Warner Losh
c2ff473db7 Update uipaq for FreeBSD's driver:
o List all devices FreeBSD supports (more on the way)
o Sort the list of supported devices
o Note this was introduced with FreeBSD 7.0
o Include the FreeBSD configuration synopsis
o Bump the man page date
o Put $FreeBSD$ where all the other usb man pages have it.
And add to build.
2008-08-25 02:05:04 +00:00
Warner Losh
78d0868b47 Bring in verbatim copy of NetBSD's uipaq.4 man page. This in turn was
copied from OpenBSD.  I'll adjust the history section to reflect
FreeBSD's history, and attach it to the build later.
2008-08-25 01:51:40 +00:00
John Baldwin
aa7c1c059f Add a very simple dpms(4) driver that uses the VESA BIOS DPMS calls to
turn off the external display during suspend and restore it to its
original state on resume.

MFC after:	2 weeks
2008-08-23 21:00:40 +00:00
Warner Losh
632ed478b0 Document that devlistp and devcountp are only updated when there's no
error.
Bump date.
2008-08-23 07:50:20 +00:00
John Baldwin
bbb8e141e3 Add a label for myself. 2008-08-22 18:52:27 +00:00
Ollivier Robert
4b3963629c Add myself there. 2008-08-22 16:06:35 +00:00
Edward Tomasz Napierala
65cf8f0691 Add myself.
Approved by:	rwatson
2008-08-22 13:29:30 +00:00
Rui Paulo
0e5f2a7748 Merge the relevant information of man4.i386/ichwd.4 into man4/ichwd.4
and remove ichwd(4) man page from man4.i386.

Submitted by:	gavin
Reviewed by:	des, me
Approved by:	des
2008-08-21 17:53:13 +00:00
Rui Paulo
e676955476 Move man pages out of man4.i386. Most of them are applicable to amd64
too, so, instead of descending to the i386 directory, we add some magic to
the parent Makefile.
These man pages refer to drivers that I'm aware that work on amd64. Most
likely there are more, but I'll deal with them later.

Approved by:	brueffer, philip, takawata
2008-08-21 00:40:55 +00:00
Rui Paulo
b94497f9fb Instal k8temp(4) man page only on amd64 and i386.
MFC after:	1 week
2008-08-20 13:04:27 +00:00
Rui Paulo
eb48ed4558 Add Eee PC. 2008-08-20 12:36:53 +00:00
Rui Paulo
c59abcf330 Revert r181886. A man page already exists in man.i386.
I didn't notice it because I was on amd64.

Pointy hat to:	me
Pointed out by:	several
2008-08-20 11:48:04 +00:00
Ed Schouten
bc093719ca Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:

- Improved driver model:

  The old TTY layer has a driver model that is not abstract enough to
  make it friendly to use. A good example is the output path, where the
  device drivers directly access the output buffers. This means that an
  in-kernel PPP implementation must always convert network buffers into
  TTY buffers.

  If a PPP implementation would be built on top of the new TTY layer
  (still needs a hooks layer, though), it would allow the PPP
  implementation to directly hand the data to the TTY driver.

- Improved hotplugging:

  With the old TTY layer, it isn't entirely safe to destroy TTY's from
  the system. This implementation has a two-step destructing design,
  where the driver first abandons the TTY. After all threads have left
  the TTY, the TTY layer calls a routine in the driver, which can be
  used to free resources (unit numbers, etc).

  The pts(4) driver also implements this feature, which means
  posix_openpt() will now return PTY's that are created on the fly.

- Improved performance:

  One of the major improvements is the per-TTY mutex, which is expected
  to improve scalability when compared to the old Giant locking.
  Another change is the unbuffered copying to userspace, which is both
  used on TTY device nodes and PTY masters.

Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.

Obtained from:		//depot/projects/mpsafetty/...
Approved by:		philip (ex-mentor)
Discussed:		on the lists, at BSDCan, at the DevSummit
Sponsored by:		Snow B.V., the Netherlands
dcons(4) fixed by:	kan
2008-08-20 08:31:58 +00:00
Rui Paulo
d3acb88aca Add a man page for the acpi_asus(4) driver.
MFC after:	1 week
2008-08-19 23:06:21 +00:00
David E. O'Brien
5241279fa1 Rename the RCng 'kernel' script to 'kernel_symlink'.
Requested by: many
2008-08-19 14:23:31 +00:00
Simon L. B. Nielsen
f1bec2c1ef Fix mdoc markup in r181825. 2008-08-18 09:45:26 +00:00
Philip Paeps
19a71edb3a Document the addition of the hw.ata.ata_dma_check_80pin tunable.
Submitted by:	Patrick Lamaizière <patfbsd -at- davenulle.org>
MFC after:	1 week
2008-08-18 09:17:16 +00:00
Rui Paulo
5f32510e53 Add ECN sysctls and ECN RFC. 2008-08-16 21:12:25 +00:00
Ed Schouten
2e37c8eacb Convert the snp(4) driver to use cdevpriv.
Now we have a single /dev/snp device node, which can be opened by
watch(8) multiple times. Even though snp(4) will be dead as of next
week, it's nice having this in SVN, because:

- We may want to MFC it to RELENG_7.
- By the time we fix snp(4) again, it's already there, existing watch(8)
  binaries should already work.

Just like bpf(4), I'm adding a symlink from snp0 to snp to remain binary
compatible.
2008-08-15 13:07:07 +00:00
Ed Schouten
8fced8fcdf Bump __FreeBSD_version to 800043, because of the bpf(4) change.
bpf(4) now uses cdevpriv to distinguish multiple file descriptors, where
it used to be implemented using device cloning. Ports like libpcap
properly detect the change in their configure scripts, but it doesn't
hurt to increase __FreeBSD_version.

While there, change the bpf(4) manual page to refer to /dev/bpf instead
of /dev/bpfN.

Requested by:	mlaier
2008-08-13 17:45:06 +00:00
Kevin Lo
908e4a44b6 Add et(4) to the list of drivers use the miibus interface 2008-08-12 01:17:34 +00:00
Christian Brueffer
2c97c27451 Correct a few minor markup and grammar issues. 2008-08-11 08:42:31 +00:00
Weongyo Jeong
e60fe67cbc Connect upgt.4 to the build. 2008-08-11 04:48:34 +00:00
Weongyo Jeong
b3be9d15b4 Add Conexant/Intersil PrismGT SoftMAC wireless USB driver - upgt(4).
This driver supports GW3887 based chipsets and works on
x86/powerpc/sparc64.  You need upgtfw kernel module before loading
upgt(4).  Please see the manpage.

Obtained from:	OpenBSD
2008-08-11 03:57:31 +00:00
Philip Paeps
66863836a9 Typo: glxsb(4) was imported to FreeBSD 8.0, not 7.0.
Spotted by:	kib
2008-08-09 15:09:51 +00:00
Philip Paeps
edd30e9cc7 Add the glxsb(4) manual page.
Submitted by:	Patrick Lamaizière <patfbsd -at- davenulle.org>
MFC after:	1 week
2008-08-09 14:54:19 +00:00
David E. O'Brien
d606fed624 Only symlink booted kernel directory to /boot/kernel if user has explicitly
requested it.  This is too dangerous to just do behind the admin's back.
2008-08-09 06:35:19 +00:00
Stanislav Sedov
e085f869d5 - Add cpuctl(4) pseudo-device driver to provide access to some low-level
features of CPUs like reading/writing machine-specific registers,
  retrieving cpuid data, and updating microcode.
- Add cpucontrol(8) utility, that provides userland access to
  the features of cpuctl(4).
- Add subsequent manpages.

The cpuctl(4) device operates as follows. The pseudo-device node cpuctlX
is created for each cpu present in the systems. The pseudo-device minor
number corresponds to the cpu number in the system. The cpuctl(4) pseudo-
device allows a number of ioctl to be preformed, namely RDMSR/WRMSR/CPUID
and UPDATE. The first pair alows the caller to read/write machine-specific
registers from the correspondent CPU. cpuid data could be retrieved using
the CPUID call, and microcode updates are applied via UPDATE.

The permissions are inforced based on the pseudo-device file permissions.
RDMSR/CPUID will be allowed when the caller has read access to the device
node, while WRMSR/UPDATE will be granted only when the node is opened
for writing. There're also a number of priv(9) checks.

The cpucontrol(8) utility is intened to provide userland access to
the cpuctl(4) device features. The utility also allows one to apply
cpu microcode updates.

Currently only Intel and AMD cpus are supported and were tested.

Approved by:	kib
Reviewed by:	rpaulo, cokane, Peter Jeremy
MFC after:	1 month
2008-08-08 16:26:53 +00:00
Edwin Groothuis
f281c10a84 Replace description on how to do CVS imports on this module with a
description on how to do SVN imports on this module.

Approved by:	bde (implicit)
2008-08-08 04:37:43 +00:00
Edwin Groothuis
feacbe24de MFV on tzdata2008e:
- Fix dates in 2008/2009 for Africa/Mauritius.
- Leap second notification for the end of 2008.

Approved by:	bde (mentor, implicit), des
MFC after:	1 week
2008-08-08 04:29:39 +00:00
Edwin Groothuis
a88fb43c2a MFV of tzdata2008d
- Mauritius will have a DST experiment between 2008-11-01 and 2009-03-31.
- Add/Fix historical data for C-Eur, the SovietZone, Germany,
  Bahamas, San Luis.
- Add information about West Para (America/Santarem)
- America/Eirunepe and America/Rio_Branco go to UTC-4

Approved by:	bde (mentor, implicit), des
MFC after:	1 week
2008-08-08 04:20:36 +00:00
Edwin Groothuis
01910fcbf4 MFV of tzdata2008c
- Africa/Morocco will have DST in 2008.
- Asia/Choibalsan should be GMT+08:00.
- Asia/Pakistan will have DST in 2008.

Also set all the svn:eol-style properties to native.

Approved by:	bde (mentor, implicit), des
MFC after:	1 week
2008-08-08 03:48:10 +00:00
Edwin Groothuis
9116c0d4e2 Revert the change in leapseconds for 31 december 2008, so I can
properly bootstrap the merge history on this module.

Approved by:	bde (implicit)
2008-08-08 03:18:30 +00:00
Edwin Groothuis
4920bffd86 Cleanup (cont)
Remove Theory, which isn't part of the zoneinfo module but came out
of /head/usr.sbin/zic (and isn't installed from there neither).

Approved by:	bde (implicit)
MFC after:	1 week
2008-08-08 02:55:34 +00:00
Edwin Groothuis
af252fa7e6 Flatting the vendor dist tree of tzdata.
Approved by:	bde (mentor, implicit), des
2008-08-07 23:59:20 +00:00
John Baldwin
414e7679cb Permit Giant to be passed as the explicit interlock either to
msleep/mtx_sleep or the various cv_*wait*() routines.  Currently, the
"unlock" behavior of PDROP and cv_wait_unlock() with Giant is not
permitted as it is will be confusing since Giant is fully unrecursed and
unlocked during a thread sleep.

This is handy for subsystems which wish to allow unlocked drivers to
continue to use Giant such as CAM, the new TTY layer, and the new USB
stack.  CAM currently uses a hack that I told Scott to use because I
really didn't want to permit this behavior, and the TTY and USB patches
both have various patches to permit this.

MFC after:	2 weeks
2008-08-07 21:00:13 +00:00
John Baldwin
2cdcea5ed8 Document the new return values for sleepq_abort(), sleepq_broadcast(), and
sleepq_signal().

Prodded by:	attilio
2008-08-07 20:47:01 +00:00
Christian Brueffer
44c81fb8b3 Comment out information about Jumbo Frame support, it's not
implemented yet.  While here, fix a whitespace nit.

Discussed with:		delphij
2008-08-07 07:32:40 +00:00
Andrew Thompson
7f05f04afd Remove a comment about bridging wireless client, the new net80211 vap code
supports this.
2008-08-04 23:16:07 +00:00
Robert Watson
0dda506c4c DDB scripting, textdumps, output capture, etc, all will appear in
FreeBSD 7.1 before 8.0 ships.

Spotted by:	Ulrich Spoerlein <uspoerlein at gmail dot com>
MFC after:	3 days
2008-08-03 14:14:43 +00:00
Warner Losh
a653651375 Bumpd date
Minor word smithing on the need for newer firmware.
2008-08-02 23:41:10 +00:00
Warner Losh
1edd9c5b7a Add entry for Prism-3 based Siemens SpeedStream card. It has
identical packaging and model numbers, but has had the Prism-II chips
replaced by Prism-3.  The wi driver was just updated with the new
entry.
2008-08-02 23:29:35 +00:00
Sam Leffler
db3f3bde0e Try to fixup last (inadvertent) commit: firmware_drain was never added so
yank it's description; likewise for the FIRMWARE_WAIT flag to firmware_put.

For the record, the last commit was to cleanup various mistakes and correct
the example of embedding to reflect the npe firmware now being distributed
with the system.
2008-08-02 17:51:38 +00:00
Sam Leffler
6e0186d5ee add callout_schedule; besides being useful it also improves
compatibility with other systems

Reviewed by:	ed, battlez
2008-08-02 17:42:38 +00:00
Colin Percival
cd44e09c66 Document new IDSIgnorePaths directive. 2008-08-02 00:13:51 +00:00
Dag-Erling Smørgrav
5373c6c718 According to a proposed Norwegian standard for alphabetization of which
I've obtained a draft, <u:> is indeed equivalent to u (to my surprise),
and <th> sorts immediately after z.

The correct ordering is algorithmic (based on the EOR) and can not be
accurately represented as a table.
2008-07-30 15:37:13 +00:00
Robert Noland
708c907f6b Add my entry with a pointer to garga (mentor)
Approved by:	garga (mentor)
2008-07-30 01:05:13 +00:00
Dag-Erling Smørgrav
a6fca50fd7 In the previous commit, no_NO should have been replaced with nb_NO in the
LOCALES list.  Since no_NO was still in LOCALES, make tried to build the
corresponding .out files, but couldn't since the .src files were gone.  I
did not notice this because I still had the old .out files in my .OBJDIR.
Thanks to kib@ for the heads-up.
2008-07-29 11:32:42 +00:00
Ollivier Robert
0f645c3e56 Macbook [Pro] keyboards in AZERTY don't need shift to get to '~'.
MFC after:	3 days
2008-07-29 08:07:27 +00:00
Dag-Erling Smørgrav
5c86b693d6 In some cases (such as LC_COLLATE), nb_NO and nn_NO are identical, and it
makes sense to have them both link to no_NO.

In other cases (such as LC_TIME), they differ, and the correct solution
is to have no_NO link to nb_NO, rather than the other way around.o

MFC after:	2 weeks
2008-07-28 21:50:21 +00:00
Dag-Erling Smørgrav
d3fbed0e09 Add collation sequence for no_NO. The same sequence applies to nb_NO
and nn_NO, which are symlinked to no_NO.

The patch in the PR contained a number of errors apparently based on
(sometimes incorrect) pronunciation; for instance, v and w are
distinct letters and should be collated in that order, even if they
are pronounced the same, while <u:> should be collated with u, even
though it is often mispronounced as y.  For lack of a solid reference,
I have taken sv_SE and simply changed the last three letters of the
alphabet.

PR:		conf/51920
MFC after:	2 weeks
2008-07-28 21:33:34 +00:00
Warner Losh
f1345f5393 Add a few clarifications to this man page. Also, add a table that
describes the minimum versions of each feature and each chipset type
supported by this driver.  Basically, unless you have a very modern
version of firmware on a Prism card, you won't be able to use these
cards for much on modern networks that have any kind of protection
enabled, except for the few WEP-only stranglers that appear at some
conferences...
2008-07-26 18:31:39 +00:00
Maxim Konovalov
c96ef7e002 o DragonFly BSD 2.0 added. 2008-07-23 14:25:39 +00:00
Warner Losh
a678ba4ec8 Turn of SSP for mips for now until support is added to the base
architecture.
2008-07-23 06:14:21 +00:00
Philip M. Gollucci
fc2b30de6c Adding myself as a new ports committer
Reviewed by:    gabor (mentor)
Approved by:	araujo (mentor)
2008-07-23 01:37:04 +00:00
Wesley Shields
5f4ddc9610 Retroactively add my entry and link to garga. Forgot to do this when I
got my commit bit.
2008-07-23 01:19:56 +00:00
VANHULLEBUS Yvan
c1842f7d5d Added me as a commiter
Approved by:	gnn (mentor)
2008-07-22 16:01:57 +00:00
Pawel Jakub Dawidek
7f41115ef6 Implement the following macros for completeness:
SYSCTL_QUAD()
	SYSCTL_ADD_QUAD()
	TUNABLE_QUAD()
	TUNABLE_QUAD_FETCH()

Now we can use 64bit tunables on 32bit systems.
2008-07-21 15:05:25 +00:00
Maxim Konovalov
dc5aa2110e o Document "show conifhk", wording from r180610 commit log.
Reviewed by:	rwatson
2008-07-21 10:03:02 +00:00
Lars Engels
fdec4b4190 Properly underline force_depend's parameter.
Reviewed by:	brueffer
2008-07-20 10:06:14 +00:00
Olivier Houchard
ad8abd6c4d Disable SSP on arm for the time being.
The segfaults when using SSP seem to be a gcc bug, a patch is available
in the gcc bugzilla, and will be imported once it's committed
into the official gcc tree.
2008-07-19 00:19:16 +00:00
David Malone
167fcf0511 Add a man page for the DNS accept filter. 2008-07-18 14:46:01 +00:00
Christian Brueffer
960e10f9e9 Manpage for the et(4) driver.
Obtained from:	DragonFly
2008-07-14 18:15:43 +00:00
Remko Lodder
1091cc09ef More explicitly mention that we support the 2920C with the ahc driver.
PR:		125535
Submitted by:	Bob Bishop <rb at gid dot co dot uk>
MFC after:	3 days
2008-07-13 13:56:21 +00:00
Daniel Gerzo
6b527d112c Back-out my previous change. See the thread at
http://lists.freebsd.org/pipermail/cvs-all/2008-July/263779.html
2008-07-10 11:24:41 +00:00
Weongyo Jeong
f4841b5380 the driver don't support AD-HOC mode currently. 2008-07-10 08:44:02 +00:00
Daniel Gerzo
1249a78860 - nested functions are a GCC extensions and should not be used
Submitted by:	gahr
MFC after:	3 days
2008-07-09 14:04:28 +00:00
Poul-Henning Kamp
6c6c706891 Leapsecond at end of december. 2008-07-09 06:59:14 +00:00
Stacey Son
753335480e Added myself to the src committers graph.
Approved by:	jb (mentor)
2008-07-08 15:36:44 +00:00
Weongyo Jeong
4951c55c3c remove a useless example.
Pointed by:	imp
2008-07-08 04:15:07 +00:00
Bjoern A. Zeeb
dea0ed6690 Add a `show cpusets' DDB command to print numbered root and
assigned CPU affinity sets.

Reviewed by:	brooks
2008-07-07 21:32:02 +00:00
David Malone
0d1532e0ef Update man page for addition of BIOCSETFNR. Subversion didn't want
to commit this at the same time for some reason.
2008-07-07 09:27:02 +00:00
Weongyo Jeong
55f2aa7451 correct device name errors and wrong informations that currently malo(4)
don't support ad-hoc mode and there's no a man page like malofw(4).
2008-07-07 02:39:39 +00:00
Warner Losh
278324026c Add two corega cards and annotate 8041 V2 chipset. 2008-07-06 06:24:02 +00:00
John Baldwin
a78c3ed89c Remove the sbsh(4) driver. No one responded to requests for testing the
MPSAFE patches on current@ and stable@.  This driver also has a fundamental
issue in that it sleeps when sending commands to the card including in the
if_init/if_start routines (which can be called from interrupt context).  As
such, the driver shouldn't be working reliably even on 4.x.
2008-07-04 21:24:35 +00:00
John Baldwin
e9a31041c0 Remove the sbni(4) driver. No one responded to calls to test it on
current@ and stable@.
2008-07-04 21:06:57 +00:00
John Baldwin
67c58e8a6e Remove the cnw(4) driver. No one responded to calls to test it on current@
and stable@.  It also is a driver for an older non-802.11 wireless PC card
that is quite slow in comparison to say, wi(4).  I know Warner wants this
driver axed as well.
2008-07-04 19:13:15 +00:00
John Baldwin
2c6298572e Remove the oltr(4) driver. No one responded to calls for testing on
current@ and stable@ for the locking patches.  The driver can always be
revived if someone tests it.

This driver also sleeps in its if_init routine, so it likely doesn't really
work at all anyway in modern releases.
2008-07-04 18:58:53 +00:00
John Baldwin
94f923b69d Remove the arl(4) driver. It is reported to not work on 6.x or later
even though the driver hasn't changed since 4.x (last known working
release).
2008-07-04 18:15:36 +00:00
Nathan Whitehorn
97a04b5e19 Add manpage for Apple BMAC ethernet driver.
Approved by:	marcel (mentor)
2008-07-04 14:51:42 +00:00
Coleman Kane
9ca73354c1 Belatedly add myself to the committers graph 2008-07-03 21:45:25 +00:00
Nathan Whitehorn
d9cc0983c0 Add myself to src committers graph.
Approved by:	marcel (mentor)
2008-07-03 18:57:00 +00:00
Marcel Moolenaar
a2cf3067bb Belatedly add myself to the active *cough* doc committers. 2008-07-03 17:10:18 +00:00
Marcel Moolenaar
86b5ed746d Belatedly add myself to the alumni section. 2008-07-03 17:02:43 +00:00
Marcel Moolenaar
1dfe7ce0eb Soren was my mentor.
I have mentored arun and marius.
2008-07-03 16:53:19 +00:00
Marcel Moolenaar
725eabd13a Belatedly add myself to the active committer section. 2008-07-03 16:49:33 +00:00
Daniel Gerzo
139ce056e6 - fix typos
PR:		docs/125223
Submitted by:	Fabian Keil <fk (a) fabiankeil.de>
MFC after:	3 days
2008-07-03 16:48:35 +00:00
Marc Fonvieille
29881a8358 Elexol USB MOD3 is also supported. 2008-07-03 12:48:13 +00:00
Ed Maste
1f56858361 Add explicit PCI IDs for the following Adaptec RAID Series 2 adapters:
Adaptec RAID 2045
  Adaptec RAID 2405
  Adaptec RAID 2445
  Adaptec RAID 2805

Without this change these devices are supported by the driver's family
support, but they then appear as "Adaptec RAID Controller" in boot
messages and the dev.aac.0.%desc sysctl.
2008-06-27 19:34:47 +00:00
Ruslan Ermilov
5c1eb5ea14 Regen properly. 2008-06-25 21:42:23 +00:00
Ruslan Ermilov
5a9bc08994 Regen. 2008-06-25 21:36:25 +00:00
Ruslan Ermilov
042df2e2da Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
  turned opt-in for stable branches depending on the consensus.  You
  can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
  It is harmless to steal the knob as SSP symbols have been provided
  by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
  (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
  libc will be automatically downgraded to -fstack-protector because it
  breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by:	Jeremie Le Hen <jeremie@le-hen.org>
2008-06-25 21:33:28 +00:00
Alex Dupre
172b9da045 Fix links to online gcc docs.
Reported by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
MFC after:	1 day
2008-06-25 06:07:03 +00:00
Simon L. B. Nielsen
44c8009459 To catch up with rev 179872: rename enable_quotas to quota_enable. 2008-06-21 13:53:35 +00:00
Daniel Gerzo
1d9fef7106 - link powerd(8) man page
PR:		docs/123111
MFC after:	3 days
2008-06-20 23:04:34 +00:00
Andrew Thompson
131c55bc5b Add support for the optional key in the GRE header.
PR:		kern/114714
Submitted by:	Cristian KLEIN
2008-06-20 17:26:34 +00:00
Remko Lodder
6a4c41d1bb Document the _arg versions of the uma_zalloc and uma_zfree functions.
PR:		docs/120357
Submitted by:	gahr
MFC after:	3 days
2008-06-19 18:33:38 +00:00
Dmitry Marakasov
8caf8ff11d Add myself.
Approved by:	miwi (mentor)
2008-06-19 16:30:06 +00:00
Attilio Rao
4dc7ad3968 Add the option stub for the Globetrotter Max 3.6 Modem.
Submitted by:	Greg Rivers <gcr at tharned dot org>
2008-06-18 20:50:30 +00:00
Christian Brueffer
dd76dbbb9c Bring this up to date with regard to our other section 4 and Intel manpages,
also fixes a few mdoc bugs.
2008-06-17 21:14:02 +00:00
Ermal Luçi
54d22c68f2 Record my roots.
Reviewed by:	mlaier (mentor)
2008-06-16 17:38:48 +00:00
George V. Neville-Neil
d55f384033 Update to include the Camellia algorithm which is in the code but
which was accidentally left undocumented in the manual page.
2008-06-16 14:33:54 +00:00
Doug Barton
d57e5bc480 Properly alphabetize the BSD_CPIO option 2008-06-16 07:23:12 +00:00
Doug Barton
50ad447b90 Regenerate to add the definitions of WITHOUT_BSD_CPIO WITH_GNU_CPIO
and WITHOUT_GNU_GREP
2008-06-16 05:50:21 +00:00
Doug Barton
6973701a00 1. Make the BSD version of cpio the default [1]
a. The BSD version will be built and installed unless
WITHOUT_BSD_CPIO is defined.
b. The GNU version will not be built or installed unless
WITH_GNU_CPIO is defined. If this is defined, the symlink
in /usr/bin will be to the GNU version whether the BSD
version is present or not.

When these changes are MFCed the defaults should be flipped.

2. Add a knob to disable the building of GNU grep. This will
make it easier for those that want to test the BSD version in
the ports.

Approved by:	kientzle [1]
2008-06-16 05:48:15 +00:00
Doug Barton
076a71a21e Regenerate using svn $FreeBSD$ tags. There is no change in the actual
man page text other than the date.
2008-06-16 05:33:16 +00:00
Oleksandr Tymoshenko
10a6caea1b It's Friday the 13th, not the 10th and I can't travel in time. Yet. 2008-06-13 19:45:12 +00:00
Oleksandr Tymoshenko
2eb30874af Add "fast" versions of macros and functions to taskqueue(9) API
description: TASKQUEUE_FAST_DEFINE(9), TASKQUEUE_FAST_DEFINE_THREAD(9),
  taskqueue_create_fast(9). They deal with taskqueues intended for use
  in fast interrupt handlers.

  Approved by:	cognet (mentor)
  Reviewed by:	keramida
2008-06-13 19:35:17 +00:00
Ivan Voras
18cf13e0ba Record my place in the universe.
Approved by:	gnn (mentor)
2008-06-12 22:53:27 +00:00
Remko Lodder
898779e1ef Document more tmpfs mount options that are already
available.

PR:		124488
Submitted by:	gahr
2008-06-12 18:49:24 +00:00
Jack F Vogel
aa15c94529 Add man page for ixgbe driver 2008-06-11 18:49:55 +00:00
Warner Losh
b7b4d1fd3f Add Belkin F5U257 to the mix. 2008-06-10 19:33:31 +00:00
Paul Saab
160b4e6bfc Add support for the P212, P410, P410i, P411, and P812 HP Smart Array
controllers.

Submitted by:  Scott Benesh at HP
2008-06-10 17:51:51 +00:00
Wojciech A. Koszek
5bbaa5cf02 Mark "highaddr" and "lowaddr" appropriately. Change "dma" to "DMA".
Fix spelling mistage found by rodrigc@.

Reviewed by:	rodrigc, danger
2008-06-09 22:13:14 +00:00
Wojciech A. Koszek
e14e342b14 Change header file references from <filename>.h to
path relative to /usr/include. It looks much better anyway.

Instead of referencing "socket", which is bogus, reference
'sys/socket.h', which is what should be placed here from
the beggining.

Suggested by:	maxim
2008-06-08 21:08:20 +00:00
Wojciech A. Koszek
cad20b04fe Fix the way the date must be specified (leading 0 is redundant).
Fix several spelling mistakes brought by my earlier commit.
Trim whitespace.

Submitted by:	maxim
2008-06-08 21:01:39 +00:00
Wojciech A. Koszek
b1772905eb Bring more commands to the ddb(4) manual page. This should be considered
"complete" list, but some commands might be still missing.

Reviewed by:	julian
2008-06-08 09:09:08 +00:00
Attilio Rao
02c916540f Add the missing option LK_NOWITNESS for vn_lock / VOP_LOCK operations. 2008-06-05 17:07:33 +00:00
Philip Paeps
94ef1cc3b7 Recode the colemak keymap to ISO-8859.
I accidently converted the file to Unicode before committing it and
kbdcontrol doesn't like that very much.

Spotted by:	ed
Pointy hat to:	philip
MFC after:	1 day
2008-06-04 12:22:03 +00:00
Alexander Kabaev
e476ebf3d5 Add device ID for AnyDATA ADU-500A EV-DO modem.
Submitted by: Oleksandr Tatmanyants
PR: 118479
2008-06-03 03:31:53 +00:00
Remko Lodder
2227a3e9e1 Dont install .svn metadata with the sendmail install.
Submitted by:	marcel
Approved by:	imp (mentor, implicit)
MFC after:	3 days
2008-05-31 19:15:15 +00:00
Giorgos Keramidas
9d031b92bb Various mdoc style and wording fixes.
Reviewed by:	ariff
MFC after:	3 days
2008-05-28 05:46:04 +00:00
Maksim Yevmenkin
00e41a48c2 Bluetooth SIG is being difficult and keep moving specification
documents away from being public accessible. Replace link to
the Bluetooth specification document with the document name.

Pointed out by:	SoftLover < slserg at uic dot tula dot ru >
MFC after:	3 days
2008-05-27 17:46:32 +00:00
Philip Paeps
d90de33855 Add support for the Colemak keyboard layout from: http://colemak.com/.
# While here, restore alphabetical order in INDEX.keymaps.

Submitted by:	Geert Hendrickx <ghen -at- netbsd.org>
MFC after:	1 week
2008-05-27 13:19:06 +00:00
Pyun YongHyeon
2af07c4e1b ASUS G2S notebook is supported by age(4).
Reported by:	Chad Albert ( chad.albert AT healthcarefirst DOT com )
2008-05-27 03:43:45 +00:00
Pyun YongHyeon
2a5ba967f0 Hook up jme(4) to the build. 2008-05-27 02:18:17 +00:00
Pyun YongHyeon
a9acaaae30 Add jme(4) to the list of drivers use the miibus interface. 2008-05-27 02:07:30 +00:00
Pyun YongHyeon
889eb7f589 Add jme(4) to the list of drivers supporting ALTQ. 2008-05-27 02:03:26 +00:00
Pyun YongHyeon
629bf5061d Add jme(4) to the list of devices supporting full VLAN processing
in hardware.
2008-05-27 02:01:42 +00:00
Pyun YongHyeon
bc23fe19ca Add man page for jme(4).
Reviewed by:	brueffer
2008-05-27 01:59:17 +00:00
Robert Watson
0a4d74f8b2 Remove now-obsolete Xref to ng_atmpif.4 from netgraph.4.
MFC after:	3 weeks
Spotted by:	antoine
2008-05-26 22:39:56 +00:00
Bjoern A. Zeeb
2e598474fa Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
2008-05-26 10:40:09 +00:00
Robert Watson
e4372ceba0 Remove netatm from HEAD as it is not MPSAFE and relies on the now removed
NET_NEEDS_GIANT.  netatm has been disconnected from the build for ten
months in HEAD/RELENG_7.  Specifics:

- netatm include files
- netatm command line management tools
- libatm
- ATM parts in rescue and sysinstall
- sample configuration files and documents
- kernel support as a module or in NOTES
- netgraph wrapper nodes for netatm
- ctags data for netatm.
- netatm-specific device drivers.

MFC after:	3 weeks
Reviewed by:	bz
Discussed with:	bms, bz, harti
2008-05-25 22:11:40 +00:00
Manolis Kiagias
9f567cef74 Add myself to commiters-doc.dot
Approved by: gabor (mentor)
2008-05-24 08:49:55 +00:00
Oleksandr Tymoshenko
8f668ffa98 Clean out all mentions of struct proc* for it was removed from
taskqueue(9) API more then two years ago.

  Approved by:	cognet (mentor)
2008-05-22 21:41:19 +00:00
Alan Cox
72e70f4e1d The function pmap_addr_hint no longer exists. Remove its man page. 2008-05-22 16:25:25 +00:00
Ed Schouten
e2fd72de44 Introduce REMOVE_NEXT() macro's for SLIST and STAILQ.
Even though single linked lists allow items to be removed at constant time
(when the previous element is known), the queue macro's don't allow this.
Implement new REMOVE_NEXT() macro's. Because the REMOVE() macro's also
contain the same code, make it call REMOVE_NEXT().

The OpenBSD version of SLIST_REMOVE_NEXT() needs a reference to the list
head, even though it is unused. We'd better mimic this. The STAILQ version
also needs a reference to the list. This means the prototypes of both
macro's are the same.

Approved by:	philip (mentor)
PR:		kern/121117
2008-05-22 14:40:03 +00:00
Ed Schouten
41c026e563 Add myself to this list as well.
Approved by:	philip (mentor)
2008-05-22 13:18:09 +00:00
John Birrell
770ac3b21f Add support for the Compact C Type (CTF) conversions throughout FreeBSD's
system makefiles.

Note that the CTF conversion defaults to off. We may choose to change this
default later if DTrace proves popular and people are prepared to wear
the compilation performance impact of compiling with debug symbols all the
time.

Setting NO_CTF in the make args or user environment turns off CTF conversion.
Even if we choose to default CTF generation to on later, we still need
NO_CTF so that the buildworld process can bootstrap the tools without
needlessly generating CTF data for temporary tools.

Setting WITH_CTF in the make args or user environment (and _NOT_ in
/etc/make.conf) is the only way to enable CTF data conversion. Nore that
this can't be implemented the same way that the WITH_ and WITHOUT_ stuff
is implemented throughout the buildworld because the CTF conversion needs
to work when building a simple object without a Makefile, using the
default rules in sys.mk.

Typing 'make test.o' with no makefile and just a source file test.c
should work. Also, typing 'make WITH_CTF=1 test.o without a makefile and
just a source file test.c should work and produce an object with a CTF
elf section. Typing 'make WITH_CTF=1 CFLAGS=-g test.o' without a makefile
and just a source file test.c should produce an object with both a CTF
elf section and the debug elf sections.

In the FreeBSD build where more .mk files are used than just sys.mk
which is included my make by default, the use of DEBUG_FLAGS is the
correct way to enable a debug build. The important thing to note here
is that it is the DEBUG_FLAGS setting that prevents libraries and
programs from being stripped on installation. So, for the addition of
CTF data conversion, setting DEBUG_FLAGS to contain -g, without NO_CTF,
will cause the ctfconvert and ctfmerge build programs to be executed
also with the -g arg so that debug symbols are retained rather than
being removed after the CTF data elf section has been added.

Add DTrace libraries to the list of libnames.
2008-05-22 01:14:43 +00:00
Kevin Lo
8b2898a64d Document the azp for controlling audio power 2008-05-20 06:33:10 +00:00
Pyun YongHyeon
ac6a32ca20 Hook up age(4) to the build. 2008-05-19 02:21:00 +00:00
Pyun YongHyeon
ff354518cf Add age(4) to the list of drivers use the miibus interface. 2008-05-19 02:10:39 +00:00
Pyun YongHyeon
dbae6a113d Add age(4) to the list of drivers supporting ALTQ. 2008-05-19 02:06:39 +00:00
Pyun YongHyeon
7a0bde8402 Add age(4) to the list of devices supporting full VLAN processing
in hardware.
2008-05-19 02:03:52 +00:00
Pyun YongHyeon
bbb1ae830d Add man page for age(4).
brueffer fixed various nits in the document.

Reviewed by:	brueffer
2008-05-19 02:00:16 +00:00
Colin Percival
bdd9aff946 Add support for specifying which INDEX files to build via portsnap.conf.
Requested by:	brooks
Reminded by:	brooks, about halfway through his BSDCan talk
2008-05-17 16:26:27 +00:00
Gabor Kovesdan
0e4369e938 - The names of the months and the days are in lowercase according to the
Hungarian spelling, change them accordingly

Requested by:	Janos Mohacsi <mohacsi@niif.hu>
2008-05-16 12:50:15 +00:00
Brooks Davis
ace19032cf Change the default value of synchronous_dhclient to NO.
To preserve the existing behavior of etc/rc.d/netif, add code to wait
up to if_up_delay seconds (30 seconds by default) for a default route to
be configured if there are any dhcp interfaces.  This should be extended
to test that the interface is actually up.

X-MFC after:
2008-05-15 01:06:10 +00:00
Remko Lodder
cf8a0afe6e Bump modification date. 2008-05-13 21:51:35 +00:00
Remko Lodder
0ad0250754 The first of thirteen patches by Ed that resolves a documentation
issue in termios.4, ttydefaults.h does not exist in /usr/include
but in /usr/include/sys.

MFC after:	3 days
Submitted by:	Ed Schouten (ed at 80386 dot nl)
2008-05-13 21:51:02 +00:00
Christian Brueffer
dec7a1d5c0 Typo fixes. 2008-05-12 08:53:02 +00:00
Joel Dahl
4b0532806f Update HARDWARE section. 2008-05-11 06:40:04 +00:00
Alan Cox
26c538ffcd Generalize vm_map_find(9)'s parameter "find_space". Specifically, add
support for VMFS_ALIGNED_SPACE, which requests the allocation of an
address range best suited to superpages.  The old options TRUE and FALSE
are mapped to VMFS_ANY_SPACE and VMFS_NO_SPACE, so that there is no
immediate need to update all of vm_map_find(9)'s callers.

While I'm here, correct a misstatement about vm_map_find(9)'s return
values in the man page.
2008-05-10 18:55:35 +00:00
Christian Brueffer
fc68e8cb46 Remove extraneous .Ed, correct SEE ALSO section. 2008-05-10 06:46:58 +00:00
Attilio Rao
29614b3788 Add a new awk script which parses informations returned by the newly
added sysctl debug.witness.graphs and returns all the graphs involving
Giant lock creating an appropriate script in DOT format which can be
plotted immediately.

Submitted by:   Michele Dallachiesa <michele dot dallachiesa at poste dot it>
2008-05-07 21:50:17 +00:00
Doug Rabson
33f1219925 Fix conflicts after heimdal-1.1 import and add build infrastructure. Import
all non-style changes made by heimdal to our own libgssapi.
2008-05-07 13:53:12 +00:00
Brooks Davis
5ed11a24b1 Replace a couple mentions of the soon to be removed vaps_<ifn>
variable form with wlans_<ifn>.
2008-05-03 07:06:48 +00:00
Robert Watson
b9540a02a8 Fix type name: struct auditpipe_preselect is actually struct
auditpipe_ioctl_preselect.

MFC after:	3 days
Submitted by:	Stacey D. Son <stacey at son.org>
2008-05-02 17:36:22 +00:00
Maxim Konovalov
c3fe685883 o OpenBSD 4.3 added. 2008-05-01 09:52:34 +00:00
Julian Elischer
c59b9a7659 Document the kproc_kthread_add() call
and fix a small detail of its implementation.
MFC after: 1 week
2008-04-29 22:43:15 +00:00
Sam Leffler
3971d07be7 Intel 4965 wireless driver (derived from openbsd driver of the same name) 2008-04-29 21:36:17 +00:00
Pawel Jakub Dawidek
6e679990b9 Fix some section references. 2008-04-29 08:16:05 +00:00
Warner Losh
aec0c4d822 mention DX8400/50 2008-04-29 00:53:12 +00:00
Oleksandr Tymoshenko
04e109f098 Handle endianness for mips
Approved by:	cognet (mentor)
2008-04-28 14:54:17 +00:00
Pawel Jakub Dawidek
f6a83858fc Document 'show mount' command. 2008-04-28 14:11:23 +00:00
Brooks Davis
89b5b33da2 Replace the prototype vaps_<ifn> and vap_create_<ifn> variables with
more wlans_<ifn> and create_args_<ifn>

Add documentation for these variants and generally update the wireless
device example.

There is are very short lived shim from vaps_<ifn> which produces
a warning and vap_create_<ifn> which does not.  Misuse the MFC
notification service to remind me to remove them.

MFC after:	3 weeks
2008-04-25 23:50:49 +00:00
Ganbold Tsagaankhuu
7ccf1fe813 Fix the year of my doc/www commit bit that I've got :)
Approved by: keramida(mentor)
2008-04-23 08:51:05 +00:00
Gabor Pali
491851f994 Add:
- myself to the doc committers' graph
- my birthday to the FreeBSD calendar

Approved by:	gabor (mentor)
2008-04-22 15:42:20 +00:00
Robert Watson
070356d1fb Use ddb(4), not DDB(4) for man page cross-references.
MFC after:	3 days
Reported by:	novel
2008-04-21 17:09:53 +00:00
Sam Leffler
b032f27c36 Multi-bss (aka vap) support for 802.11 devices.
Note this includes changes to all drivers and moves some device firmware
loading to use firmware(9) and a separate module (e.g. ral).  Also there
no longer are separate wlan_scan* modules; this functionality is now
bundled into the wlan module.

Supported by:	Hobnob and Marvell
Reviewed by:	many
Obtained from:	Atheros (some bits)
2008-04-20 20:35:46 +00:00
Sam Leffler
f446360711 move awi to the Attic; it will not make the jump to the new world order
Reviewed by:	imp
2008-04-20 19:20:39 +00:00
Pyun YongHyeon
95d86ad96b Mention support for nForce MCP73.
Touch Dd.
2008-04-16 00:17:24 +00:00
Attilio Rao
031e0f3cd9 LK_NOWITNESS can be used now in lockmgr*() functions in order to skip
witness(4) checks on a per-instance basis.
2008-04-12 20:18:02 +00:00
Rui Paulo
f0ded229ee MFp4: k8temp(4) man page. 2008-04-12 14:08:24 +00:00
Pawel Jakub Dawidek
3c35ee2c30 Correct an obvious typo. 2008-04-12 05:49:05 +00:00
Maksim Yevmenkin
4c33fe9619 Update .Dd
Pointed out by: Niclas Zeising <niclas-dot-zeising-at-gmail.com>
MFC after:	1 week
2008-04-09 21:24:11 +00:00
Alexander Kabaev
046f4eba8c Fix spelling mistake in comment. 2008-04-09 20:27:53 +00:00
Maksim Yevmenkin
97078e0796 Add rfcomm_pppd_server rc script to allow start rfcomm_pppd(8) in server
mode at boot time. Multiple profiles can be started at the same time.
The whole idea is very similar to the ppp rc script.

Document Bluetooth knobs in rc.conf(5)

MFC after:	1 week
2008-04-08 23:34:12 +00:00
Jung-uk Kim
ff0af72c39 - Add write(2) support for psm(4) in native operation level. Now arbitrary
commands can be written to /dev/psm%d and status can be read back from it.
- Reflect the change in psm(4) and bump version for ports.

MFC after:	1 week
2008-04-08 17:55:26 +00:00
Rui Paulo
b01959107e Change the EXAMPLE section to reflect reality (ISA -> ACPI). 2008-04-07 11:27:16 +00:00
Robert Watson
a7a91e6592 Maintain and observe a ZBUF_FLAG_IMMUTABLE flag on zero-copy BPF
buffer kernel descriptors, which is used to allow the buffer
currently in the BPF "store" position to be assigned to userspace
when it fills, even if userspace hasn't acknowledged the buffer
in the "hold" position yet.  To implement this, notify the buffer
model when a buffer becomes full, and check that the store buffer
is writable, not just for it being full, before trying to append
new packet data.  Shared memory buffers will be assigned to
userspace at most once per fill, be it in the store or in the
hold position.

This removes the restriction that at most one shared memory can
by owned by userspace, reducing the chances that userspace will
need to call select() after acknowledging one buffer in order to
wait for the next buffer when under high load.  This more fully
realizes the goal of zero system calls in order to process a
high-speed packet stream from BPF.

Update bpf.4 to reflect that both buffers may be owned by userspace
at once; caution against assuming this.
2008-04-07 02:51:00 +00:00
Attilio Rao
48a12f8928 Commit manpages for lockmgr_args_rw(9) and lockmgr_rw(9). 2008-04-06 21:22:12 +00:00
Warner Losh
fd08931dd5 MFp4 (mips2-jnpr):
o Default to -O on mips as well as arm.  -O2 has been strongly implicated
  in many problems in the past, so we're taking a conservative approach
  until the problems are well understood.
2008-04-04 21:12:40 +00:00
Warner Losh
043b496b8d Add note about PZERO being obsolete, because so much code uses it.
Feel free to improve the verbage, since this was a compromise between
conflicting feedback I got on my original version.
2008-04-04 16:59:58 +00:00
David E. O'Brien
20c46652dc PR ports/121363 (& ports/73797) has been committed, so we can now go back
to JB's revision 1.96 change to remove -fno-strict-aliasing from CFLAGS.

This makes the default CFLAGS to match the simple defaults that the
tinderboxes use.  By using -fno-strict-aliasing by default we are
choosing to ignore problems in code which had the potential to
shoot ourselves in the foot.
2008-04-02 17:24:22 +00:00
Attilio Rao
c709e029e7 Add manpages for rw_try_rlock() and rw_try_wlock() functions. 2008-04-01 20:56:45 +00:00
Weongyo Jeong
3f9c55c7db Connect malo.4 to the build.
Approved by:	thompsa (mentor)
2008-04-01 07:20:04 +00:00
Sergey Skvortsov
836d250db3 Fix punctiation.
Approved by:	ru
2008-03-31 14:11:37 +00:00
Ruslan Ermilov
75ad2c1d29 Regen. 2008-03-29 17:47:12 +00:00
Ruslan Ermilov
dbdb679c6f Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
build libkse.  This should fix WITHOUT_LIBTHR builds as a side effect.
2008-03-29 17:44:40 +00:00
Alexander Motin
5c643ed000 Rewrite node to support multiple hooks, alike to ng_l2tp, to use one pair
of pptpgre and ksocket nodes for all calls between two peers.
2008-03-29 06:54:13 +00:00
Christian Brueffer
9e74206fe0 ARC-1680 is supported.
Submitted by:	Steven Hartland <killing@multiplay.co.uk>
MFC after:	3 days
2008-03-28 23:25:58 +00:00
Christian Brueffer
b4b811fa3c Document lockmgr_waiters(9).
Reviewed by:	attilio
2008-03-28 21:30:37 +00:00
Rui Paulo
2e2568725c Add Qualcomm, Inc. ZTE CDMA Technologies MSM to the list of supported
devices.

MFC after:	1 week
2008-03-28 15:28:59 +00:00
Brooks Davis
14b0729b93 Add support for hardwiring ppp sessions to particular devices with new
per-profile variables of the form ppp_<profile>_unit.  No ppp_unit
variable is supported since tying the same unit to more than one profile
won't work.

PR:		conf/122127
MFC after:	1 week
2008-03-28 07:57:52 +00:00
Brooks Davis
6ea3dc3746 Allow the characters .-+/ to appear in ppp profile names by folding them
to _ when evaluating ppp_<profile>_nat and ppp_<profile>_mode.  Document
the per-profile variables.

PR:		conf/121452, conf/122127 (partial)
MFC after:	1 week
2008-03-26 21:54:48 +00:00
Christian Brueffer
662cac9f23 Fix some "in in" typos in comments.
PR:		121490
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by:	rwatson (mentor), jkoshy
MFC after:	3 days
2008-03-26 07:32:08 +00:00
Christian Brueffer
9c8408a472 Bring this manpage more in line with other wlan driver manpages. 2008-03-25 20:32:19 +00:00
Ruslan Ermilov
eb085c43f0 s/M_TRYWAIT/M_WAIT/ 2008-03-25 15:44:49 +00:00
Ruslan Ermilov
ea26d58729 Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT.
Removed dead code that assumed that M_TRYWAIT can return NULL; it's not true
since the advent of MBUMA.

Reviewed by:	arch

There are ongoing disputes as to whether we want to switch to directly using
UMA flags M_WAITOK/M_NOWAIT for mbuf(9) allocation.
2008-03-25 09:39:02 +00:00
Weongyo Jeong
3c7e78d32d Add support for Marvell Libertas 88W8335 based PCI network adapters.
Reviewed by:	sam, many wireless people
Approved by:	thompsa (mentor)
2008-03-25 06:32:33 +00:00
Edwin Groothuis
b2bba27f90 Fix double patch on this file. 2008-03-25 03:04:54 +00:00
Edwin Groothuis
3eadd254cd MFV of tzdata2008a
Changes:
- Calcutta -> Kolkata
- Iraq DST changes
- Syria DST changes
- Saigon -> Ho_Chi_Minh
- Cuba DST changes
- New area America/Argentina/San_Luis

Approved by:	grog@ (mentor)
2008-03-25 02:56:25 +00:00
Edwin Groothuis
dbe4cee613 Vendor import of tzdata version 2008b. 2008-03-25 02:44:06 +00:00
Christian S.J. Peron
4d621040ff Introduce support for zero-copy BPF buffering, which reduces the
overhead of packet capture by allowing a user process to directly "loan"
buffer memory to the kernel rather than using read(2) to explicitly copy
data from kernel address space.

The user process will issue new BPF ioctls to set the shared memory
buffer mode and provide pointers to buffers and their size. The kernel
then wires and maps the pages into kernel address space using sf_buf(9),
which on supporting architectures will use the direct map region. The
current "buffered" access mode remains the default, and support for
zero-copy buffers must, for the time being, be explicitly enabled using
a sysctl for the kernel to accept requests to use it.

The kernel and user process synchronize use of the buffers with atomic
operations, avoiding the need for system calls under load; the user
process may use select()/poll()/kqueue() to manage blocking while
waiting for network data if the user process is able to consume data
faster than the kernel generates it. Patchs to libpcap are available
to allow libpcap applications to transparently take advantage of this
support. Detailed information on the new API may be found in bpf(4),
including specific atomic operations and memory barriers required to
synchronize buffer use safely.

These changes modify the base BPF implementation to (roughly) abstrac
the current buffer model, allowing the new shared memory model to be
added, and add new monitoring statistics for netstat to print. The
implementation, with the exception of some monitoring hanges that break
the netstat monitoring ABI for BPF, will be MFC'd.

Zerocopy bpf buffers are still considered experimental are disabled
by default. To experiment with this new facility, adjust the
net.bpf.zerocopy_enable sysctl variable to 1.

Changes to libpcap will be made available as a patch for the time being,
and further refinements to the implementation are expected.

Sponsored by:		Seccuris Inc.
In collaboration with:	rwatson
Tested by:		pwood, gallatin
MFC after:		4 months [1]

[1] Certain portions will probably not be MFCed, specifically things
    that can break the monitoring ABI.
2008-03-24 13:49:17 +00:00
Christian Brueffer
42b5d159f2 Oops, add back the SYNOPSIS section header I accidently removed in the
previous revision.
2008-03-20 08:46:27 +00:00
Warner Losh
88f25023dc Add support for MACHINE_ARCH == mips, plus a few generic CPU types that
will be supported in the forth coming FreeBSD/mips port.
2008-03-19 12:20:44 +00:00
Christian Brueffer
11de779e13 Bah, missed one instance in the previous commit. Correct bpf
data-link type here as well.

PR:		121477
2008-03-17 16:37:35 +00:00
Christian Brueffer
523d048db6 Correct bpf data-link type.
PR:		121477
Submitted by:	Sam Banks
MFC after:	3 days
2008-03-17 16:33:34 +00:00
Christian Brueffer
dd3a95f4df Use a standard section 4 SYNOPSIS.
MFC after:	3 days
2008-03-17 08:17:04 +00:00
Christian Brueffer
19a29bc737 Device counts are long gone.
MFC after:	3 days
2008-03-17 08:06:41 +00:00
Christian Brueffer
1dabcd56c6 Fix AUTHORS formatting.
MFC after:	3 days
2008-03-16 22:51:30 +00:00
Christian Brueffer
1c4c3d38f5 Device counts are long gone, also remove the outdated FILES section.
MFC after:	3 days
2008-03-16 22:26:17 +00:00
Pawel Jakub Dawidek
6eb4157ffc Implement atomic_fetchadd_long() for all architectures and document it.
Reviewed by:	attilio, jhb, jeff, kris (as a part of the uidinfo_waitfree.patch)
2008-03-16 21:20:50 +00:00
Pawel Jakub Dawidek
b12455f34e Implement soon-to-be-used rw_unlock() macro. 2008-03-16 17:10:52 +00:00
Pawel Jakub Dawidek
39887c5c2e Add missing .El. 2008-03-16 17:06:05 +00:00
Robert Watson
b9a9803757 Add stack_print_ddb() to the synposis of stack(9), add mlink for it; fix
stack_print(9) mlink.

Spotted by:	attilio
2008-03-14 13:13:37 +00:00
Edwin Groothuis
ae667c3df0 Add projects-all collection to cvs-supfile
PR:		misc/121680
Submitted by:	"Philip M. Gollucci" <pgollucci@p6m7g8.com>
Approved by:	grog@ (mentor)
MFC after:	1 week
2008-03-13 22:36:02 +00:00
Sam Leffler
def2344db6 document device hints including new ones to control rx fifo trigger
MFC after:	2 weeks
2008-03-12 19:09:58 +00:00