Commit Graph

13660 Commits

Author SHA1 Message Date
trasz
db60bdc668 The 'kern.corefile="whatever"' syntax won't work with sysctl.conf; remove
the quotes to not mislead people.

MFC after:	1 month
2010-12-22 17:02:01 +00:00
nwhitehorn
be53af285d Enable build of FDT components by default. dtc is a required build tool
for all FDT-enabled kernels, and having it off by default means that
building these kernels fails by default. This fixes FDT-related build
failures in make universe on ARM and PowerPC.

Reviewed by:	imp
2010-12-22 14:59:22 +00:00
jilles
ae2aabc349 sh: Add kill builtin.
This allows specifying a %job (which is equivalent to the corresponding
process group).

Additionally, it improves reliability of kill from sh in high-load
situations and ensures "kill" finds the correct utility regardless of PATH,
as required by POSIX (unless the undocumented %builtin mechanism is used).

Side effect: fatal errors (any error other than kill(2) failure) now return
exit status 2 instead of 1. (This is consistent with other sh builtins, but
not in NetBSD.)

Code size increases about 1K on i386.

Obtained from:	NetBSD
2010-12-21 22:47:34 +00:00
yongari
7be504c8f7 Document limitation of station address reprogramming. 2010-12-20 17:39:39 +00:00
yongari
691fb06610 Oops, fwe(4) listed twice. 2010-12-20 00:27:40 +00:00
yongari
b0f41e9105 Add ae(4) to the list of drivers use the miibus interface. 2010-12-20 00:23:47 +00:00
yongari
5b70d78c37 igb(4), ixgbe(4), mxge(4) and nxge(4) support VLAN hardware tag
insertion/stripping.
et(4) and fwe(4) support VLAN oversized frames.
2010-12-20 00:10:53 +00:00
yongari
664b4c0ec0 Add .Xr to altq(4). 2010-12-19 23:54:31 +00:00
yongari
8c00fd06e9 Add .Xr to altq(4). 2010-12-19 23:53:23 +00:00
yongari
37f3fa92d6 ae(4), igb(4), ixgb(4) and ixgbe(4) supports altq(4). 2010-12-19 23:50:36 +00:00
pjd
96b9ced89f Correct cookie type to match reality. 2010-12-19 18:07:10 +00:00
yongari
345c9cac1a Document JMC251/JMC261 support. 2010-12-19 00:00:29 +00:00
rwatson
a5ae0d2d14 Simply refer to all Xen drivers as para-virtualized, as this appears to
be the preferred Xen parlance.

Discussed with:	Steve Hand <steven.hand at cl.cam.ac.uk>
MFC after:	1 day
2010-12-17 22:09:55 +00:00
rwatson
56a4ce773b Correct some misundertandings on my part about PV vs HVM kernel
configuration options.

MFC after:	1 day
2010-12-17 11:25:37 +00:00
rwatson
19a6bb61e9 Fix spelling nits.
MFC after:	3 days
Submitted by:	bcr
2010-12-17 10:05:21 +00:00
rwatson
43edfe0c49 Clarifications of a number of points in xen.4, and some additional device
driver information from gibbs@.

MFC after:	3 days
2010-12-17 01:30:56 +00:00
rwatson
fa3fef1400 Slightly different formatting for options list.
MFC after:	3 days
2010-12-14 10:06:28 +00:00
rwatson
c3ae9b6e8a Further refinements to the xen.4 man page: fix typos, add material on
para-virtualized drivers, clarify how to configure XENHVM on amd64.

MFC after:	3 days
2010-12-14 09:32:37 +00:00
rwatson
c050a4862e Add a rudimentary Xen man page summarising the state of Xen on amd64 and
i386, how to configure the kernel, and some known issues.  Further
refinement almost certainly required.  This is not a Xen installation
manual.

MFC after:      3 days
Sponsored by:   DARPA, AFRL
2010-12-13 23:30:56 +00:00
rwatson
492dea93dd Add a rudimentary Xen man page summarising the state of Xen on amd64 and
i386, how to configure the kernel, and some known issues.  Further
refinement almost certainly required.  This is not a Xen installation
manual.

MFC after:	3 days
Sponsored by:	DARPA, AFRL
2010-12-13 23:26:31 +00:00
wen
0f8f817906 - Add myself to committers-ports.dot 2010-12-13 08:56:30 +00:00
ru
aae6dafb6d Document this driver supports the converter I just bought. 2010-12-10 07:55:38 +00:00
hrs
ac1ae95734 Fix a typo.
Submitted by:	Garrett Cooper
2010-12-08 07:10:25 +00:00
flo
69595fcf74 Add myself to calendar.freebsd and committers-ports.dot
Approved by:	fjoe (mentor)
2010-12-07 23:56:51 +00:00
jhb
621c1b3562 Add a manpage for SYSINIT() and SYSUNINIT().
PR:		docs/132884
Submitted by:	pluknet, hmp
2010-12-06 15:19:03 +00:00
uqs
9242c645f8 Move most of the remaining USD/PSD/SMM papers into share/doc 2010-12-04 10:11:20 +00:00
brucec
3e854ebf95 Document the fact that passing in a count of zero to the bus_space functions
will result in undefined behaviour.
Taken from NetBSD's bus_space(9).
2010-12-03 18:30:55 +00:00
brucec
6e3faf1602 Revert r216134. This checkin broke platforms where bus_space are macros:
they need to be a single statement, and do { } while (0) doesn't work in this
situation so revert until a solution can be devised.
2010-12-03 07:09:23 +00:00
das
de08b1bcf1 Explain some of the reasons that fpsetprec() is unlikely to work as
one might expect.  (These functions have already been deprecated for
many years.)

