Commit Graph

7100 Commits

Author SHA1 Message Date
Ruslan Ermilov
6e02167b57 Moved checkdpadd target to where it logically belongs. 2002-07-03 12:44:06 +00:00
Ruslan Ermilov
badb7c1c6b Try really hard to fix parallel installs. Add a bunch of .ORDER
directives to ensure that all realinstall sub-tasks are executed
after beforeinstall, similarly ensure that all afterinstall sub-
tasks are executed after realinstall.  Demonstration:

all: task1 task2
.ORDER: task1 task2

task2: task2_subtask
.ORDER: task1 task2_subtask

task1 task2 task2_subtask:
	@sleep `jot -r 1 0 1.0`
	@echo ${.TARGET}

Without the second .ORDER directive, task2_subtask can be run in
parallel with task1.

Spotted by:	Andrea Campi <andrea@webcom.it>
2002-07-03 12:28:03 +00:00
Tom Rhodes
54739799f2 GXP ATA drives also supports TQ 2002-07-02 20:23:43 +00:00
Johan Karlsson
e88001443e 's/rather then/rather than/'
PR:           38096
Submitted by: Chris Pepper <pepper@rockefeller.edu>

While I'm here correct some typos pointed out by ispell.

Approved by:  sheldonh (mentor)
MFC after:    1 week
2002-07-02 14:33:52 +00:00
Ruslan Ermilov
8479adc1d3 Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.
Provided the (previously missing) dependency on source files
for intermediate .msg files.

Provided the default for NLSSRCDIR (defaults to .CURDIR).

Slightly changed the API: NLS should now list plain locale
names, without the .msg suffix.

When included from bsd.prog.mk, NLSNAME defaults to PROG.
2002-07-02 12:37:09 +00:00
Ruslan Ermilov
84f94a79a0 Handle installation of hard and symbolic links via a seperate .mk file. 2002-07-02 12:16:54 +00:00
Warner Losh
85f6b8fda7 Clarify version 1.68 to more accurately describe the intent of the change to
try to avoid ambiguous cases in the future.

Wording approved by: julian (early draft), grog, rwatson, wes and maybe other
members of core I'm forgetting.
2002-07-02 01:39:35 +00:00
Brian Somers
cfbd984f1c Fix a tyop 2002-07-02 01:03:10 +00:00
Warner Losh
a9df73aa7b Document what splnet and splimp are in FreeBSD 2002-07-01 22:08:43 +00:00
Ruslan Ermilov
b4840de98d bsd.subdir.mk already has these dependencies coded. 2002-07-01 14:51:42 +00:00
Ruslan Ermilov
1220a0241f Get rid of the bogus dependencies between beforeinstall, realinstall,
and afterinstall targets.  Make sure they are run in sequence in the
-j case.

This fixes the recent breakage with beforeinstall being run _after_
realinstall.

Reported by:	knu
2002-07-01 14:49:16 +00:00
Ruslan Ermilov
93329c3c6e Fixed typos. 2002-07-01 07:25:02 +00:00
Doug Barton
4149dd4890 Unbreak build by removing 10.named for now 2002-07-01 05:44:51 +00:00
Juli Mallett
bea3953649 Nuke SCCS docos, they're dead, again. 2002-06-30 02:18:54 +00:00
Maxim Konovalov
fc193c4365 Include 'sshd' to the lists of forbidden users.
Reviewed by:	cvs-committers
2002-06-28 15:46:29 +00:00
Juli Mallett
dd247f7371 If CLEANFILES is nil or not defined, do not try to remove it. This happens
when SRCS is entirely files which produce only one compiled form, and when
NOMAN is defined.  This does not seem to happen in STABLE.

Approved by:	ru
2002-06-26 08:41:00 +00:00
Kenneth D. Merry
98cb733c67 At long last, commit the zero copy sockets code.
MAKEDEV:	Add MAKEDEV glue for the ti(4) device nodes.

