Commit Graph

13975 Commits

Author SHA1 Message Date
glebius
ceb3756810 Spelling.
Submitted by:	dougb
2011-10-21 20:23:40 +00:00
glebius
885aceb259 Note that it is still not possible to guard special kind of allocations, those
that have special relationships with uma(9). Currently only mbuf clusters.
2011-10-21 13:54:17 +00:00
jchandra
7277eaaa56 Build 'dtc' by default for MIPS.
The device tree compiler is needed during the kernel build to compile
DTS files to DTB.

Reviewed by:	stas
2011-10-20 13:41:37 +00:00
nwhitehorn
2cd40fe2b6 Add support for special keys (volume/brightness/eject) on Apple laptops with
ADB keyboards.

Submitted by:	Justin Hibbits <jrh29 at alumni dot cwru dot edu>
MFC after:	9.0-RELEASE
2011-10-16 21:01:42 +00:00
eadler
9d7884364e - change "is is" to "is" or "it is"
- change "the the" to "the"

Approved by:	lstewart
Approved by:	sahil (mentor)
MFC after:	3 days
2011-10-16 14:30:28 +00:00
wblock
e4b40dc1f5 Add mentors and myself to committers-doc.dot.
Approved by:	gjb (mentor)
2011-10-14 00:34:45 +00:00
rakuco
c4fe3bac8a Add myself to committers-ports.dot and calendar.freebsd.
Approved by:	avilla (mentor)
2011-10-13 20:36:43 +00:00
gleb
71169bb7fd Add myself
Approved by:	mdf (mentor)
2011-10-12 20:18:13 +00:00
glebius
e999aa7f37 Document that memguard(9) now can guard uma(9) allocations. 2011-10-12 18:46:48 +00:00
edwin
839efd604e Updates from Newsletter VI-9 and VI-10:
Newsletter VI-9 2011-06-12
    Name changes for Fiji and Myanmar as well as other minor corrections

    Newsletter VI-10 2011-08-09
    Code elements for South Sudan.

Reviewed by:	http://www.iso.org/iso/country_codes.html
2011-10-12 07:00:50 +00:00
glebius
4b0faaa8bc Fix date in last commit.
Noticed by:	Larry Rosenman <ler lerctr.org>
2011-10-11 18:26:31 +00:00
glebius
3047071308 Properly document default number of rx/tx descriptors for Intel cards. 2011-10-11 15:41:07 +00:00
das
45c7a23a18 Also pass the -ansi flag through to mkdep (requested by bde), and fix
a cut-and-paste-o (noticed by rdivacky).
2011-10-11 05:17:26 +00:00
das
9261843d83 Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests
for particular compiler features might be evaluated differently by
mkdep than they would be by cc.
2011-10-10 15:39:29 +00:00
gjb
22eb5e925a Bump .Dd to reflect the date of the last content change, so MFC content
makes sense.

Pointy-hat to:		gjb (myself)
2011-10-09 20:21:07 +00:00
crees
1e0c79103a Revert unapproved commit to bsd.port.mk.
This would have had more discussion, but it was explicitly rejected at submission by portmgr:

http://lists.freebsd.org/pipermail/freebsd-ports/2011-September/070591.html
2011-10-08 18:25:01 +00:00
stas
a554b0aa74 - Add a couple of more sed subsitutions needed to get the correct
libtool.m4.  With these fixes libtool will correctly indentify the
  system as ELF (and not a.out).
- While here, change the substitutions so they're still correctly
  match freebsd1.x, freebsd2.x etc.
2011-10-08 00:01:17 +00:00
stas
9b1ae764a6 - ${WRKSRC} might be missing when the autotools fixup is running.
Account for this.

Reported by:	Mykola Dzham <i@levsha.me>
2011-10-07 23:43:51 +00:00
jceel
5364f65380 Add myself.
Approved by:	wkoszek (mentor)
2011-10-07 23:12:33 +00:00
des
650dd4c77f Mention tdsignal(9).
MFC after:	1 week
2011-10-07 22:14:18 +00:00
obrien
4b04845b06 Disallow various debug.kdb sysctl's when securelevel is raised.
PR:	161350
2011-10-07 05:47:30 +00:00
melifaro
12aa836655 Add myself.
Approved by:       kib (mentor)
2011-10-06 15:10:48 +00:00
jilles
943e8837f5 Work around the autotools problem with the 10.0 version.
With this, I can build various ports on a 10.0-CURRENT system without
hacking or hiding the version number.

This commit should be reverted when there is a cleaner fix in autotools
and/or ports/Mk/bsd.port.mk.

The original patch is from Ed Schouten but needed some additions.
2011-10-04 22:23:00 +00:00
delphij
9da6f154d2 Add the 9750 SATA+SAS 6Gb/s RAID controller card driver, tws(4). Many
thanks for their contiued support to FreeBSD.

This is version 10.80.00.003 from codeset 10.2.1 [1]

Obtained from:	LSI http://kb.lsi.com/Download16574.aspx [1]
2011-10-04 21:40:25 +00:00
ken
949394e8e0 Add descriptor sense support to CAM, and honor sense residuals properly in
CAM.

Desriptor sense is a new sense data format that originated in SPC-3.  Among
other things, it allows for an 8-byte info field, which is necessary to
pass back block numbers larger than 4 bytes.

This change adds a number of new functions to scsi_all.c (and therefore
libcam) that abstract out most access to sense data.

This includes a bump of CAM_VERSION, because the CCB ABI has changed.
Userland programs that use the CAM pass(4) driver will need to be
recompiled.

camcontrol.c:	Change uses of scsi_extract_sense() to use
		scsi_extract_sense_len().

		Use scsi_get_sks() instead of accessing sense key specific
		data directly.

scsi_modes:	Update the control mode page to the latest version (SPC-4).

scsi_cmds.c,
scsi_target.c:	Change references to struct scsi_sense_data to struct
		scsi_sense_data_fixed.  This should be changed to allow the
		user to specify fixed or descriptor sense, and then use
		scsi_set_sense_data() to build the sense data.

ps3cdrom.c:	Use scsi_set_sense_data() instead of setting sense data
		manually.

cam_periph.c:	Use scsi_extract_sense_len() instead of using
		scsi_extract_sense() or accessing sense data directly.