PR:		133583
2010-12-03 07:01:07 +00:00
brucec
dc1c4b9270 Disallow passing in a count of zero bytes to the bus_space(9) functions.
Passing a count of zero on i386 and amd64 for [I386|AMD64]_BUS_SPACE_MEM
causes a crash/hang since the 'loop' instruction decrements the counter
before checking if it's zero.

PR:	kern/80980
Discussed with:	jhb
2010-12-02 22:19:30 +00:00
yongari
cb24c2f507 Document loader tunable hw.re.prefer_iomap. 2010-12-02 18:37:34 +00:00
n_hibma
5b6b615a82 Fix two errors in the man page
Submitted by:	ruslan
MFC after:	1 day
2010-11-30 09:34:47 +00:00
dougb
7d6e56dae8 Update the description of green_saver.ko
Improvements to my suggested text from: jhb
2010-11-29 21:31:25 +00:00
sanpei
1d463bf0b8 Add new device ids.
Buffalo (Melco Inc.) WLI-UC-G

PR:		141777
2010-11-29 15:08:18 +00:00
delphij
5a6d997ddd Make German formal clause to be consistent with the keymap counterpart.
Submitted by:	arundel
MFC after:	1 week
2010-11-29 05:50:20 +00:00
jmg
dd5fc2bc46 document that most of ioctl requests in cd(4) are implemented by acd(4).. 2010-11-28 23:34:20 +00:00
delphij
a41bb65481 Add a manual shrinked version of swiss-8x16 as swiss-8x14.
MFC after:	2 months
2010-11-28 09:35:56 +00:00
marius
8e9e35c34a Remove the description of the dev.fxp.%d.noflow tunable as it was removed
in r215906 and the flowcontrol media option now should be set as desired
via ifconfig(8) instead.
2010-11-26 21:57:01 +00:00
delphij
42dd23c4f9 Update manual page with respect to latest driver.
While I'm there remove ARC-1180 which doesn't seem to exist.
2010-11-25 19:33:39 +00:00
delphij
c71855f44c Add a HARDWARE section.
MFC after:	2 weeks
2010-11-25 19:05:17 +00:00
pjd
d97fcd4603 Add gptboot_enable rc variable, which allows to turn gptboot reporting off in
case user wants to implement his own actions and doesn't want the attributes to
vanish.

Obtained from:	Wheel Systems Sp. z o.o. http://www.wheelsystems.com
MFC after:	3 days
2010-11-24 15:25:17 +00:00
kib
545c74c108 Remove the note about possible unlocking during vunref(9). It might
only happen if VOP_INACTIVATE() drops the vnode lock, which is quite
unreasonable behaviour for filesystem, and should not be mentioned
in the description of VFS primitives.

MFC after:	1 week
2010-11-24 12:34:25 +00:00
marius
445cd0f1c5 Remove the description of the link0 link option, since r215297 the master
media option generally should be used instead. Actually I think the lists
of media types should be removed from the manual pages of MAC drivers
altogether and users just pointed to the output of `ifconfig -m` instead;
even before r215297 there were several outdated descriptions, technically
it's wrong most of the time as not the MAC drivers support these media
types but actually the PHY drivers do and it generally doesn't make sense
to maintain these lists in every manual page of a driver as the media is
auto-detected.
2010-11-23 22:07:10 +00:00
maxim
beebe86e39 o NetBSD 5.1 added. 2010-11-23 06:31:09 +00:00
jilles
129853101d sh: Add printf builtin.
This was removed in 2001 but I think it is appropriate to add it back:
* I do not want to encourage people to write fragile and non-portable echo
  commands by making printf much slower than echo.
* Recent versions of Autoconf use it a lot.
* Almost no software still wants to support systems that do not have
  printf(1) at all.
* In many other shells printf is already a builtin.

Side effect: printf is now always the builtin version (which behaves
identically to /usr/bin/printf) and cannot be overridden via PATH (except
via the undocumented %builtin mechanism).

Code size increases about 5K on i386. Embedded folks might want to replace
/usr/bin/printf with a hard link to /usr/bin/alias.
2010-11-19 12:56:13 +00:00
mav
f2cf256050 Add VIA VX900 to the list of supported chipsets. 2010-11-18 18:09:25 +00:00
adrian
908df7b5dd Re-enable generating links. 2010-11-16 22:23:20 +00:00
adrian
b4af64bb45 .. and then notice that the list of mk files is ordered, and update to suit. 2010-11-16 22:22:16 +00:00
adrian
ddde721307 Add in forgotten install rule. 2010-11-16 22:21:14 +00:00
dougb
a022791606 Remove references to MAKEDEV(8) 2010-11-15 05:25:51 +00:00
gonzo
e5ed448525 Regenerate src.conf manpage after adding WITHOUT_GPIO build knob 2010-11-14 22:08:56 +00:00
imp
b362a902a4 This case is actually powerpc specific, and doesn't apply to powerpc64.
Submitted by:	nathanw@
2010-11-14 01:37:08 +00:00
dougb
e74d5a078a Remove references to the long-gone ramdisk
Submitted by:	Garrett Cooper <yanegomi@gmail.com>
2010-11-13 18:10:44 +00:00
adrian
0013192720 Break out the rules which generate crunchgen'ed binaries into a separate
.mk file so they can be reused.

Introduce a new option, CRUNCH_BUILDTOOLS, which lists the binaries that
require tools built in the local architecture. sh and csh both require this.
It was previously hardcoded in rescue/rescue/Makefile .