ti.4:		Update the ti(4) man page to include information on the
		TI_JUMBO_HDRSPLIT and TI_PRIVATE_JUMBOS kernel options,
		and also include information about the new character
		device interface and the associated ioctls.

man9/Makefile:	Add jumbo.9 and zero_copy.9 man pages and associated
		links.

jumbo.9:	New man page describing the jumbo buffer allocator
		interface and operation.

zero_copy.9:	New man page describing the general characteristics of
		the zero copy send and receive code, and what an
		application author should do to take advantage of the
		zero copy functionality.

NOTES:		Add entries for ZERO_COPY_SOCKETS, TI_PRIVATE_JUMBOS,
		TI_JUMBO_HDRSPLIT, MSIZE, and MCLSHIFT.

conf/files:	Add uipc_jumbo.c and uipc_cow.c.

conf/options:	Add the 5 options mentioned above.

kern_subr.c:	Receive side zero copy implementation.  This takes
		"disposable" pages attached to an mbuf, gives them to
		a user process, and then recycles the user's page.
		This is only active when ZERO_COPY_SOCKETS is turned on
		and the kern.ipc.zero_copy.receive sysctl variable is
		set to 1.

uipc_cow.c:	Send side zero copy functions.  Takes a page written
		by the user and maps it copy on write and assigns it
		kernel virtual address space.  Removes copy on write
		mapping once the buffer has been freed by the network
		stack.

uipc_jumbo.c:	Jumbo disposable page allocator code.  This allocates
		(optionally) disposable pages for network drivers that
		want to give the user the option of doing zero copy
		receive.

uipc_socket.c:	Add kern.ipc.zero_copy.{send,receive} sysctls that are
		enabled if ZERO_COPY_SOCKETS is turned on.

		Add zero copy send support to sosend() -- pages get
		mapped into the kernel instead of getting copied if
		they meet size and alignment restrictions.

uipc_syscalls.c:Un-staticize some of the sf* functions so that they
		can be used elsewhere.  (uipc_cow.c)

if_media.c:	In the SIOCGIFMEDIA ioctl in ifmedia_ioctl(), avoid
		calling malloc() with M_WAITOK.  Return an error if
		the M_NOWAIT malloc fails.

		The ti(4) driver and the wi(4) driver, at least, call
		this with a mutex held.  This causes witness warnings
		for 'ifconfig -a' with a wi(4) or ti(4) board in the
		system.  (I've only verified for ti(4)).

ip_output.c:	Fragment large datagrams so that each segment contains
		a multiple of PAGE_SIZE amount of data plus headers.
		This allows the receiver to potentially do page
		flipping on receives.

if_ti.c:	Add zero copy receive support to the ti(4) driver.  If
		TI_PRIVATE_JUMBOS is not defined, it now uses the
		jumbo(9) buffer allocator for jumbo receive buffers.

		Add a new character device interface for the ti(4)
		driver for the new debugging interface.  This allows
		(a patched version of) gdb to talk to the Tigon board
		and debug the firmware.  There are also a few additional
		debugging ioctls available through this interface.

		Add header splitting support to the ti(4) driver.

		Tweak some of the default interrupt coalescing
		parameters to more useful defaults.

		Add hooks for supporting transmit flow control, but
		leave it turned off with a comment describing why it
		is turned off.

if_tireg.h:	Change the firmware rev to 12.4.11, since we're really
		at 12.4.11 plus fixes from 12.4.13.

		Add defines needed for debugging.

		Remove the ti_stats structure, it is now defined in
		sys/tiio.h.

ti_fw.h:	12.4.11 firmware.

ti_fw2.h:	12.4.11 firmware, plus selected fixes from 12.4.13,
		and my header splitting patches.  Revision 12.4.13
		doesn't handle 10/100 negotiation properly.  (This
		firmware is the same as what was in the tree previously,
		with the addition of header splitting support.)