cam_ccb.h:	Bump the CAM_VERSION from 0x15 to 0x16.  The change of
		struct scsi_sense_data from 32 to 252 bytes changes the
		size of struct ccb_scsiio, but not the size of union ccb.
		So the version must be bumped to prevent structure
		mis-matches.

scsi_all.h:	Lots of updated SCSI sense data and other structures.

		Add function prototypes for the new sense data functions.

		Take out the inline implementation of scsi_extract_sense().
		It is now too large to put in a header file.

		Add macros to calculate whether fields are present and
		filled in fixed and descriptor sense data

scsi_all.c:	In scsi_op_desc(), allow the user to pass in NULL inquiry
		data, and we'll assume a direct access device in that case.

		Changed the SCSI RESERVED sense key name and description
		to COMPLETED, as it is now defined in the spec.

		Change the error recovery action for a number of read errors
		to prevent lots of retries when the drive has said that the
		block isn't accessible.  This speeds up reconstruction of
		the block by any RAID software running on top of the drive
		(e.g. ZFS).

		In scsi_sense_desc(), allow for invalid sense key numbers.
		This allows calling this routine without checking the input
		values first.

		Change scsi_error_action() to use scsi_extract_sense_len(),
		and handle things when invalid asc/ascq values are
		encountered.

		Add a new routine, scsi_desc_iterate(), that will call the
		supplied function for every descriptor in descriptor format
		sense data.

		Add scsi_set_sense_data(), and scsi_set_sense_data_va(),
		which build descriptor and fixed format sense data.  They
		currently default to fixed format sense data.

		Add a number of scsi_get_*() functions, which get different
		types of sense data fields from either fixed or descriptor
		format sense data, if the data is present.

		Add a number of scsi_*_sbuf() functions, which print
		formatted versions of various sense data fields.  These
		functions work for either fixed or descriptor sense.

		Add a number of scsi_sense_*_sbuf() functions, which have a
		standard calling interface and print the indicated field.
		These functions take descriptors only.

		Add scsi_sense_desc_sbuf(), which will print a formatted
		version of the given sense descriptor.

		Pull out a majority of the scsi_sense_sbuf() function and
		put it into scsi_sense_only_sbuf().  This allows callers
		that don't use struct ccb_scsiio to easily utilize the
		printing routines.  Revamp that function to handle
		descriptor sense and use the new sense fetching and
		printing routines.

		Move scsi_extract_sense() into scsi_all.c, and implement it
		in terms of the new function, scsi_extract_sense_len().
		The _len() version takes a length (which should be the
		sense length - residual) and can indicate which fields are
		present and valid in the sense data.

		Add a couple of new scsi_get_*() routines to get the sense
		key, asc, and ascq only.

mly.c:		Rename struct scsi_sense_data to struct
		scsi_sense_data_fixed.

sbp_targ.c:	Use the new sense fetching routines to get sense data
		instead of accessing it directly.

sbp.c:		Change the firewire/SCSI sense data transformation code to
		use struct scsi_sense_data_fixed instead of struct
		scsi_sense_data.  This should be changed later to use
		scsi_set_sense_data().

ciss.c:		Calculate the sense residual properly.  Use
		scsi_get_sense_key() to fetch the sense key.

mps_sas.c,
mpt_cam.c:	Set the sense residual properly.

iir.c:		Use scsi_set_sense_data() instead of building sense data by
		hand.

iscsi_subr.c:	Use scsi_extract_sense_len() instead of grabbing sense data
		directly.

umass.c:	Use scsi_set_sense_data() to build sense data.

		Grab the sense key using scsi_get_sense_key().

		Calculate the sense residual properly.

isp_freebsd.h:	Use scsi_get_*() routines to grab asc, ascq, and sense key
		values.

		Calculate and set the sense residual.

MFC after:	3 days
Sponsored by:	Spectra Logic Corporation
2011-10-03 20:32:55 +00:00
dim
e28d9921b6 Revive the LLVM and Clang license files, which were removed in my
too-thorough cleanup of unused files, in r213695.  Also make sure these
get installed under /usr/share/doc.

Submitted by:	rwatson, brooks
Pointy hat to:	dim
MFC after:	3 days
2011-09-29 18:12:40 +00:00
gjb
51241a49ef Whitespace cleanup in build(7).
MFC after:	1 week
Need-MFC:	225858
2011-09-29 02:57:08 +00:00
gjb
6b6cf4114d Document, and provide an example for, PORTS_MODULES in build(7).
PR:		161017
Submitted by:	gcooper
MFC after:	1 week
2011-09-29 02:52:33 +00:00
eadler
66e1dd1bb2 - fix whitespace issue in calendar
- add a n after \

Submitted by:	brueffer
Approved by:	bapt (mentor)
2011-09-28 20:46:52 +00:00
eadler
0e483eb670 - add myself to committers-ports.dot
Approved by:	sahil (mentor)
2011-09-28 18:56:02 +00:00
pluknet
c76aaf56c6 Fix typo in OSIOCGIFADDR.
MFC after:	3 days
2011-09-27 07:05:41 +00:00
gabor
72ce933d13 - Move misplaced reference [1]
- Sort references [1]
- s/Since/Because/ [2]

Submitted by:	arundel [1],
		Chad Perrin <perrin@apotheon.com> [2]
MFC after:	3 days
2011-09-27 07:00:24 +00:00
rmh
07fff668ac Add myself to committers-src.dot.
Approved by:	kib (mentor)
2011-09-27 05:30:52 +00:00
kensmith
6c59da44fb Forgot to add "RELENG_8" to list of CVS tags.
Submitted by:	Mamontov Roman <mr.xanto at gmail.com>
Approved by:	re (implicit)
2011-09-26 11:57:48 +00:00
kensmith
b7aac9c4e0 Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing
it from the 9.0-RELEASE release cycle code freeze.

Approved by:	re (implicit)
2011-09-26 02:27:04 +00:00
hrs
9d87be50d4 - Document $ipv6_cpe_wanif.
- Emphasize $ipv6_enable and $ipv6_prefer are deprecated.
- Add more detail descriptions about $ipv6_activate_all_interfaces.
- Add some more examples of $ifconfig_IF_ipv6.
- rtsold(8) and rtadvd(8) can be used even when ipv6_gateway_enable=NO now.