Introduce a new option, CRUNCH_SHLIBS, which lists the shared libraries
to link against. These override the static libraries listed in CRUNCH_LIBS.
Some build environments may wish to use a handful of shared libraries
(eg libc.so) so other small, dynamic binaries can be run in the environment.

Remove the now-shared code from rescue/rescue/Makefile and introduce the
CRUNCH_BUILDTOOLS option for the above shells.
2010-11-13 03:11:27 +00:00
brooks
479b7f4288 Add an (off by default) check for negative permissions (where the
group on a object has less permissions that everyone).  These
permissions will not work reliably over NFS if you have more than
14 supplemental groups and are usually not what you mean.

MFC after:	1 week
2010-11-13 00:40:43 +00:00
pluknet
a360d1cba6 Stop documenting vgonel() after its converting to the static function:
svn r147332 (by jeff): "Don't make vgonel() globally visible".
While here, specify the vnode locking scheme for vgone().

Discussed on:	freebsd-hackers@
Approved by:	kib (mentor)
MFC after:	10 days
2010-11-12 12:07:36 +00:00
lstewart
95c949e611 The first releases SIFTR will ship in will be 7.4 and 8.2.
MFC after:	3 days
2010-11-12 01:40:29 +00:00
dim
45d65c5646 Fix typo, and re-wrap paragraph. 2010-11-11 23:00:37 +00:00
brucec
3becc780da Bump .Dd due to additions in r214279.
MFC after:	3 days
2010-11-11 19:13:16 +00:00
n_hibma
7c21b2dc77 Add a man page for usb_quirk module, plus references in other man pages,
and updated comments in the usb_quirk.h header file.

The main purpose of this is to expose the quirks for ejecting 3G
modules. usb_modeswitch in Linux does a great job of collecting
information on these, and with the quirks module people can try out the
modeswitch config file entries on FreeBSD, hence the SCSI strings in the
man page.

MFC after:	2 weeks
2010-11-10 23:45:44 +00:00
zack
540593911b Add myself as a new committer and add zml as my mentor.
Approved by: zml (mentor)
2010-11-10 18:37:03 +00:00
imp
c178b8695e Complete the integration of tbemd branch into head.
TARGET_BIG_ENDIAN is now completely dead, except where it was
originally supposed to be used (internally in the toolchain building).

TARGET_ARCH has changed in three cases:
(1) Little endian mips has changed to mipsel.
(2) Big endian mips has changed to mipseb.
(3) Big endian arm has changed to armeb.

Some additional changes are needed to make 'make universe' work on arm
and mips after this change, so those are commented out for now.

UPDATING information will be forthcoming.  Any remaining rough edges
will be hammered out in -current.
2010-11-10 06:39:49 +00:00
mdf
ccbc087adc Add a taskqueue_cancel(9) to cancel a pending task without waiting for
it to run as taskqueue_drain(9) does.

Requested by:	hselasky
Original code:	jeff
Reviewed by:	jhb
MFC after:	2 weeks
2010-11-08 20:56:31 +00:00
jhb
a7f4df4adc Don't mention 'device acpi' or loading ACPI as a kernel module since the
latter is not supported.  This is also more consistent with manpages for
other vendor-specific drivers such as acpi_ibm(4) and acpi_sony(4).
2010-11-08 20:44:11 +00:00
yongari
fed6d69895 Use shorten model name instead of showing all controller model
numbers. bge(4) supports too many models such that it's
unreasonable to list all these controllers in one line description
of name. While I'm here mention that BCM590x/BCM5779x is Fast
Ethernet controller.
bge(4) still lacks support for some controllers but supporting
these controllers should be easy now and adding new controllers
do not require touching .Nd any more.

Obtained from:	OpenBSD
2010-11-08 01:15:42 +00:00
uqs
19d738409e In man section 4, ERRORS is spelled DIAGNOSTICS 2010-11-04 21:03:50 +00:00
trasz
c2febddc96 Xref BUS_SETUP_INTR(9) and locking(9). 2010-11-03 18:49:50 +00:00
jhb
8c8cb8e58a Fix a few typos and style nits in the example code.
Submitted by:	Arnaud Lacombe  lacombar of gmail
MFC after:	3 days
2010-11-02 12:40:13 +00:00
uqs
9e9b0f2c8a Add DragonflyBSD 2.8 and OpenBSD 4.8 releases
Also expand a stray tab in the family tree

MFC after:	1 week
2010-11-01 17:27:09 +00:00
davidxu
a37038ef41 Follow the change made in libthr, add ERANGE error code and more
EINVAL error cases.
2010-10-28 02:59:25 +00:00
yongari
c138ecb91e Use shorten model name and add RTL8168, RTL8111 to the list of
supported device. re(4) had been supported all variants of RTL8168,
RTL8111 and RTL810x. I think this change will cover all controllers
supported by re(4).

MFC after:	1 week
2010-10-27 19:01:09 +00:00
bapt
36d0383b33 Add attachement to my mentors
Reporter by: wxs (on irc)
2010-10-27 12:51:36 +00:00
jkim
33dc8ca368 Document newly added loader tunables "hw.acpi.install_interface" and
"hw.acpi.remove_interface".
2010-10-26 21:22:55 +00:00
brucec
c6fcb4db70 Fix formatting.
Reported by: yongari
2010-10-26 19:10:59 +00:00
bcr
c78cc2e91a Add some missing documentation to the man page:
- FILES section ref: ~/nsmb.conf
- use of password in examples section
- use of simple encryption for password in examples section