sys/jumbo.h:	Jumbo buffer allocator interface.

sys/mbuf.h:	Add a new external mbuf type, EXT_DISPOSABLE, to
		indicate that the payload buffer can be thrown away /
		flipped to a userland process.

socketvar.h:	Add prototype for socow_setup.

tiio.h:		ioctl interface to the character portion of the ti(4)
		driver, plus associated structure/type definitions.

uio.h:		Change prototype for uiomoveco() so that we'll know
		whether the source page is disposable.

ufs_readwrite.c:Update for new prototype of uiomoveco().

vm_fault.c:	In vm_fault(), check to see whether we need to do a page
		based copy on write fault.

vm_object.c:	Add a new function, vm_object_allocate_wait().  This
		does the same thing that vm_object allocate does, except
		that it gives the caller the opportunity to specify whether
		it should wait on the uma_zalloc() of the object structre.

		This allows vm objects to be allocated while holding a
		mutex.  (Without generating WITNESS warnings.)

		vm_object_allocate() is implemented as a call to
		vm_object_allocate_wait() with the malloc flag set to
		M_WAITOK.

vm_object.h:	Add prototype for vm_object_allocate_wait().

vm_page.c:	Add page-based copy on write setup, clear and fault
		routines.

vm_page.h:	Add page based COW function prototypes and variable in
		the vm_page structure.

Many thanks to Drew Gallatin, who wrote the zero copy send and receive
code, and to all the other folks who have tested and reviewed this code
over the years.
2002-06-26 03:37:47 +00:00
Matthew Dillon
455c737411 ICMP type 3 packets should be let through for TCP MTU discovery, fixup
the documentation and sample firewall.

PR:		docs/39495
2002-06-25 04:13:46 +00:00
Matthew Dillon
de795ba0f4 Add sections on vfs.write_behind and vfs.hirunningspace. Also note that
this has already been comitted to stable (the MFC was really through
this commit, not the previous commit).
2002-06-25 02:47:55 +00:00
Matthew Dillon
b895742d96 update the firewall documentation to cover the fact that ipfw can be
loaded as a module.

PR:		kern/39814
2002-06-25 02:34:24 +00:00
Dag-Erling Smørgrav
f191b6f96c Install the tree(3) man page. 2002-06-23 14:44:32 +00:00
Dag-Erling Smørgrav
c83272f713 This commit was generated by cvs2svn to compensate for changes in r98681,
which included commits to RCS files with non-trunk default branches.
2002-06-23 14:41:09 +00:00
Dag-Erling Smørgrav
87f5f0ecf9 Import the documentation for <sys/tree.h>
Obtained from:	OpenBSD
2002-06-23 14:41:09 +00:00
Ruslan Ermilov
c1c9929e9f Quiet ``make objlink'' when NOOBJ is defined.
PR:		bin/21142
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2002-06-21 07:30:51 +00:00
Ruslan Ermilov
518e4deb99 A gross patch to tidy up the formatting.
Not objected to by:	grog
2002-06-21 06:50:16 +00:00
Peter Wemm
3ff369fed2 Remove references to UIO_USERISPACE which no longer exists. 2002-06-20 07:09:24 +00:00
Gregory Neil Shapiro
2a1d418ce1 Add a warning regarding the SENDMAIL_*_MC make.conf variable values.
Using /etc/mail/sendmail.mc will create /etc/mail/sendmail.cf during
a buildworld.

PR:		misc/39397
MFC after:	3 days
2002-06-20 04:33:06 +00:00
Julian Elischer
a835396035 A node that creates a device entry in /dev (yay devfs)
so that /dev/mumble can be the entrypoint to some networking graph,
e.g. a tunnel or a remote tape drive or whatever...

Not fully tested (by me) yet.