Approved by:	re (kib)
2011-09-19 16:00:55 +00:00
cs
a5586859b8 Add myself and connect me with my mentors
Approved by:	re@, glarkin@
2011-09-16 22:57:50 +00:00
lstewart
b7af600f40 Rename the cc.4 and cc.9 modular congestion control related man pages to
mod_cc.4 and mod_cc.9 respectively to avoid any possible confusion with the cc.1
gcc man page. Update references to these man pages where required.

Requested by:	Grenville Armitage
Approved by:	re (kib)
MFC after:	3 days
2011-09-15 12:15:36 +00:00
dougb
1209837866 Correct the RFC number for the description of IPv6 privacy addressing
Reviewed by:	bz
Approved by:	re (kib)
2011-09-15 09:22:49 +00:00
adrian
f23b1f625d Ensure that ta_pending doesn't overflow u_short by capping its value at USHRT_MAX.
If it overflows before the taskqueue can run, the task will be
re-added to the taskqueue and cause a loop in the task list.

Reported by:	Arnaud Lacombe <lacombar@gmail.com>
Submitted by:	Ryan Stone <rysto32@gmail.com>
Reviewed by:	jhb
Approved by:	re (kib)
MFC after:	1 day
2011-09-15 08:42:06 +00:00
gavin
e650288326 Include descriptions for keymaps missing from INDEX.keymaps. This fixes
the five keymaps referred to only by filename on the keymap selection
screen of bsdinstall.

Approved by:	re (kib)
MFC after:	1 week
2011-09-13 21:15:23 +00:00
kib
0edd8a1458 Document vm_page_aflag_set(9), vm_page_aflag_clear(9) and vm_page_reference(9).
Retire vm_page_flag_set() and vm_page_flag_clear() functions.

Reviewed by:	alc
Approved by:	re (bz)
2011-09-06 10:40:21 +00:00
gavin
dd1a5719d5 Add my doc mentor/mentee relationships.
Approved by:	re (kib), bcr, jkois (mentors)
2011-09-03 12:59:05 +00:00
dougb
f18a6196d7 Upgrade to BIND version 9.8.1. Release notes at:
https://deepthought.isc.org/article/AA-00446/81/
or
/usr/src/contrib/bind9/

Approved by:	re (kib)
2011-09-03 07:13:45 +00:00
brueffer
68e09a12b6 Wording, grammar and markup cleanup.
PR:		159948
Submitted by:	Ben Kaduk <kaduk@mit.edu>
Approved by:	re (kib)
2011-09-02 18:52:28 +00:00
brueffer
56a7a5d12f Remove an incorrect apostrophe.
PR:		160267
Submitted by:	Warren Block <wblock@wonkity.com>
Approved by:	re (kib)
MFC after:	1 week
2011-09-02 18:37:48 +00:00
rse
3eabc3bd67 Fix a little typo and get rid of a cryptic description by aligning the
text to the remaining description.

Approved by: re
2011-09-02 18:13:46 +00:00
brueffer
c2db418e2d Remove broken link to supported wifi cards. There doesn't appear to
be an equivalent list anywhere else.

PR:		157778
Submitted by:	Ted Mittelstaedt <tedm@mittelstaedt.us>
Approved by:	re (blackend)
MFC after:	1 week
2011-08-28 10:10:31 +00:00
brueffer
6e223065c4 Remove information and MLINK for MULTI_DRIVER_MODULE().
The macro was removed in r121129 almost 8 years ago.

PR:		150244
Submitted by:	Gireesh Nagabhushana <dngireesh@avrita.com>
Approved by:	re (kib)
2011-08-27 22:08:01 +00:00
jhb
904cb55f96 - Replace references to sio(4) with uart(4) instead.
- We no longer use the same data structure in as NetBSD in pucdata.c.
- ppc(4) has had a puc(4) attachment for a while now.

Approved by:	re (blackend)
MFC after:	3 days
2011-08-26 19:44:39 +00:00
brueffer
1fcff6eeb6 Fix the manpage section number, thus unbreaking the hardware notes build. (1)
Also hook up vxge(4) to the build.

Submitted by:	simon (1)
Approved by:	re (blackend)
2011-08-26 17:35:22 +00:00
attilio
53c60682f4 Fix an error in the generation of the manpage after r225177.
Sponsored by:	Sandvine Incorporated
Submitted by:	jkim
Approved by:	re (bz)
MFC after:	3 weeks
X-MFC:		r225177
2011-08-25 17:42:27 +00:00
attilio
683d7a54ce Fix a deficiency in the selinfo interface:
If a selinfo object is recorded (via selrecord()) and then it is
quickly destroyed, with the waiters missing the opportunity to awake,
at the next iteration they will find the selinfo object destroyed,
causing a PF#.

That happens because the selinfo interface has no way to drain the
waiters before to destroy the registered selinfo object. Also this
race is quite rare to get in practice, because it would require a
selrecord(), a poll request by another thread and a quick destruction
of the selrecord()'ed selinfo object.

Fix this by adding the seldrain() routine which should be called
before to destroy the selinfo objects (in order to avoid such case),
and fix the present cases where it might have already been called.
Sometimes, the context is safe enough to prevent this type of race,
like it happens in device drivers which installs selinfo objects on
poll callbacks. There, the destruction of the selinfo object happens
at driver detach time, when all the filedescriptors should be already
closed, thus there cannot be a race.
For this case, mfi(4) device driver can be set as an example, as it
implements a full correct logic for preventing this from happening.

Sponsored by:	Sandvine Incorporated
Reported by:	rstone
Tested by:	pluknet
Reviewed by:	jhb, kib
Approved by:	re (bz)
MFC after:	3 weeks
2011-08-25 15:51:54 +00:00
hselasky
727eb4fe39 Add new USB ID.
Approved by:    re (kib)
MFC after:      1 week
PR:		usb/159836
2011-08-20 14:21:32 +00:00
mav
8837eae24c Update ata(4) manual page, reflecting migration to CAM-based ATA stack
(`options ATA_CAM` enabled by default).

Approved by:	re (kib)
2011-08-17 19:43:41 +00:00
glebius
4d0a111492 Fix a couple of issues in last commit.
Submitted by:	maxim
Approved by:	re (kib)
2011-08-15 13:33:28 +00:00
glebius
eb0477f78d Describe how carp(4) status changes can be processed with
help of devd(8).