PR:                 docs/132311
Submitted by:       David Horn (dhorn2000 at gmail dot com)
Patch corrected by: trhodes
Approved by:        trhodes
MFC after:          5 days
2010-10-26 18:32:51 +00:00
brucec
105a32280d Add information about the values and default setting of the
kern.cam.ada.spindown_shutdown sysctl.

MFC after:	3 weeks
2010-10-26 16:49:18 +00:00
gjb
38228eea55 Minor grammar fix.
Submitted by:	arundel (via email)
Approved by:	jkois (mentor)
Patch by:	arundel
MFC after:	5 days
2010-10-26 13:07:01 +00:00
julian
a18aba41ed Add Makefile entry to install two new example files.
MFC after:	2 weeks
2010-10-24 23:25:14 +00:00
julian
63fd87edcd Add two scripts that demonstrate how to make and
hook together jails using teh vortual networking feature.

Submitted by:	Yavuz Gokirmak
MFC after:	2 weeks
2010-10-24 22:59:38 +00:00
brucec
41dcd4566c Mostly revert r203420, and add similar functionality into ada(4) since the
existing code caused problems with some SCSI controllers.

A new sysctl kern.cam.ada.spindown_shutdown has been added that controls
whether or not to spin-down disks when shutting down.
Spinning down the disks unloads/parks the heads - this is
much better than removing power when the disk is still
spinning because otherwise an Emergency Unload occurs which may cause damage
to the actuator.

PR:	kern/140752
Submitted by:   olli
Reviewed by:	arundel
Discussed with: mav
MFC after:	2 weeks
2010-10-24 16:31:57 +00:00
jh
d5b2b0a30f Use .Dv with NULL. 2010-10-24 16:10:32 +00:00
jh
8c0783a03a Document make_dev_p(9).
Reviewed by:	brueffer, kib
2010-10-24 15:56:21 +00:00
uqs
62105f8979 mdoc: make pages render with mandoc
It's a bit more pedantic regarding .Bl list elements. This has an added
benefit of unbreaking the ipfw(8) manpage, where groff was silently
skipping one list element.
2010-10-21 12:27:13 +00:00
avg
ceaa77fada catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy
Suggested by:	alc
MFC after:	4 days
2010-10-20 06:29:11 +00:00
avg
2e7847beec VOP_GETPAGES.9: clarify and correct description of parameters and requirements
In cooperation with alc and kib, who provided valuable insights and
suggestions.

Reviewed by:	alc, kib (earlier version)
MFC after:	4 days
2010-10-20 05:57:54 +00:00
avg
9f9aed22bf PG_BUSY -> VPO_BUSY, PG_WANTED -> VPO_WANTED in manual pages and comments
Reviewed by:	alc
MFC after:	4 days
2010-10-20 05:17:23 +00:00
maxim
7f5bf568d4 o Put missed w/space back.
Submitted by:	Garrett Cooper
MFC after:	3 days
2010-10-20 04:53:03 +00:00
delphij
8d47fc426a Clarify that lagg(4) sends/receives on active port, not the master port.
Note that this still seems to be a little bit confusing as the concept of
"master" is different from what people would expect on a networking
equipment.
2010-10-19 17:49:55 +00:00
mdf
3f66b92677 uma_zfree(zone, NULL) should do nothing, to match free(9).
Noticed by:	Ron Steinke <rsteinke at isilon dot com>
MFC after:	3 days
2010-10-19 16:06:00 +00:00
uqs
f75a446d3c mdoc: fix markup typo
MFC after:	1 week (together with r213983)
2010-10-19 15:26:08 +00:00
uqs
7fc6083fed mdoc: drop even more redundant .Pp calls
No change in rendered output, less mandoc lint warnings.

Tool provided by:	Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp
2010-10-19 12:35:40 +00:00
pluknet
847ee1f8ca Fix typo: Offlaod -> Offload.
PR:		docs/150756
Approved by:	avg (mentor)
MFC after:	3 days
2010-10-18 14:13:19 +00:00
pjd
67a498f6d6 Update links for taskqueue(9) functions. 2010-10-18 12:35:48 +00:00
culot
f22fb677f6 Add an entry for myself to committers-ports.dot.
Approved by:	sahil@ (mentor)
2010-10-17 18:48:51 +00:00
kib
5f20c85d80 Document vunref(9), add some important notes for vrele(9) and vput(9).
Merge all three manpages to one, removing separate file for vput(9).

MFC after:	1 week
2010-10-17 16:30:33 +00:00
kib
7a0ff2f829 Document vfs.ncsizefactor and vfs.ncnegfactor.
MFC after:	2 weeks
2010-10-16 09:46:03 +00:00
lstewart
4171305db0 Change uma_zone_set_max to return the effective value of "nitems" after
rounding. The same value can also be obtained with uma_zone_get_max, but this
change avoids a caller having to make two back-to-back calls.

Sponsored by:	FreeBSD Foundation
Reviewed by:	gnn, jhb
2010-10-16 04:41:45 +00:00
lstewart
2770ad22da - Simplify implementation of uma_zone_get_max.
- Add uma_zone_get_cur which returns the current approximate occupancy of
  a zone. This is useful for providing stats via sysctl amongst other things.

Sponsored by:	FreeBSD Foundation
Reviewed by:	gnn, jhb
MFC after:	2 weeks
2010-10-16 04:14:45 +00:00
mdf
256615c9b3 Use a safer mechanism for determining if a task is currently running,
that does not rely on the lifetime of pointers being the same. This also
restores the task KBI.

