Commit Graph

11918 Commits

Author SHA1 Message Date
Warner Losh
a1e8ef7737 BSDMAKE isn't really needed and was removed, so remove here 2007-12-13 00:09:43 +00:00
Ruslan Ermilov
f0cfdeddd2 Regen. 2007-12-12 16:45:01 +00:00
Ruslan Ermilov
6dc51eca81 - Fix setting of MK_GSSAPI option by bsd.own.mk; its value should
default to the value of MK_KERBEROS unless set explicitly by
  WITH_GSSAPI/WITHOUT_GSSAPI.  (This introduces another type of
  MK_* variables which itself is questionable.)

- Teach tools/build/options/makeman script that generates the
  src.conf(5) manpage about the new type of MK_* variables.

- Fix broken logic in lib/Makefile.
2007-12-12 16:39:32 +00:00
Warner Losh
531b260a4f Document BSDMAKE variable that was recently introduced. Also, since
RELENG_7, the way to do a cross build changed from specifying only
TARGET_ARCH (which has an ambigous mapping to TARGET) to specifying
only TARGET (which has a unique mapping to TARGET_ARCH).  Update the
example to reflect this.

MFC After: 1 week (the example change only)
2007-12-11 21:14:10 +00:00
Doug Barton
56adc50828 Regenerated page that includes the WITH_GSSAPI knob. 2007-12-10 19:11:56 +00:00
Doug Barton
3fe21f77bc Hide the building and installation of libgssapi behind the
WITHOUT_KERBEROS knob. While GSS can be used for other things
some third party software (most notably ports/x11/kdelibs3)
takes the presence of libgssapi as an indication that kerberos
is available, and attempts to link with the kerberos libs. If
they are not available, the build will fail.

Because you might want to use GSS but not kerberos, add a knob
to re-enable it if WITHOUT_KERBEROS is present.

Document the new knob, and the new behavior of WITHOUT_KERBEROS.

Not objected and/or generally agreed to by:	freebsd-arch

Problem discussed/analyzed in:
PR:	ports/116484
2007-12-10 19:09:24 +00:00
Ceri Davies
d31a59f89b Language nit. 2007-12-10 12:01:27 +00:00
Doug Barton
fb9a33901e Commit the regenerated page that includes the WITHOUT_INSTALLLIB knob. 2007-12-09 21:57:27 +00:00
Remko Lodder
d2391ac491 There is no list to stop, so dont use .El.
Noticed by:	brueffer
2007-12-08 23:42:01 +00:00
Remko Lodder
1e5d43393a Improve readability for the hosts.equiv file regarding the notation
of hostnames.

PR:		docs/35953
Submitted by:	"Gary W. Swearingen" <swear at blarg dot net>
		With minor modifications by me.
2007-12-08 22:43:16 +00:00
Remko Lodder
4c6d9a5a30 Add 1000baseTX support for the nve driver, which is known here and there.
Also mention that the driver sometimes returns '10baseTX' as output instead
of 100baseTX (which is the case at that moment).

PR:		docs/115284
Submitted by:	Julian Stacey Jhs <jhs at berklix dot org>
MFC After:	3 days
2007-12-08 21:58:18 +00:00
Gabor Kovesdan
064be22e10 - Add doc/hu_* and doc/mn_* to the refuse examples so that include all
of the currently used languages

PR:		docs/118476 (related)
Submitted by:	Chess Griffin <chess@chessgriffin.com>
MFC after:	3 days
2007-12-07 19:22:34 +00:00
Gabor Kovesdan
b67976fb35 - Add doc/hu_* and doc/mn_* to the sample refuse file so that it includes all
of the languages

PR:		docs/118476
Submitted by:	Chess Griffin <chess@chessgriffin.com>
MFC after:	3 days
2007-12-07 18:48:57 +00:00
Ruslan Ermilov
157deb6a4e Make "manlint" recursive.
Prodded by:	obrien
2007-12-07 15:02:06 +00:00
Joseph Koshy
a07d350c16 Document the PMC_F_CALLCHAIN flag and the kern.hwpmc.callchaindepth
tunable.

Sponsored by:	FreeBSD Foundation and Google Inc.
2007-12-07 08:29:46 +00:00
Ed Maste
718b6516c0 Add new controllers supported by rev 1.64 and 1.65 of aac_pci.c 2007-12-06 18:31:57 +00:00
Remko Lodder
28d34c0e95 Bring in support for: Marvell Yukon 8039
PR:		118401
Submitted by:	Skip Ford <skip at menantico dot com>
Approved by:	imp (mentor), yongari
MFC After:	3 days
2007-12-05 09:41:58 +00:00
Edwin Groothuis
e44a3db010 MFV of tzdata2007j
Timezone data changes in this import:
- Add America/St_Barthelemy (BL) and America/Marigot (MF)
- Venezuela will move to -4:30 on 9 December 2007 instead of 31 December 2007