Submitted by:	"Alexander V. Chernikov" <melifaro ipfw.ru>
Approved by:	re (kib)
2011-08-15 12:08:41 +00:00
rmacklem
72d7cb1657 Change "options NFSCLIENT" to "options NFSCL" in diskless.8,
since that is now the default NFS client.
This is a content change.

Reported by:	shuvaev at physik.uni-wuerzburg.de
Approved by:	re (hrs)
2011-08-08 13:13:22 +00:00
gjb
7aff360292 Provide a more user friendly URL to the IETF site in gif(4).
Pointed out by:		dougb
MFC after:		3 days
Approved by:		re (hrs)
2011-08-02 01:48:45 +00:00
delphij
5ef08898c2 Add PCI ID for RocketRAID 4321 and 4322. A FreeNAS user have tested the
change on RocketRAID 4322.

Sponsored by:	iXsystems, Inc.
MFC after:	3 days
Approved by:	re (kib)
2011-08-01 21:12:41 +00:00
joel
3eae9025cf I've rewritten most of this file so assign the copyright to me.
Approved by:	re (kib)
2011-08-01 15:56:40 +00:00
kib
664d9b6f47 Fix markup.
Approved by:	re (hrs)
2011-08-01 08:52:05 +00:00
gjb
6ce53b0b08 Update vfs_getopt(9) to reflect 32-bit to 64-bit change from
r224290.

PR:		159324
Submitted by:	Brandon Gooch (jamesbrandongooch % gmail ! com)
Approved by:	re (kib)
2011-07-31 21:04:47 +00:00
gjb
51a24f8417 mdoc(7) fix for the pcm(4) manual
Spotted by:	manlint
Approved by:	re (kib)
2011-07-31 15:23:21 +00:00
joel
8a12085f21 Add a better description, a few examples and a couple of minor fixes.
Reviewed by:	brueffer
Approved by:	re (kib)
2011-07-30 23:09:52 +00:00
avg
188ae5a78b update smp related documentation after recent changes
Remove references to machdep.hlt_logical_cpus and
machdep.hlt_cpus sysctls and tunables.
Document machdep.hyperthreading_allowed and
hint.lapic.X.disabled tunables.

Prompted by:	ru
Proofreading:	bf
Reviewed by:	jhb
Approved by:	re (kib)
2011-07-30 20:42:14 +00:00
gjb
2f371a18c9 Fix various broken links in manual pages.
Submitted by:	Michiel Overtoom (motoom % xs4all nl)
PR:		159130 159131 159132 159133 159134
		159135 159136 159137 158138 159144
Approved by:	re (kib)
MFC after:	3 days
2011-07-23 22:55:32 +00:00
philip
da0a3a91a6 MFV pciids-20110716, r224099
Update to use the latest version of the PCI IDs Repository.
As discussed on -current@ in May, this brings in a new source of the database,
which is also used by other operating systems.  Our previous sources no longer
exist and this database is actively maintained and more complete in general.
2011-07-16 15:40:26 +00:00
dougb
264979c9d1 bmake and other updates necessary for the BIND 9.8.x upgrade.
This includes a structural change regarding atomic ops. Previously they
were enabled on all platforms unless we had knowledge that they did not
work. However both work performed by marius@ on sparc64 and the fact that
the 9.8.x branch is fussier in this area has demonstrated that this is
not a safe approach. So I've modified a patch provided by marius to
enable them for i386, amd64, and ia64 only.
2011-07-16 11:20:54 +00:00
zi
54059df322 Add myself to committers-ports.dot
Approved by:	wxs@ (mentor)
2011-07-15 21:37:13 +00:00
gjb
2c393993a1 Remove an extra '.It' from axe(4).
Reported by:	manlint
2011-07-15 15:56:23 +00:00
emaste
d213ff44f3 Remove note that claims pthread_set_name_np is for debugging only.
As Garrett points out,
  It is no more a debugging interface than setproctitle(3), and has not
  been since the name started getting stuffed into the kernel.  This
  statement may have made sense when the name was only visible in thread
  state dumps and the debugger.
PR:		threads/158815
Submitted by:	wollman@
2011-07-15 01:50:40 +00:00
yongari
8de1278b63 Document AX88772B and AX88760. AX88760 is treated as AX88772A in
driver.
Mention all ASIX USB controllers that are supported by axe(4).
Reword media types and explicly mention AX88178 is the only
controller that supports gigabit link.
While I'm here use shorten model instead of showing all controller
model numbers.
2011-07-14 17:34:59 +00:00
ivoras
03559906f7 Sort Xr's by number then by name
Nitpicked by: niclas zeising at gmail.com :)
2011-07-12 14:18:54 +00:00
ivoras
dbca92999e Cross reference nanobsd(8) 2011-07-10 20:15:21 +00:00
alc
89719a0968 Remove the old vm_map_clean man page. 2011-07-09 19:09:20 +00:00
alc
ddb151456e vm_map_clean() was long ago renamed to vm_map_sync(). Also, it no longer
acquires Giant.

MFC after:	1 week
2011-07-09 19:05:28 +00:00
alc
17591f511a Oops. These changes should have been included in r223891.
MFC after:	1 week
2011-07-09 18:09:57 +00:00
alc
0bfba50130 Remove manual pages for functions that no longer exist.
MFC after:	1 week
2011-07-09 18:05:27 +00:00
kib
350f61d08c Document copyin_nofault, copyout_nofault, uiomove_nofault.
Submitted by:	alc
2011-07-09 15:24:12 +00:00
mdf
d825d95c9f Add an option to have a fail point term only execute when run by a
specified pid.  This is helpful for automated testing involving a global
knob that would otherwise be executed by many other threads.

MFC after: 1 week
2011-07-08 20:41:12 +00:00
bz
9cad5bfef3 Add infrastructure to allow all frames/packets received on an interface
to be assigned to a non-default FIB instance.

You may need to recompile world or ports due to the change of struct ifnet.

Submitted by:	cjsp
Submitted by:	Alexander V. Chernikov (melifaro ipfw.ru)
		(original versions)
Reviewed by:	julian
Reviewed by:	Alexander V. Chernikov (melifaro ipfw.ru)
MFC after:	2 weeks
X-MFC:		use spare in struct ifnet
2011-07-03 12:22:02 +00:00
yongari
431ae8d898 Document two known hardware errata which requires manual link
configuration.