Suggested by:	jhb
MFC after:	1 month
2010-10-13 22:59:04 +00:00
jkim
eb994eb349 Use AcpiReset() from ACPICA instead of rolling our own, which is actually
incomplete.  If FADT says the register is available, enable the capability
by default.  Remove the previous default value from acpi(4).
2010-10-13 00:21:53 +00:00
joel
0fa5c9c68d Document the fact that bwn works really well on the laptop I'm using
right now (HP 6715b).
2010-10-12 19:00:18 +00:00
mdf
58b7823599 Re-expose and briefly document taskqueue_run(9). The function is used
in at least one 3rd party driver.

Requested by:	jhb
2010-10-12 18:36:03 +00:00
uqs
0061fd332c mdoc: drop redundant .Pp calls, kill EOL whitespace 2010-10-09 11:43:00 +00:00
gordon
cf3b6d12c7 Remove the manpath.config entry now that it's no longer installed.
Submitted by:	b. f.
Approved by:	wes (mentor implicit)
2010-10-09 05:57:23 +00:00
delphij
23010ebc5e Document net.link.lagg.failover_rx_all.
MFC after:	1 week
2010-10-08 21:29:48 +00:00
markm
15c0e64e31 Extend the "example" section a bit, for other mailers. 2010-10-08 20:13:12 +00:00
uqs
8ae3afcfad mdoc: drop redundant .Pp and .LP calls
They have no effect when coming in pairs, or before .Bl/.Bd
2010-10-08 12:40:16 +00:00
ken
aa3acd013b Turn on serialization of task management commands going down to the
controller, but make it optional.

After a problem report from Andrew Boyer, it looks like the LSI
chip may have issues (the watchdog timer fired) if too many aborts
are sent down to the chip at the same time.  We know that task
management commands are serialized, and although the manual doesn't
say it, it may be a good idea to just send one at a time.

But, since I'm not certain that this is necessary, add a tunable
and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control
the driver's behavior.

mps.c:		Add support for the sysctl and tunable, and add a
		comment about the possible return values to
		mps_map_command().

mps_sas.c:	Run all task management commands through two new
		routines, mpssas_issue_tm_request() and
		mpssas_complete_tm_request().

		This allows us to optionally serialize task
		management commands.  Also, change things so that
		the response to a task management command always
		comes back through the callback.  (Before it could
		come via the callback or the return value.)

mpsvar.h:	Add softc variables for the list of active task
		management commands, the number of active commands,
		and whether we should allow multiple active task
		management commands.  Add an active command flag.

mps.4:		Describe the new sysctl/loader tunable variable.

Sponsored by:	Spectra Logic Corporation
2010-10-07 21:56:10 +00:00
jonathan
b29daa0264 Add myself (jonathan@) to committers-src.dot
Reviewed by:	rwatson
2010-10-07 18:20:51 +00:00
jh
d93ad5245d Check the device name validity on device registration.
A new function prep_devname() sanitizes a device name by removing
leading and redundant sequential slashes. The function returns an error
for names which already exist or are considered invalid.

A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9)
indicates that the caller is prepared to handle an error related to the
device name. An invalid name triggers a panic if the flag is not
specified.

Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page.

Idea from:	kib
Reviewed by:	kib
2010-10-07 18:00:55 +00:00
pluknet
b6e8ecf1c7 Cosmetic change:
Wrap lines for SiS and Promise entries to 80 columns.
This doesn't change appearance in page rendered with troff or man.cgi.

PR:		docs/146195
Approved by:	kib (mentor)
MFC after:	1 week
2010-10-07 12:58:09 +00:00
pluknet
4223f1b04f Fix wrong slashes in a previous commit.
Approved by:	avg (mentor)
2010-10-06 15:01:37 +00:00
pluknet
f8931751c3 Add myself to calendar.freebsd and committers-src.dot.
Approved by:	avg (mentor)
2010-10-06 14:43:37 +00:00
gonzo
4d0a93a2e1 - Introduce WITH_GPIO knob and disable building gpioctl
by default. Most systems do not need it.
2010-10-05 21:19:20 +00:00
lstewart
09dabf65c8 Log the number of segments currently in the reassembly queue.
Sponsored by:	FreeBSD Foundation
2010-09-25 09:16:46 +00:00
sanpei
1c7e432d87 Add Planex UE-200TX-G2 to list of supported devices.
MFC after:	1 day
2010-09-25 08:19:34 +00:00
gavin
35e304566d Various changes from various sources:
- Add "children" [1]
- Add "acknowledgement", "acknowledgment", "Austria" and "haunted" [2]
- Add "near", "antidisestablishmentarianism" and "Persephone" [2]
- "Transvaal" should be capitalized [2]
- Correct spelling of "structurelessness" and "Athena" [2]
- Add missing atomic elements [3]
- Add various words from "word of the day" lists [3]

PR:		conf/149756 [1]
Submitted by:	Nick Johnson <freebsd spatula.net> [1]
Obtained from:	NetBSD [2], OpenBSD [3]
MFC after:	1 week
2010-09-23 11:19:03 +00:00
sunpoet
aa2b06c66e Add myself as a ports committer
Approved by:	pgollucci (mentor)
2010-09-22 16:54:22 +00:00
sanpei
afb46784fa Add new device ids.
Buffalo (Melco Inc.) LUA3-U2-AGT
 Logitec LAN-GTJ/U2A(usb/119981)