MFCs will be done after the code freezes have stopped.
2007-12-04 00:30:07 +00:00
Edwin Groothuis
d41d13d094 Update with data from Newsletter VI-1 2007-09-21:
Added SAINT BARTHELEMY (BL) and SAINT MARTIN (MF).

This allows an MFV of src/share/zoneinfo which uses these two new codes.
2007-12-04 00:20:57 +00:00
Robert Watson
3c90d1ea74 Break out stack(9) from ddb(4):
- Introduce per-architecture stack_machdep.c to hold stack_save(9).
- Introduce per-architecture machine/stack.h to capture any common
  definitions required between db_trace.c and stack_machdep.c.
- Add new kernel option "options STACK"; we will build in stack(9) if it is
  defined, or also if "options DDB" is defined to provide compatibility
  with existing users of stack(9).

Add new stack_save_td(9) function, which allows the capture of a stacktrace
of another thread rather than the current thread, which the existing
stack_save(9) was limited to.  It requires that the thread be neither
swapped out nor running, which is the responsibility of the consumer to
enforce.

Update stack(9) man page.

Build tested:	amd64, arm, i386, ia64, powerpc, sparc64, sun4v
Runtime tested:	amd64 (rwatson), arm (cognet), i386 (rwatson)
2007-12-02 20:40:35 +00:00
Robert Watson
9ccca7d1b1 Modify stack(9) stack_print() and stack_sbuf_print() routines to use new
linker interfaces for looking up function names and offsets from
instruction pointers.  Create two variants of each call: one that is
"DDB-safe" and avoids locking in the linker, and one that is safe for
use in live kernels, by virtue of observing locking, and in particular
safe when kernel modules are being loaded and unloaded simultaneous to
their use.  This will allow them to be used outside of debugging
contexts.

Modify two of three current stack(9) consumers to use the DDB-safe
interfaces, as they run in low-level debugging contexts, such as inside
lockmgr(9) and the kernel memory allocator.

Update man page.
2007-12-01 22:04:16 +00:00
Ed Maste
600a2aebf2 Bump .Dd for my last commit adding PCI IDs. 2007-11-29 18:53:11 +00:00
Ed Maste
686653a124 Document PCI IDs of controllers added in aac_pci.c v1.63 2007-11-29 17:56:55 +00:00
Robert Watson
7340f1a1b8 Add description of stack_print() and MLINK. 2007-11-29 17:16:55 +00:00
Bjoern A. Zeeb
45358a0069 Update man page to reflect latest work on enc(4):
- added sysctls to if_enc(4) to control whether the firewalls or
  bpf will see inner and outer headers or just inner headers
  for incoming and outgoing IPsec packets.

- if_enc work with IPv6 now as well.

Reviewed by:	brueffer
2007-11-28 22:35:48 +00:00
Remko Lodder
52b2974a6d Add information about the 845M card that I recently committed support
for.
2007-11-28 12:04:25 +00:00
Robert Watson
6a2ecc3859 Fix spelling of stack_capture() to stack_save(). 2007-11-28 12:04:08 +00:00
Remko Lodder
117a072c67 Add information about the ICH6 and ICH7 being supported since recently. 2007-11-28 12:02:19 +00:00
Remko Lodder
ee6480fe8b Add the Planex FNW-3603TX card to the list. 2007-11-28 12:00:14 +00:00
Giorgos Keramidas
c1006bc41d Spell 'Yugoslav' correctly. 2007-11-28 11:03:06 +00:00
Robert Watson
12cef7aa96 Add a man page for stack(9).
MFC after:	1 week
2007-11-27 11:02:41 +00:00
Remko Lodder
fe154e087f The nfe driver will first appear in 7.0 and not in 6.x
PR:		i386/118264
Submitted by:	"Julian H. Stacey" <jhs at berklix dot org>
Nod from:	yongari
2007-11-27 06:54:13 +00:00
John Birrell
221a97c194 Although the entire src tree builds cleanly now without -fno-strict-aliasing
in the default CFLAGS, we're in the middle of a ports freeze, so we can't
really go making the corresponding change to the ports mk files.

I'll take -fno-strict-aliasing out again when the ports freeze ends.
2007-11-26 21:46:21 +00:00
Christian Brueffer
23ae24e09a Bump .Dd for previous revision. 2007-11-26 15:21:21 +00:00
Christian Brueffer
4faa4b080e Clean up after previous revision. 2007-11-25 16:14:32 +00:00
Joseph Koshy
a5c506d293 - Document an EAGAIN error return from a PMC_OP_CONFIGURELOG request.
- Document some EINVAL error returns from PMC_OP_CONFIGURELOG,
  PMC_OP_WRITELOG and PMC_OP_FLUSHLOG that were missed earlier.