Submitted by:	Aries Lee (arieslee <> jmicron com)
2011-06-29 17:32:52 +00:00
edwin
a963cb9712 Remove AN again now that tzdata2011h has been imported. 2011-06-28 10:38:12 +00:00
se
0ba7056c72 Add macros to specify owner, group and mode of config files for installation.
Submitted by:	Chris Rees (crees)
2011-06-27 13:23:51 +00:00
glebius
448b26fea8 Document that autoSrcAddr isn't re-enabled on NGM_SHUTDOWN.
Submitted by:	Vadim Goncharov <vadim_nuclight mail.ru>
2011-06-23 10:43:36 +00:00
dougb
1175683ecd Add the netwait rc.d script. It waits for the specified period for the
network to become active.

PR:		conf/151063
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
2011-06-19 22:48:40 +00:00
dougb
7622e8e87a Add rc.d/kld to load kernel modules after local disks are up.
This method is many times faster than doing it in /boot/loader.conf.
2011-06-18 19:41:05 +00:00
bz
55526da099 Install symlinks for m_tag_* mbuf tag functions to the mbuf_tags.9 man page.
MFC after:	1 week
2011-06-18 13:08:46 +00:00
bz
c1a32a7f36 Correct a typo in the function name.
MFC after:	1 week
2011-06-18 13:03:06 +00:00
ed
93d2d762ed Regenerate src.conf.5. 2011-06-17 21:31:13 +00:00
ed
e75cd7ae0e Add WITHOUT_UTMPX switch to the build system.
This knob removes the tools that are exclusively used to view and
maintain the databases maintained by utmpx, namely last, users, who,
wtmpcvt, ac, lastlogin and utxrm.

The tool w is not in this list, because it has some other functionality
which is unrelated to utmpx; it is hardlinked to the uptime tool.
2011-06-17 21:30:21 +00:00
ed
3228f6f97d Update manpage. 2011-06-17 20:49:30 +00:00
bcr
812705c73f Fix some wording and grammar in the BUGS section.
PR:             docs/157901
Submitted by:   Niclas Zeising (niclas dot zeising at gmail dot com)
Reviewed by:    mav
MFC after:      3 days
2011-06-16 19:57:07 +00:00
mav
7c8a74495b Add Digitizer-related usage IDs from HUTRR30 and HUTRR34. 2011-06-16 15:53:14 +00:00
ru
3fa3d79859 It's a bit odd, but "make update" in src/ can also update the ports/,
doc/, and now www/ trees, but only using the "cvsup" transport.

When "make update" is run using a tree's makefile, it can also use
"cvs" (except for www/) and "svn" (only src/).

Clean up documentation and code regarding "make update":

- Increase oddness by adding support for WWWSUPFILE and NO_WWWUPDATE to
  Makefile.inc1 (analogous to PORTSSUPFILE/NO_PORTSUPDATE and
  DOCSUPFILE/NO_DOCUPDATE; WWWSUPFILE already supported by www/Makefile).

- Document all trees that support CVS_UPDATE.

- Document all trees that support SUP_UPDATE.

- Document SVN_UPDATE.

- Document NO_WWWUPDATE.

- make.conf(5) mistakenly said that *SUPFILE* had defaults.

- Add an example entry for WWWSUPFILE.
2011-06-16 12:28:37 +00:00
stephen
41915bd733 Reviewed by: gabor (mentor)
Approved by:	gabor (mentor)
2011-06-14 17:51:46 +00:00
crees
f6dfb001a5 Add self
Approved by:	rene (mentor)
2011-06-11 21:27:14 +00:00
jilles
564568bfd4 skel/.shrc: Improve commented CDPATH example for POSIX requirements.
POSIX says an empty entry in CDPATH shall not result in the new directory
being printed, while any non-empty entry shall result in the new directory
being printed, including ".". Therefore, the value of CDPATH should almost
always start with a colon, not dot and colon.

Our sh does not print the name for empty entries as well as "." entries.

MFC after:	1 week
2011-06-10 13:47:11 +00:00
delphij
b13895d9ea Use .Dq instead of hardcoding `` and ''.
Suggested by:	gjb
2011-06-08 00:31:10 +00:00
delphij
f5a66a355e Add a special mount option "failok" to indicate that the administrator wants
the system to proceed to boot without bailing out into single user mode,
even when the file system can not be successfully mounted.

This option is implemented in mount(8) and not passed into kernel.

MFC after:	1 month
2011-06-07 18:48:49 +00:00
jlaffaye
187eee07df - Add myself to calendar.freebsd
- Add the forgotten relation to mentors in committers-ports.dot

Approved by:	bapt@ (mentor)
2011-06-07 09:06:15 +00:00
avg
effca0c019 amdsbwd: update to support SB8xx southbridges
Many thanks to Tino <tinotom@gmail.com> for drawing my attention to
this, for doing a lot of testing and providing great feedback.
Many thanks to AMD for continuing to release public specifications for
their chipsets.

PR:		kern/157568
Tested by:	Tino <tinotom@gmail.com>
MFC after:	1 week
2011-06-07 06:18:02 +00:00
jlaffaye
abeb826d03 Add myself to committers-ports.dot
Approved by: tabthorpe@ (mentor)
2011-06-06 23:48:48 +00:00
jkim
165e30068e Revert r222152. The root cause was analysed and better fix is upcoming.
Discussed with:	delphij
2011-06-06 22:18:40 +00:00
avg
2406f0bc26 amdsbwd.4: fix history to reflect correct releases
Pointed out by:	ru
MFC after:	4 days
2011-06-05 19:25:30 +00:00
avg
afe8c865a6 amdsbwd.4: fix spelling of my name
Pointed out by:	ru
MFC after:	3 days
2011-06-05 19:20:39 +00:00
hselasky
e9d242e0e4 Rename recently added USB serial driver.
Suggested by:	YongHyeon PYUN
MFC after:	7 days
2011-06-04 20:40:24 +00:00
ru
cf2f65aaed Don't pass -o1- to groff(1) by default. If ms(7) formatted document
uses the .RP macro, a separate cover page is created as page 0 which
is not otherwise output.  The bug was hiding by a hack in troffrc
that disables SGR support in grotty(1), which I'm going to remove now.
For POLA reasons, still disable SGR support in grotty(1), by passing
-P-c to groff(1).  If we want SGR sequences in these documents, this
can be removed.