PR:		usb/119981 and me
Submitted by:	"Y.Okabe" <be_works_us at yahoo.com>, hiroo at oikumene.gcd.org
Reviewed by:	thompsa
MFC after:	3 days
2010-09-21 22:42:14 +00:00
anchie
80ba2a07f7 Manual page for the kernel side Secure Neighbor Discovery support.
Reviewed by:	brueffer
Approved by:	bz (mentor)
2010-09-19 12:54:18 +00:00
gjb
6b7ae72644 Note that devfs(5) and fdescfs(5) both create /dev/fd file descriptors.
PR:		144534
Submitted by:	Matthew Seaman <m.seaman at infracaninophile co uk>
Patch by:	Matthew Seaman, keramida
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-18 19:23:14 +00:00
mav
e35ce5750c Document hw.i8254.freq tunable and machdep.i8254_freq sysctl. 2010-09-18 07:45:54 +00:00
mav
65242e7677 Add atrtc(4) manual page. 2010-09-17 08:44:54 +00:00
mav
f4eb598c21 Fix typo ${attimer.4} -> ${_attimer.4}. 2010-09-17 07:44:01 +00:00
mav
6e0a0395a1 Add attimer(4) manual page. 2010-09-17 04:55:01 +00:00
andre
9bbf98ec1e The inflight bandwidth limiter was removed in r212765. 2010-09-16 22:11:55 +00:00
imp
1bb4df1f41 Add note abotu bwn and newer chipsets 2010-09-15 19:40:42 +00:00
imp
a8334633cb Don't suggest using bwn for the bcm4306 cards in the list. The
bcm4306 cards are ambiguous.  BCM4306 rev 2 requires bwi.  BCM4306 rev
3 will work with either.  Since we can't easily determine which is
which, just remove them.
2010-09-15 19:40:08 +00:00
ken
4643dcbb25 MFp4 (//depot/projects/mps/...)
Fix a typo.

Submitted by:	pluknet at gmail dot com
2010-09-15 16:05:51 +00:00
mav
7c1018585f Change licenses of my manual pages to the recommended 2-clause form.
Suggested by:	joel
2010-09-15 07:10:39 +00:00
mav
97cba22b58 Add eventtimers(7) man page, briefly describing event timers subsystem
functionality and configuration options.
2010-09-15 07:04:14 +00:00
mav
2773ca57a0 Add hpet(4) man page. 2010-09-15 04:51:07 +00:00
weongyo
8c0a66bbc5 Fixes spellings and uses the better sentence. While I'm here bumps
date.

Pointed by:	imp, Ruslan Mahmatkhanov <cvs-src at yandex dot ru>
2010-09-14 23:27:06 +00:00
ken
21e40815c9 MFp4 (//depot/projects/mps/...)
Add a man page for the mps(4) driver, and reference it in the
mpt(4) driver man page.

Sponsored by:	Spectra Logic Corporation
2010-09-14 21:40:29 +00:00
hrs
ab8bbcbaf3 Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.
The $ip6addrctl_policy is a variable to choose a pre-defined address
selection policy set by ip6addrctl(8).
The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3,
the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484,
respectively.  When "AUTO" is specified, it attempts to read
/etc/ip6addrctl.conf first.  If it is found, it reads and installs it as
a policy table.  If not, either of the two pre-defined policy tables is
chosen automatically according to $ipv6_activate_all_interfaces.

When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding
$ifconfig_IF_ipv6 is marked as IFDISABLED for security reason.

The default values are ip6addrctl_policy=AUTO and
ipv6_activate_all_interfaces=NO.

Discussed with:	ume and bz
2010-09-13 19:55:40 +00:00
hrs
25136d0711 Add $ipv6_privacy to support net.inet6.ip6.use_tempaddr. Note that this
will be replaced with a per-IF version later.

Based on:	changes in r206408 by dougb
2010-09-13 19:52:46 +00:00
hrs
3319d93aea Revert changes in r206408.
Discussed with:	dougb, core.5, and core.6
2010-09-13 19:51:15 +00:00
imp
18db545520 Prefer MACHINE_CPUARCH to MACHINE_ARCH unless there's a good reason... 2010-09-13 07:22:14 +00:00
gjb
4e7fbc699b I believe the majority of Gregorian calendars would agree the current
year is 2010, not 2005.

Approved by:	keramida (mentor)
Pointy hat to:	gjb
MFC after:	1 week
2010-09-12 17:53:36 +00:00
gjb
1c33048a16 Bump date from r212440.
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-12 14:04:54 +00:00
weongyo
4839bf82b7 Mentions cases when bwi(4) driver should be used that it only wrote
about chipset type instead of card names because it's not easy to sort
names what cards use these chipsets.

Pointed by:	imp
2010-09-11 21:49:28 +00:00
brucec
7adc5f91cf Revert changes of 'assure' to 'ensure' made in r211936.
Approved by: rrs (mentor)
2010-09-11 10:49:56 +00:00
rpaulo
7196fce56d Add a comment describing where to include bsd.dtrace.mk.
Sponsored by:	The FreeBSD Foundation
2010-09-11 10:11:59 +00:00
davidxu
4b5fe92932 Make a link for pthread_timedjoin_np. 2010-09-11 09:26:36 +00:00
davidxu
24263f7931 kill() does queue signal now. 2010-09-11 08:15:18 +00:00
gjb
fe3edd04c5 Add RETURN VALUES section to devclass_get_maxunit(9).
PR:		149979
Submitted by:	gcooper
Patch by:	gcooper
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-10 23:22:01 +00:00
rpaulo
a2cf0528ac Fix bugs introduced in the previous rev:
* add a phatom target for the DTRACEOBJS
* when invoking DTrace, don't add DTRACEOBJS to the command line.

Sponsored by:	The FreeBSD Foundation
2010-09-10 17:44:11 +00:00
rpaulo
a55dbb294d Fix typo in previous commit. 2010-09-10 17:00:48 +00:00
mdf
ab3a8b533a Replace sbuf_overflowed() with sbuf_error(), which returns any error
code associated with overflow or with the drain function.  While this
function is not expected to be used often, it produces more information
in the form of an errno that sbuf_overflowed() did.
2010-09-10 16:42:16 +00:00
rpaulo
d0cd039a30 Add bsd.dtrace.mk. This allows userland programs and libraries to
define USDT probes on a provider.d file and then use this new make
infrastructure to build the corresponding header file and object file.

This will only take effect when the user defines WITH_DTRACE when building.

Sponsored by:	The FreeBSD Foundation
2010-09-10 16:27:09 +00:00
rpaulo
d817977e31 Check the existence of a 'beforelinking' target and make the resulting
program or library depend on that before doing the final linking. This
will be needed by DTrace.

Sponsored by:	The FreeBSD Foundation
2010-09-10 16:21:09 +00:00
rpaulo
f721403d77 Add the DTRACE variable that points to the executable.
Sponsored by:	The FreeBSD Foundation
2010-09-10 16:19:58 +00:00
sanpei
cab433458a Add Planex UE-200TX-G to list of supported devices.
(http://lists.freebsd.org/pipermail/freebsd-current/2008-December/001756.html)

Submitted by:	nork
MFC after:	3 days
2010-09-10 11:01:11 +00:00
brueffer
099486b19e Xref aesni(4). 2010-09-09 21:39:06 +00:00
brueffer
c4b852c787 Some more grammar, wording and mdoc fixes. 2010-09-09 21:37:05 +00:00
mdf
73d2d3f18e Add drain functionality to sbufs. The drain is a function that is
called when the sbuf internal buffer is filled.  For kernel sbufs with a
drain, the internal buffer will never be expanded.  For userland sbufs
with a drain, the internal buffer may still be expanded by
sbuf_[v]printf(3).

Sbufs now have three basic uses:
1) static string manipulation.  Overflow is marked.
2) dynamic string manipulation.  Overflow triggers string growth.
3) drained string manipulation.  Overflow triggers draining.