- Correct a typo: s/PMC_OP_ALLOCATE/PMC_OP_PMCALLOCATE/.
- Describe how log file writing errors are returned by a PMC_OP_FLUSHLOG
  request.
2007-11-25 06:05:41 +00:00
Attilio Rao
0e933b2f3c Update sx(9) lock manpage in order to add missing prototypes for function
sx_slock_sig() and sx_xlock_sig() and their respective explanation.
2007-11-25 01:55:53 +00:00
Attilio Rao
6442838d08 Update rwlock(9) manpage adding missing bits about the rw_init_flags()
function, its options and explaining that recursion for writers can be
selectively enabled.

Reported by: rwatson, Skip Ford <skip at menantico dot com>
2007-11-25 01:53:58 +00:00
Joseph Koshy
1a94fde847 - Improve clarity: use 'scope' to distinguish between process and system
PMCs and 'mode' to distinguish between counting and sampling.
- Document PMC row dispositions.
- Document the requirement for PRIV_PMC_MANAGE privilege when issuing
  PMC_OP_PMCADMIN requests.
2007-11-24 03:48:18 +00:00
John Birrell
cfb5b3256b Re-enable -Werror again.
This time, change the default CFLAGS to match the simple defaults that
the tinderboxes use. That is, don't use -fno-strict-aliasing by default.

My last attempt to re-anable -Werror gave me a lesson in what strict
aliasing is all about. There was code in libthr that wasn't 64-bit clean.
The default use of -fno-strict-aliasing hid that.

By using -fno-strict-aliasing by default we were choosing to ignore
problems in code which had the potential to shoot ourselves in the
foot. Sometimes it would be the 64-bit foot. I have both feet. The left
ones are 32 bits and the right ones are 64 bits. Don't ask about my
endian orientation. :-)

The -fno-strict-aliasing compiler arg can still be used if NO_STRING_ALIASING
is define in make.

We are early in the FreeBSD 8 development, so we have the opportunity to
wait and see if this works for us. I am sure that people will complain.
We can easily revert this. All I ask is that we take sides: clean code or
not. YMMV.

Note that by using -fno-strict-aliasing the build won't actually break.
Only where WARNS is set (and -Werror is used) will a compiler warning break
the build. The use of WARNS levels implies (to me at least) that the
developer has taken some care to make the code pass basic checks. This
commit makes those checks just a little bit more strict.
2007-11-22 23:21:12 +00:00
Joseph Koshy
e805d32b8e - Correct a documentation bug: handles returned from a PMC_OP_PMCALLOCATE
request are 32 bit values, and are not necessarily small.
- Note that the PMC_F_KGMON flag is currently unimplemented.
- Tweak description of an EINVAL error return.
- Add an "AUTHORS" section.
2007-11-22 14:09:26 +00:00
Gabor Kovesdan
521a179014 - Add callout_init_rw.9 to MLINKS of timeout.9
Forgotten by:	gabor
Reminded by:	ru
2007-11-20 14:13:49 +00:00
Gabor Kovesdan
53b41930df - Document newly added callout_init_rw function
Requested by:	attilio
Reviewed by:	attilio
2007-11-20 12:21:36 +00:00
Pyun YongHyeon
d1414bebe4 Add 88E8058 to the list of supported hardware. 2007-11-20 07:53:52 +00:00
John Birrell
f9f50330f3 Unfortunately the tinderbox setup uses custom CFLAGS which are a big
obstacle to enabling -Werror. I'll continue to work on cleaning up the
code so that we can keep this enabled.

If the tinderboxes would just use the default CFLAGS set in this file,
all would be fine and we'd be able to make use of -Werror.
2007-11-19 22:39:39 +00:00
Andrey A. Chernov
f2bd4453a8 Since SAOL 13:th edition "v" and "w" are officially separated (in 2006) 2007-11-19 12:39:02 +00:00
John Birrell
76f9e2ec8f Re-enable -Werror ins WARNS as it was roughly 6 months ago before
being disabled while gcc 4.2 was bedded in.

Tested with 'make release' (amd64 arm i386 ia64 pc98 powerpc sparc64 sun4v)
2007-11-19 09:09:02 +00:00
John Birrell
c117aee58e Weed out a warning argument that isn't applicable to C++ code. 2007-11-19 09:01:58 +00:00
Benjamin Close
b5ad081c7c Add wlan_amrr to the required devices/modules
Submitted By: glebius
2007-11-14 12:51:02 +00:00
Ruslan Ermilov
bfbdccc1d1 Sort. 2007-11-13 20:26:27 +00:00