MFC after:	1 week
2011-06-03 11:58:17 +00:00
uqs
75c697f88d mdoc: reorder sections consistently 2011-06-02 09:56:53 +00:00
hselasky
3e0b323798 Add support for new USB serial driver.
Submitted by:	Lev Serebryakov, lev @
MFC after:	14 days
2011-06-01 17:58:27 +00:00
nwhitehorn
f863f8506b It is generally considered useful for release media to have kernels on them.
Submitted by:	joel
2011-05-31 12:59:15 +00:00
bcr
48c330cbba Bump document date.
I accidently committed the actual change (typo fix) in r222492, which
is a completely unrelated change.
2011-05-30 10:28:55 +00:00
bcr
9650be17d6 Add a short description about NO_CHECKSUM.
PR:		docs/155980
Submitted by	KOIE Hidetaka (koie at suri co jp)
MFC after:	7 days
2011-05-30 10:23:59 +00:00
adrian
812bf1366e Mention in ath(4) that ath_pci is required now. 2011-05-30 10:12:17 +00:00
adrian
7c45802086 Add ath_ahb and ath_pci module manpages. 2011-05-30 10:07:46 +00:00
adrian
7061cb6756 Update chipset support list for ath_hal. 2011-05-30 10:02:51 +00:00
bcr
900f95596c Mention that jumbo frame support is disabled on PCIe VT6130/VT6132
controllers because of TX MAC hangs when trying to send a frame
that is larger than 4K (see r200759).

PR:		docs/156742
Submitted by:	Michael Moll (kvedulv at kvedulv dot de)
Reviewed by:	yongari@
MFC after:	6 days
2011-05-29 11:10:56 +00:00
mav
73bcdbfb76 Change new constant names to ones used by OpenSolaris. 2011-05-27 03:44:47 +00:00
mav
7af31eed34 Oops, fix typo in r222336. 2011-05-27 03:30:23 +00:00
mav
62fe850bf1 Add ses/srcs/eltsub.h to the list of files to be installed.
It is required for user-level SES example tools build.
2011-05-27 03:27:28 +00:00
mav
44b4091060 Add names for few more SES element types according SES-2 specification. 2011-05-27 03:23:39 +00:00
ray
b5a299c358 Added myself as src committer.
Approved by: adrian (mentor)
2011-05-26 13:54:07 +00:00
ru
2628ba45f7 [mdoc] Fixed .Dt call. 2011-05-25 14:13:53 +00:00
bcr
5ef0b44826 Add a description to the checksum target about not only
being able to verify, but also having the ability to
fetch distfiles that are missing or failed the checksum
calculation

PR:		docs/138887
Submitted by:	Radim Kolar (hsn at sendmail dot cz)
MFC after:	5 days
2011-05-25 08:42:01 +00:00
yongari
364291c0f2 Add 88E8075 Yukon Supreme to the list of supported hardware list. 2011-05-23 22:02:15 +00:00
imp
76fdab7152 regen 2011-05-22 18:34:11 +00:00
imp
2332df9dae Start to usher INSTALL_NODEBUG hack out the door. Add new
WITH{OUT,}_KERNEL_SYMBOLS (defaulting to WITH).  In the fullness of
time, likely around 2020, INSTALL_NODEBUG will be removed.  For now,
don't print a warning when using INSTALL_NODEBUG, but that will be
coming soon.
2011-05-22 18:01:52 +00:00
uqs
061dbf8161 Fix more typos to be a good example.
Found by:	codespell
2011-05-22 14:23:48 +00:00
uqs
5179964e55 Re-encode files from ISO-8859-1 to UTF-8 2011-05-22 14:03:30 +00:00
uqs
506741ef76 Remove typos, tabs-after-spaces and EOL whitespace. Convert to UTF-8. 2011-05-22 14:03:21 +00:00
delphij
b1c7404a29 Add a new knob to atkbd(4) to enable typematic rate detection on boot,
which is now disabled by default.  The detection is known to cause hangs
on boot with some new Lenovo laptops on FreeBSD/amd64.

Reported by:	gnn
Discussed with:	jkim
MFC after:	3 months
2011-05-20 22:36:17 +00:00
benl
67c6f0d8ac Fix clang warnings.
Approved by:	philip (mentor)
2011-05-19 15:18:35 +00:00
phk
ef4a112671 When adding examples to man-pages, try to make them at least
look like they might work.

Prodded by:	Vadim Goncharov
2011-05-19 13:42:19 +00:00
edwin
472dc8e040 Put AN back after finding out that tzsetup(1) will complain that
it doesn't exist. It will be removed again once the tzdata distribution
files have been updated with the replacements for AN.
2011-05-19 13:09:39 +00:00
imp
4633a79407 Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control
over building gcc and binutils.  They default to true, unless
MK_TOOLCHAIN is no.

Reviewed by:	ru@
2011-05-19 05:13:25 +00:00
mav
d7d39d0277 Add support for "LED" enclosure management messages, defined by the AHCI.
When supported by hardware, this allows to control per-port activity, locate
and fault LEDs via the led(4) API for localization and status reporting
purposes. Supporting AHCI controllers may transmit that information to the
backplane controllers via SGPIO interface. Backplane controllers interpret
received statuses in some way (IBPI standard) to report them using present
indicators.
2011-05-17 22:07:45 +00:00
flz
a67c814c56 Backout libinstall.a -> libpkg commit.
Discussed with:	erwin, brooks, bapt
2011-05-17 19:11:47 +00:00
phk
7fd3026923 Try to explain what sbufs do and add an example to show it.
Clarify return values.
2011-05-17 18:24:59 +00:00
ru
fd38c14733 Document the supported hardware, somewhat.
Reviewed by:	hselasky
MFC after:	3 days
2011-05-17 11:26:59 +00:00
ru
6c1edccac2 Regen for WITH_OFED. 2011-05-17 11:08:15 +00:00
ru
6a8ee6311b Revert change to "MF" I made in r189767. I bet that at the time of r189767
I checked with http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm
and "MF" was officially spelled in English as "Saint Martin" there, but now
that "SX" exists (for "Sint Maarten (Dutch part)") (nice official "English"
spelling!) they seem to have added a "(French part)" suffix to "MF".  Since
this is also in line with Newsletter VI-1 (2007-09-21), catch up.
2011-05-17 10:44:11 +00:00
pluknet
610d830f36 Add missing section number for .Xr jail.
MFC after:	3 days
2011-05-17 10:38:44 +00:00
uqs
729a296915 More thorough mdoc and language fixes.
Submitted by:	ru
2011-05-17 09:51:02 +00:00
uqs
c7a6f0cf66 ISO3166: Update for newsletters VI-7 and VI-8 from 2010
- Name change for SH
- BQ, CW, and SX replace AN