In all cases the manipulation is 'safe' in that overflow is detected and
managed.

Reviewed by:	phk (the previous version)
2010-09-09 17:49:18 +00:00
mdf
667f651319 Fix small errors in the sbuf(9) man page. 2010-09-09 16:27:02 +00:00
sanpei
33e9adaa50 Add Buffalo (Melco Inc.) LUA3-U2-ATX to list of supported devices.
Submitted by:	nork at FreeBSD.org
MFC after:	3 days
2010-09-08 13:26:19 +00:00
weongyo
212ac5b8db Adds LOADER TUNABLES section to mention knobs which could be controlled
by loader(8) interface.
2010-09-06 22:23:35 +00:00
weongyo
3c24ee50ce Adds a CAVEATS section to mention DMA issues that currently only
a solution is using PIO mode.  As fas as I know all open source based
broadcom drivers for specially LP PHY has this issue because it's
a reverse engineered driver from wl(4).

Pointed by:	Warren Block <wblock at wonkity.com>
2010-09-06 22:10:57 +00:00
weongyo
c90de36538 Adds bwi(4) at SEE ALSO section because some old devices aren't
supported by the bwn(4) firmware that as fas as I know the vendor
dropped its support.  Bumps date also.
2010-09-06 22:02:08 +00:00
kib
a55080dd37 Grammar fixes.
Submitted by:	Ben Kaduk <minimarmot gmail com>, Valentin Nechaev
2010-09-06 21:29:21 +00:00
kib
93b5804195 Add aesni(4) manpage. 2010-09-06 20:35:48 +00:00
andreast
487380460b Point out who is my mentor.
Approved by:	nwhitehorn	(mentor)
2010-09-06 20:16:10 +00:00
andreast
4913489a65 Add myself to calendar.freebsd and committers-src.dot.
Approved by:	nwhitehorn	(mentor)
2010-09-06 19:00:00 +00:00
gjb
df58c57d8a Note in rc.conf(5) that jail_list should contain only alphanumeric
characters.

PR:		150098
Submitted by:	cc (cpt_complain at yahoo dot com)
Approved by:	keramida (mentor)
MFC after:	1 week
2010-09-05 20:04:54 +00:00
mav
d23fcb99b7 Add support for the Sharp/Micron flash chips to powermac_mvram(4).
Tested on PowerMac G4 AGP.

Reviewed by:	nwhitehorn
2010-09-05 20:04:02 +00:00
kib
4aee566266 Document "show cdev" command.
MFC after:	3 days
2010-09-05 14:52:27 +00:00
kib
f346e51345 Document MAKEDEV_ETERNAL.
MFC after:	3 days
2010-09-05 14:47:46 +00:00
swills
e749c008a4 Add myself to commiters-ports.dot
Approved By: pgollucci (co-mentor)
2010-09-05 01:58:21 +00:00
yongari
a7120610e3 Better wording.
Submitted by:	jkim
2010-09-02 20:43:01 +00:00
yongari
bf53dc1afd Document tunable dev.sis.%unit.manual_pad
While I'm here Xref vlan(4) as sis(4) supports VLAN oversized
frames.
2010-09-02 18:22:06 +00:00
maxim
3fcf479705 o csup(1) does not have -g flag. Remove it from the example.
PR:		conf/150214
Submitted by:	Li
MFC after:	1 week
2010-09-02 05:07:34 +00:00
mlaier
2ef34e9086 rmlock(9) two additions and one change/fix:
- add rm_try_rlock().
 - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while
   holding the write lock.
 - change rm_noreadtoken to a cpu bitmask to indicate which CPUs need to go
   through the lock/unlock in order to synchronize.  As a side effect, this
   also avoids IPI to CPUs without any readers during rm_wlock.