Submitted by:	Mark Santcroos <marks@ripe.net>
MFC after:	3 weeks
2002-06-18 21:32:33 +00:00
Giorgos Keramidas
b6fa516a8e Add missing verb. 2002-06-14 22:15:22 +00:00
Warner Losh
232ff1c787 document hw.pcic.ignore_pci 2002-06-14 06:56:35 +00:00
Warner Losh
27aa590f87 Add US Robotics Wireless Card 2410
Also add a snarky note about telling me about changes to this file so I can
keep OpenBSD and FreeBSD's copy of this man page more or less in sync.
2002-06-14 06:56:03 +00:00
Maxim Sobolev
6e542f8c06 In gcc 3.1 Pentium/MMX now has its own -march=XXX option. 2002-06-13 08:35:36 +00:00
Chad David
02aadf0b50 Fix up the wording thoughout, and document locking. 2002-06-10 17:36:05 +00:00
Chad David
d99146a1f3 Fix wording and spelling in the trapsignal() description. 2002-06-10 17:08:42 +00:00
Chad David
e2eca5fe3e Document the cred_update_thread() function, and fix the RETURN VALUES. 2002-06-10 05:18:00 +00:00
Chad David
f7fcafe17a The moduledata_t argument is not a pointer, and sysstem_sub_id should
be sysinit_sub_id.

PR: docs/34583
Approved by: murray
2002-06-10 04:37:11 +00:00
Chad David
920a6f7e8f Add signal.9 and friends. 2002-06-10 03:01:36 +00:00
Chad David
cbebeaa5be New man page that documents many of the kernel related signal functions.
Requested by: alfred
2002-06-10 03:00:24 +00:00
Poul-Henning Kamp
56cf50ad48 Stamp out Danglish: Spelling, grammer and other nitpicking.
Submitted by:	"Steven G. Kargl" <kargl@troutmask.apl.washington.edu>
2002-06-09 10:25:51 +00:00
Doug Barton
b075c273da Per previous discussion, and with Mark's blessing, update the value
of this knob to reflect (-)current reality.
2002-06-09 09:28:02 +00:00
Tim J. Robbins
c309b05304 Document the standard COLUMNS environment variable here to avoid redundant
descriptions of its effects in utilities' manual pages.
2002-06-07 00:45:06 +00:00
Chad David
93994536bd Document MTX_DUPOK
Requested by: jeff (long ago)
2002-06-06 19:08:11 +00:00
Anton Berezin
9e1bfe0f3c Recognize 0xbe as an uppercase character.
Approved by:	ache
2002-06-03 21:30:28 +00:00
Ruslan Ermilov
af2dc86820 Reimplement FILES support using bsd.files.mk with the
same set of features as in recently added bsd.incs.mk
(FILESGROUPS, accessibility from both bsd.prog.mk and
bsd.lib.mk, de-pessimized typical installation path,
etc.)  New standard targets: buildfiles, installfiles,
and files (buildfiles + installfiles).
2002-06-03 14:49:34 +00:00
Jens Schweikhardt
21dc7d4f57 Fix typo in the BSD copyright: s/withough/without/
Spotted and suggested by:	des
MFC after:	3 weeks
2002-06-02 20:05:59 +00:00
Bruce Evans
8d0203782e Finish removing the share/man/tools/directory. 2002-06-01 21:38:39 +00:00
Archie Cobbs
c05b5b0453 Grammar nit: treat "contents" as plural. 2002-05-31 22:26:19 +00:00
Ruslan Ermilov
ce17d4f3d3 Bootstrapping aid for those with Athlon upgrading from gcc 2.95.x.
Prodded by:	gordon
2002-05-31 12:50:24 +00:00
Greg Lehey
c4dafa223d Kludge around troff bugs to get a reasonable print format despite the
necessity to shrink quoted text to fit on the page.

PR:	38760
2002-05-31 06:17:03 +00:00
Giorgos Keramidas
ea36a492fc Typo: duel -> dual 2002-05-30 23:48:00 +00:00