Reviewed by:	ru
2011-05-17 08:13:27 +00:00
uqs
f52e6368b4 Whitespace and typo fixes.
Found by:	codespell
Reviewed by:	ru
2011-05-17 08:13:18 +00:00
uqs
0c30f6cdaa Typo fix. 2011-05-17 08:13:10 +00:00
uqs
2170ac4266 Typos, wording and mdoc fixes. 2011-05-17 08:12:59 +00:00
brix
18b2666945 Add I2C bus driver for the AMD Geode LX series CS5536 Companion
Device.

Reviewed by:    jhb (newbus bits only), adrian
2011-05-15 14:01:23 +00:00
mav
1c89b601bc Fix few typos.
Submitted by:	uqs
MFC after:	1 week
2011-05-15 01:01:53 +00:00
attilio
96139278ce Disconnect sun4v architecture from the three.
Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by:	marius
Tested by:	sbruno
Approved by:	re
2011-05-14 01:53:38 +00:00
mdf
5e42f0aa77 Note that the _SWAP operation is supported for all list/queue types.
Also place STAILQ_REMOVE_HEAD in alphabetical order.  Lastly, document
the _SWAP macros.

PR:		kern/143033
MFC after:	1 week
2011-05-13 15:49:23 +00:00
ru
f35f139984 Regen. 2011-05-10 13:25:42 +00:00
ru
909f080f03 Removed unsupported options MK_BINUTILS and MK_GCC that were
silently added in r218936.
2011-05-10 11:00:40 +00:00
ru
b0e91b4cdc Another fallout from r220359: MK_GNU_CPIO was mistakenly re-added
after being removed in r205702.  Remove it again.
2011-05-10 10:48:43 +00:00
kaiw
1e9a5e20c4 * Rewrite ar.5 mannual page to better document ar(1) archive format.
* Use more standard BSD license.

Obtained from:	elftoolchain
2011-05-07 10:44:08 +00:00
adrian
17241bdaa6 Add a manpage for geom_map(4).
Submitted by:	ray@dlink.ua
2011-05-05 14:43:35 +00:00
ae
882d371a36 Add make_dev_alias_p to MLINKS.
Pointed out by:	pjd
MFC after:	2 weeks
2011-05-05 14:13:08 +00:00
ae
b550bd1bd7 Formatting fixes:
o Fix date
 o Break sentences
 o Remove trailing whitespaces
 o Sort xrefs by section number

Requested by:	ru
MFC after:	2 weeks
2011-05-05 09:55:55 +00:00
gjb
d357ee3b9f Remove unneeded tab after .Ed to make manlint happy.
Reported by:	manlint
2011-05-04 18:16:05 +00:00
ae
7f98cbc876 Document make_dev_alias_p().
MFC after:	2 weeks
2011-05-03 18:55:16 +00:00
ru
14ab9d31d3 Fixed the HISTORY section which was copied without editing from aio(4).
Submitted by:	Igor Sysoev
2011-05-03 13:34:40 +00:00
maxim
0f03359a48 o OpenBSD 4.9 added. 2011-05-02 09:47:13 +00:00
brueffer
157eab1b23 Minor cleanup. 2011-05-01 20:46:37 +00:00
bz
5b8b8b0a6a Introduce two new options MK_INET and MK_INET_SUPPORT analogically
with INET6 equivalents. Patch reather than re-genenerating src.conf
(given the current problem with the script that does the re-gen).

Reviewed by:	gnn
Sponsored by:	The FreeBSD Foundation
Sponsored by:	iXsystems
MFC after:	2 weeks
2011-04-30 17:58:28 +00:00
jhb
deafe4e593 Add a new bus method, BUS_ADJUST_RESOURCE() that is intended to be a
wrapper around rman_adjust_resource().  Include a generic implementation,
bus_generic_adjust_resource() which passes the request up to the parent
bus.  There is currently no default implementation.  A
bus_adjust_resource() wrapper is provided for use in drivers.
2011-04-29 21:36:45 +00:00
jhb
22b381b721 Extend the rman(9) API to support altering an existing resource.
Specifically, these changes allow a resource to back a relocatable and
resizable resource such as the I/O window decoders in PCI-PCI bridges.
- rman_adjust_resource() can adjust the start and end address of an
  existing resource.  It only succeeds if the newly requested address
  space is already free.  It also supports shrinking a resource in
  which case the freed space will be marked unallocated in the rman.
- rman_first_free_region() and rman_last_free_region() return the
  start and end addresses for the first or last unallocated region in
  an rman, respectively.  This can be used to determine by how much
  the resource backing an rman must be adjusted to accomodate an
  allocation request that does not fit into the existing rman.

While here, document the rm_start and rm_end fields in struct rman,
rman_is_region_manager(), the bound argument to
rman_reserve_resource_bound(), and rman_init_from_resource().
2011-04-29 20:05:19 +00:00
gnn
d580860e12 Exar driver for X3100 10GbE Server/Storage adapters
Features: Jumbo frames (up to 9600), LRO (Large Receive Offload),
          TSO (TCP segmentation offload), RTH (Receive Traffic Hash).

Submitted by: Sriram Rapuru at Exar
MFC after:	2 weeks
2011-04-28 14:33:15 +00:00
rmacklem
0e9f14db1f Update man pages related to the change in default NFS client
applied by r221124. I also deleted references to idmapd, since that
daemon no longer exists.
This is a content change.
2011-04-28 00:20:35 +00:00
pluknet
357ca6cada Add DragonFly 2.10.1 release. 2011-04-27 12:12:22 +00:00
des
fd9fc25d01 Rename alloc_unr(9) to unr(9) and adjust the links accordingly.
MFC after:	3 weeks
2011-04-27 01:10:15 +00:00
kib
18f7e5472c Document timeout_task.
While there, fix the type of the func argument of INIT_TASK macro,
and use the modern name of the analogous facility from Linux kernel.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 month
2011-04-26 11:43:57 +00:00
dougb
d05cc95927 Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds
like, determines the path to a pid file as it is specified in a conf file.