Discussed with:		ups@, rwatson@ on arch@
Sponsored by:		Isilon Systems, Inc.
2010-09-01 19:50:03 +00:00
maxim
58e091d363 o Sync the man page with the reality: nfs/ includes
are under include/ and include/fs/.

PR:		docs/139153
Submitted by:	gjb
MFC after:	1 week
2010-09-01 12:08:54 +00:00
ed
c2d34e9364 Remove reference to device minor numbers in psm(4) man page.
The number returned by stat(2) is generated automatically, so it is not
possible to deduce whether the device is blocking or not.

MFC after:	1 week
2010-09-01 09:53:24 +00:00
dim
bab48ae23a Add myself to committers-src.dot.
Approved by:	rpaulo (mentor)
2010-08-30 21:18:59 +00:00
imp
6492a7e501 Now that we default to the proper endian, we don't need these for mips 2010-08-28 21:06:13 +00:00
brucec
76d7244728 Fix incorrect usage of 'assure' and 'insure'.
Approved by: rrs (mentor)
2010-08-28 16:32:01 +00:00
gabor
c24a7c0fb6 - Regen after adding WITH_BSD_GREP and removing WITH_GNU_GREP 2010-08-25 09:48:21 +00:00
trasz
fd3d9f3731 s/ithread/interrupt thread/ 2010-08-24 21:38:44 +00:00
imp
c3a399c4ba MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
2010-08-23 22:24:11 +00:00
gabor
415098b7a0 - Change default grep back to GNU version. BSD grep can be built with the
WITH_BSD_GREP knob.
- Bump __FreeBSD_version

Requested by:   dougb
Approved by:    delphij (mentor)
2010-08-23 10:04:26 +00:00
yongari
1b3ec20834 Better wording and fix wrong explanation.
Submitted by:	Ben Kaduk ( minimarmot <> gmail dot com )
2010-08-23 00:10:43 +00:00
yongari
d13691c661 Document tunable dev.rl.%unit.prefer_iomap 2010-08-22 21:32:48 +00:00
ed
46ef223895 Add missing mlink for insmntque1().
MFC after:	1 week
2010-08-22 16:42:46 +00:00
yongari
9321b37fbd Document newly introduced tunable dev.bge.%d.forced_udpcsum.
While I'm here also mention tunable dev.bge.%d.forced_collapse.
2010-08-22 01:40:59 +00:00
rpaulo
8b893530ad Remove LIBELF_PIC.
Sponsored by:	The FreeBSD Foundation
2010-08-21 17:53:16 +00:00
rpaulo
e43a56e298 Add the definition of LIBELF_PIC.
Sponsored by:	The FreeBSD Foundation
2010-08-21 14:08:04 +00:00
rpaulo
f63ab9228e For every instance of '.if ${CC} == "foo"' or '.if ${CC} != "foo"' in
Makefiles or *.mk files, use ${CC:T:Mfoo} instead, so only the basename
of the compiler command (excluding any arguments) is considered.

This allows you to use, for example, CC="/nondefault/path/clang -xxx",
and still have the various tests in bsd.*.mk identify your compiler as
clang correctly.

ICC if cases were also changed.

Submitted by:	Dimitry Andric <dimitry at andric.com>
2010-08-17 20:39:28 +00:00
rpaulo
4a63dcd164 Make sure any -U CFLAGS are not filtered out when calling mkdep, as
gnu/usr.bin/cc/libiberty first defines the PREFIX macro, and then
undefines it again, so mkdep with clang complains.

Submitted by:	Dimitry Andric <dimitry at andric.com>
Reviewed by:	ru
2010-08-17 13:02:08 +00:00
joel
7186d2782d Put parentheses around a few macros to prevent mdoc warnings. 2010-08-16 21:26:47 +00:00
joel
dd1fff9bcb Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while
translating these manual pages.  Minor corrections by me.

Submitted by:	Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2010-08-16 15:18:30 +00:00
joel
04035a1299 Fix .Dd from last commit.
Submitted by	Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
2010-08-16 12:37:17 +00:00
brueffer
257a18ba17 Fixed a typo.
PR:		148701
Submitted by:	Glen Barber <glen.j.barber@gmail.com>
MFC after:	1 week
2010-08-15 21:37:30 +00:00
brueffer
71251b1c93 Fixed a typo and added a comma.
PR:		148681
Submitted by:	Glen Barber <glen.j.barber@gmail.com>
MFC after:	1 week
2010-08-15 21:34:50 +00:00
brueffer
d6f7bade91 Tie up some loose ends r88509 left behind:
- chooseproc() is long gone, MLINK choosethread instead
- Update NAME section for choosethread
- Mark chooseproc.9 for removal

PR:             149549
Submitted by:   pluknet
MFC after:	1 week
2010-08-15 21:25:52 +00:00
brueffer
380ff6898a Use our standard section 4 SYNOPSIS. While here, fixed markup whitespace
and adapted an Xref.
2010-08-15 20:56:13 +00:00
joel
48e321d016 Fix typo. 2010-08-13 20:27:40 +00:00
takawata
05bcb2e515 Hook tpm.4 manual to hook. 2010-08-13 05:01:44 +00:00