Use the new feature for rc.d/named and rc.d/devd, the 2 services in the
base that list their pid files in their conf files.

Remove the now-obsolete named_pidfile, and warn users if they have it set.
2011-04-23 04:26:31 +00:00
bschmidt
7cec9a2257 Add ref to the latest firmware additions. 2011-04-20 17:53:39 +00:00
dim
738c7248a6 Remove support for the Intel C Compiler from the build infrastructure.
This support has not worked for several years, and is not likely to work
again, unless Intel decides to release a native FreeBSD version of their
compiler. ;)
2011-04-19 18:09:21 +00:00
glebius
5beb62e535 It is already seven years since mbuf allocator uses same
M_WAITOK/M_NOWAIT flags as malloc(9). Update manual page.

Submitted by:	Vadim Goncharov <vadimnuclight tpu.ru>
2011-04-18 15:30:25 +00:00
dim
d9e6052d4e Remove libobjc and other Objective-C related components, as these are
extremely outdated, and not used by anything in the base system.

Silence from:	current@
2011-04-17 21:03:23 +00:00
trasz
8a36386eff Add manual page for rctl.conf(5). 2011-04-14 18:37:27 +00:00
pluknet
1263a866ca Remove vestiges of disklabel(5).
Reviewed by:	uqs
MFC after:	5 days
2011-04-14 08:53:04 +00:00
nwhitehorn
ab20ea28a3 Update some terminology: floppies are no longer built, and FreeBSD is not
necessarily distributed by CVS any longer.
2011-04-12 12:57:46 +00:00
lstewart
545f7c0ca7 Use the full and proper company name for Swinburne University of Technology
throughout the source tree.

Requested by:	Grenville Armitage, Director of CAIA at Swinburne University of
			Technology
MFC after:	3 days
2011-04-12 08:13:18 +00:00
nwhitehorn
0bccc08492 Don't do make release and make install in one step. Setting DESTDIR for
make release has deleterious consequences.
2011-04-11 15:03:01 +00:00
nwhitehorn
5d68dd33d3 Add an install target to release/Makefile instead of grubbing around
(and requesting that users grub around) in /usr/obj. Also make sure that
make clean removes the bootonly media and clean up that target a little.
2011-04-11 14:30:45 +00:00
uqs
796cfb973d Rename 07.lpr to 07.lpd and re-connect to the build. This was
forgotten in r216178.

Submitted by:	antoine
Pointyhat:	uqs
2011-04-10 12:43:13 +00:00
mav
6028082f68 - Add kern.cam.ada.X.write_cache tunables/sysctls to control write caching
on per-device basis.
- While adding support for per-device sysctls, merge from graid branch
support for ADA_TEST_FAILURE kernel option, which opens few more sysctl,
allowing to simulate read and write errors for testing purposes.
2011-04-08 14:42:29 +00:00
mav
af77a5abb2 Add reference to led(4), supported now.
Add some details about supported chips.
2011-04-08 12:46:47 +00:00
gjb
824b228f1c u3g.4:
- remove self-reference in SEE ALSO section (originally was to s/XR/Xr)

cxgbe.4:
- remove blank line
- add closing .El

Reported by:	manlint
MFC after:	3 days
2011-04-07 23:14:33 +00:00
mav
26e2e5dbc6 Fix spelling. 2011-04-07 08:32:53 +00:00
mav
34362862ec Make ada(4) driver to control device write cache, same as ata(4) does.
Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc.
2011-04-07 08:17:53 +00:00
uqs
9cb0f450df Regenerate after r220401. It turns out makeman is clever about implied
flags, so remove that part from WITHOUT_CXX again.

This is only partially regenerated, as the entries for FDT and GPIO seem to
have switched their default state, too.
2011-04-06 20:19:07 +00:00
uqs
51399b5e54 Complete WITHOUT_CXX support. It implies WITHOUT_GROFF and
WITHOUT_CLANG.

Don't build clang bootstrap/build-tools depending on this flag. We also
keep gperf, devd and libstdc++ around to prevent foot-shooting and to
make this a two-way street.
2011-04-06 20:08:23 +00:00
imp
61779229d8 Make clang default on x86 and powerpc, but not on other architectures.
Make fdt default on arm and powerpc.

This now includes cross compiled targets, where before we tried to
make it host-based.

Also, move the lists of default yes and no options to a variable.

In general, only build tools should get this treatment in bsd.own.mk.
Also, the use of TARGET* in the bsd.*mk files is discouraged, but
necessary here due to the ordering of things in buildworld.  We make
the native case work by testing MACHINE_ARCH after TARGET_ARCH.
2011-04-05 08:49:47 +00:00
adrian
2e9f511b64 Add a manpage for the nvram2env driver. 2011-04-04 22:30:12 +00:00
art
1cccebd550 Added myself as src committer.
Approved by: avg (mentor)
2011-04-02 00:08:32 +00:00
emaste
da413ebf3d Uuencode the sample "binary" firmware image file (instead of explicitly
adding \0 bytes).  This is a technique that would be used in an actual
driver and is more suitable as an example.

Reviewed by:    mlaier
2011-04-01 23:47:10 +00:00
imp
5787512ec9 Minor tweaks to the man page:
o Remove bogus ordering info
o 3C1 actually works, so remove that
o Add warning about making sure BIOS is configured properly for PnP
  configured 3c509 cards.
2011-04-01 11:39:13 +00:00
lstewart
6d6007bc14 Add a missing .El macro. 2011-04-01 06:28:21 +00:00
emaste
44fee23457 Unbreak installworld after r220205.
Noticed by:	np
Pointy hat to:	emaste
2011-04-01 01:13:30 +00:00
emaste
3666785171 Avoid having a binary file in our source tree and instead create it at
build time, to avoid possible grief maintaining FreeBSD source in
alternative version control tools.
2011-03-31 15:12:40 +00:00
martymac
c882f2145b Add relation to my mentor (ehaupt) 2011-03-31 06:11:49 +00:00