1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
Commit Graph

3330 Commits

Author SHA1 Message Date
Brian Somers
df93d794dc Add a pkg_version variable so that it's possible to run portsversion instead
of pkg_version in periodic/weekly/400.status-pkg.
2002-09-25 03:01:42 +00:00
John Baldwin
660e41d37f Remove all mention of MTX_NOSWITCH. It was obsoleted a long time ago. 2002-09-24 20:45:58 +00:00
Masafumi Max NAKANE
925850905b Fix typo. 2002-09-21 08:32:07 +00:00
Don Lewis
394739140c The file vnode passed to VOP_LINK() should now be locked before the call. 2002-09-19 13:34:50 +00:00
Don Lewis
81f8d226f9 Convert descriptions in the ERRORS section to full sentences if they
were not full sentences, elaborating as necessary.
2002-09-18 22:12:43 +00:00
Poul-Henning Kamp
0b1c0994a5 Add m_fixhdr() and m_length(). 2002-09-18 20:04:30 +00:00
Søren Schmidt
f7b6f951cf Update supported chipset list. 2002-09-18 09:40:18 +00:00
Don Lewis
cc25845767 Style and markup changes only.
Capitalize the first letter of the descriptions for the entries in the ERRORS
section if they are complete sentences and end the sentences with periods.
2002-09-18 09:34:01 +00:00
Mike Barcroft
86954511d2 Implement C99's va_copy() macro. 2002-09-18 07:33:16 +00:00
Hajimu UMEMOTO
368d90d1ca reject private IPv4 addrs
Obtained from:	KAME
2002-09-17 10:56:52 +00:00
Don Lewis
4f0ef11192 Update man page to reflect current implementation.
List all of the error returns shown in the example code in the ERRORS
section.
2002-09-17 08:31:43 +00:00
Don Lewis
691d7d0915 Fix a hard sentence break. 2002-09-17 08:24:15 +00:00
Nate Lawson
8723b451f9 Start new sentence with newline.
Suggested by: jhb
2002-09-16 19:53:51 +00:00
Nate Lawson
8c3308035a Update man page for enum -> const char * change for v_tag 2002-09-16 18:16:07 +00:00
Ceri Davies
5238a408ed s/protocole/protocol/
PR:		docs/42815
Submitted by:	Nicola Vitale <nivit@libero.it>
MFC after:	21 days
2002-09-15 20:33:05 +00:00
Mike Barcroft
beddcd8bcb Document intptr_t and uintptr_t. 2002-09-15 20:12:20 +00:00
Robert Watson
58616b1c69 s/VOP_NULL/VATTR_NULL/ 2002-09-14 03:32:57 +00:00
Katsushi Kobayashi
3c60ba66c4 Initial import for IEEE1394 OHCI chipdet device driver and SBP-2 (Serial
Bus Protocol 2:SCSI over IEEE1394) support for CAM.
2002-09-13 12:31:56 +00:00
Robert Drehmel
3b12885314 Add a paragraph which should clarify the separation of asterisks
and adjacent tokens in declarations.
The added text was originally a single sentence I wrote and which
was heavily modified and extended by Bruce Evans.

This clarification attempt originates from differing usage of the
'restrict' type-qualifier.
Although various documents documents dicussing the C Programming
Language put a space between an asterisk and the 'restrict' keyword,
including the C99 standard (at least the n869.txt draft) and other
ISO/IEC JTC1/SC22/WG14 documents, the IEEE Std 1003.1-2001 document
does not separate them.

Discussed with:		bde
Requested by:		tjr
Separation using a single space also liked by:	mike
2002-09-10 14:48:38 +00:00
Tony Finch
3e30ca7b1c Remove a sentence about wrapping macro definitions in bare braces,
which became wrong after using do { } while (0) became recommended.
Move the definition of what braces are to their new first occurrence.

Reviewed by:	bde
2002-09-10 10:54:39 +00:00
John Polstra
a02e220c6f Mention support for the on-board NICs on IBM x235 servers.
Be more precise when referring to the chip family (BCM570x) vs.
specific models (e.g., BCM5700).

MFC after:	1 month
2002-09-08 19:20:23 +00:00
Chad David
78ae381517 Note that siginit() does not cause every signal to be ignored only the
ones with a default property of SA_IGNORE, and that it acquires and
releases the processes lock.
2002-09-07 06:07:55 +00:00
Maxim Sobolev
5176efdd47 Connect gre(4) to the build. 2002-09-06 17:17:22 +00:00
Maxim Sobolev
8e96e13e6a Add a new gre(4) driver, which could be used to create GRE (RFC1701)
and MOBILE (RFC2004) IP tunnels.

Obrained from:  NetBSD
2002-09-06 17:12:50 +00:00
Robert Drehmel
00f9b68295 Expand a contraction in the text of style(9) for consistency.
Do not touch contractions in comments of code examples because
their usage seems to be justified by space contraints.
2002-09-06 10:53:57 +00:00
Gordon Tetlow
e99a17fb92 Update rc.conf.5 man page to reflect bootparamd_enable and _flags 2002-09-05 20:19:03 +00:00
Gregory Neil Shapiro
d87e0e8e23 Deprecate the use of sendmail_enable="NONE" as it adversely affects the
new rcNG effort.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
2002-09-03 22:15:57 +00:00
Scott Long
5bd24c43a2 Fix a few typos and nits.
Submitted by:	bmah
2002-09-01 22:07:24 +00:00
Scott Long
55131267b6 Add a manual page for the ahd driver. 2002-09-01 07:34:47 +00:00
Hellmuth Michaelis
2455cd9ea2 document options for integrating pcvt configuration into the new /etc/rc.d
startup system.
2002-08-30 12:44:44 +00:00
Mitsuru IWASAKI
6c40705212 s/hint.acpi.0.disable/hint.acpi.0.disabled/
Fix device hints entry for disabling acpi(4).
This also should fix the arbitration with apm(4) when both drivers
are enabled.

Note that your /boot/device.hints needs to be updated if you want to
stop auto-loading acpi.ko or disable acpi(4).
2002-08-30 11:11:07 +00:00
Johan Karlsson
2281085897 Use correct arguments to sysctl in code example.
PR:		40038
Submitted by:	perky
Approved by:	sheldonh (mentor)
MFC after:	1 week
2002-08-30 10:52:17 +00:00
Matthew Dillon
5bdfbf5afd Cleanup grammer related to PR 40907 and add a section on TCP delayed
acks as suggested by Mike Harding <mvh@ix.netcom.com>
2002-08-29 20:34:06 +00:00
Maxim Sobolev
d1831a621a Last missed bit of user-setable promisc mode.
Pointy hat to:  sobomax
MFC after:      1 day
2002-08-28 07:24:20 +00:00
Tom Rhodes
2ff33d9472 Grammar cleanup
PR:	40909
2002-08-27 16:18:07 +00:00
Yaroslav Tykhiy
dd4dc0a99c Language style and grammar fixes.
tx(4) has gained native support for vlan(4).

MFC after:	3 days
2002-08-27 14:26:05 +00:00
Yaroslav Tykhiy
a5a8905c10 Update the section on NIC driver support status.
MFC after:	3 days
2002-08-27 14:01:14 +00:00
David E. O'Brien
a8a1e43d8f Backout rev 1.4. The code certainly does not spell the sysctl with 'ed':
$ grep disable /sys/boot/i386/libi386/i386_module.c
    if ((getenv("acpi_load") && !getenv("hint.acpi.0.disable"))) {
2002-08-25 20:02:30 +00:00
Matthew Dillon
301b6a7936 Rearrange a sentence that got stuck in the wrong paragraph.
X-MFC after:	(all commits here will be MFCd)
2002-08-25 18:54:04 +00:00
Matthew Dillon
c3bf8c4544 Clear up confusion in a sentence describing [/var]/tmp. 2002-08-25 18:46:43 +00:00
Matthew Dillon
78d1394010 Add a section on the net.inet.ip.portrange.* sysctls.
Suggested by: Mike Harding <mvh@ix.netcom.com>
MFC after:	3 days
2002-08-25 18:34:48 +00:00
Mike Barcroft
33213740d8 Append a d to disable to make the ACPI hint example valid.
Submitted by:	Craig Rodrigues <rodrigc@attbi.com>
2002-08-25 16:48:16 +00:00
Chris Costello
4e1e73eb94 Remove a repeated word.
Submitted by:	horikawa
2002-08-25 07:13:05 +00:00
Matthew Dillon
667137d174 Add A section on the retransmit timer sysctls.
MFC after:	3 days
2002-08-25 01:51:57 +00:00
Bruce A. Mah
6224bea053 Really add new fxp(4) adapter names this time.
Forgotten part of a patch from:

PR:		41759
Submitted by:	David Siebörger <drs@rucus.ru.ac.za>
2002-08-24 22:26:52 +00:00
Bruce A. Mah
04f60e4b0a Update the list of chips and cards supported by this driver.
Based heavily on patches contained in...

PR:		41759
Submitted by:	David "Siebörger" <drs@rucus.ru.ac.za>
2002-08-24 17:00:17 +00:00
Warner Losh
f46ccb5625 Suggest that function prototypes in kernel headers be alphabetical,
unless there's a compelling reason to deviate.

Submitted by: Don Lewis
Suggestion not objected to by: developers@
2002-08-21 06:58:21 +00:00
Archie Cobbs
97cbe82b40 Man page for new L2TP netgraph node type.
Obtained from:	Packet Design
2002-08-20 22:00:56 +00:00
Jens Schweikhardt
d4bbfee298 Insert missing 'are' to fix grammar bogon.
MFC after:	3 days
2002-08-20 14:43:10 +00:00
Gordon Tetlow
806fb7f53b Update manpage to reflect reality:
xntpd -> ntpd
single_mountd_enable -> mountd_enable
portmap -> rpcbind
2002-08-19 17:57:38 +00:00
Maxim Sobolev
62f7648682 Increase size of ifnet.if_flags from 16 bits (short) to 32 bits (int). To avoid
breaking application ABI use unused ifreq.ifru_flags[1] for upper 16 bits in
SIOCSIFFLAGS and SIOCGIFFLAGS ioctl's.

Reviewed by:	-hackers, -net
2002-08-18 07:05:00 +00:00
Matthew Dillon
e1583529ee Oops, last manual commit was to -stable, should have been to -current.
No biggy, the code MFC to stable will catch up to the docs in a week.

X-MFC after:    -7 days
2002-08-17 20:44:24 +00:00
Tom Rhodes
19c99159d4 Remove usbhidaction(1) manual page under SEE ALSO section. This will be
added again if/when we port the framework.

Submitted by:	mwlucas
Approved by:	joe
2002-08-16 05:01:11 +00:00
Maxime Henrion
9ca5db2fe1 Fix typo. 2002-08-15 13:11:35 +00:00
Ruslan Ermilov
43290b6363 mdoc(7) police: fixed indentation in synopsis.
Submitted by:	bde
2002-08-15 08:20:07 +00:00
Ruslan Ermilov
c887ca5b8a mdoc(7) police: fixed indentation in SYNOPSIS.
Submitted by:	style(9) police (bde)
2002-08-14 16:09:31 +00:00
Ruslan Ermilov
c0cb7cc399 mdoc(7) police: minor nits.
Approved by:	imp
2002-08-13 19:43:47 +00:00
Ruslan Ermilov
a654c53e16 mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
Josef Karthauser
96991a6ae8 Add a bugs section to mention that this device probably doesn't work
properly.
2002-08-13 15:12:11 +00:00
Ruslan Ermilov
75aee0b96c mdoc(7) police: nits. 2002-08-13 15:01:26 +00:00
Ruslan Ermilov
6c8c60988b mdoc(7) police: typos. 2002-08-13 14:57:33 +00:00
Ruslan Ermilov
635e2e682b mdoc(7) police: nit. 2002-08-13 14:52:41 +00:00
Ruslan Ermilov
e6d3dae8cd mdoc(7) police: tidy up formatting. 2002-08-13 14:51:17 +00:00
Ruslan Ermilov
ad5ca2e1b7 mdoc(7) police: revert to a valid construct. 2002-08-13 14:42:24 +00:00
Ruslan Ermilov
8cdc6c3a7c mdoc(7) police: removed hard sentence break. 2002-08-13 14:39:26 +00:00
Ruslan Ermilov
c3b938855a mdoc(7) police: Bump document date, removed (again) hard sentence breaks.. 2002-08-13 14:37:41 +00:00
Ruslan Ermilov
e316d2deba mdoc(7) police: nit. 2002-08-13 14:25:53 +00:00
Ruslan Ermilov
74087d9d1a mdoc(7) police: laundry. 2002-08-13 14:20:06 +00:00
Ruslan Ermilov
76e0d06131 mdoc(7) police: laundry. 2002-08-13 14:12:31 +00:00
Ruslan Ermilov
99bf03d6a5 mdoc(7) police: added missing paragraph breaks. 2002-08-13 13:59:35 +00:00
Ruslan Ermilov
052160ff07 mdoc(7) police: typo and removed stray .Pp. 2002-08-13 13:55:02 +00:00
Ruslan Ermilov
5faba7ef6b mdoc(7) police: pseudo-devices are gone from -CURRENT. 2002-08-13 13:50:36 +00:00
Ruslan Ermilov
a627f55aa4 mdoc(7) police: nits in rev. 1.4. 2002-08-13 13:44:45 +00:00
Tom Rhodes
b726757328 Attach uvisor(4) to the build. 2002-08-13 01:39:36 +00:00
Tom Rhodes
928217fd19 Add the uvisor(4) manual page.
Obtained from:	NetBSD
Requested by:	joe
2002-08-13 01:38:19 +00:00
Josef Karthauser
bcee849934 Replace /dev/tty with /dev/ucom.
Submitted by:	wilko
2002-08-12 20:28:53 +00:00
Mark Peek
6ea9977209 Reflect support for 82801CA (ICH3) and 82801DC (ICH4) PCI chips. 2002-08-12 16:25:20 +00:00
Josef Karthauser
31f48889ad Add the uftdi ucom driver which supports the following adapters:
Inland UAS111
	QVS USC-1000
	HP USB-Serial adapter shipped with some HP laptops

Submitted by:	takawata
MFC After:	7 days
2002-08-11 23:32:33 +00:00
Brooks Davis
05c872ad62 Make ppp(4) devices clonable and unloadable. 2002-08-09 15:30:48 +00:00
David E. O'Brien
ac03993585 Restore autoloading of ACPI module.
Document the approved ways of disabling it.
Submitted by:	Daniel O'Connor <doconnor@gsoft.com.au>
2002-08-09 06:07:33 +00:00
Doug Ambrisko
2b739dc164 Add support for SX cards using TBI such as Netgear GA621
Sponsored by:	Vernier Networks.
MFC after:	1 week
2002-08-08 18:30:39 +00:00
Mark Murray
d1fd4b3369 Remove the reference to NOUUCP, ans we no longer have base UUCP. 2002-08-02 10:52:59 +00:00
Jens Schweikhardt
80e2ef88e9 Correct a few grammar bogons.
MFC after:	3 days
2002-07-31 09:32:22 +00:00
Marc Fonvieille
1061be04b3 Correct links to Handbook's pages, old URLs does not work anymore.
MFC after:	1 week
2002-07-30 21:04:26 +00:00
Warner Losh
837f5da854 Add a bunch more cards that are known to work.
Add a warning about the Symbol LA-4100 series of cards.  You gotta
load special firmware, and the wi driver in the tree doesn't support
that yet.
2002-07-30 06:58:27 +00:00
Ruslan Ermilov
33c1de7d1f Ignore -C, -p, and -S options of install(1) when used with the -d
option.  Warn about COPY being phased out.  Restore the old method
of always comparing before installing: INSTALL="install -C".

Requested by:	bde
2002-07-29 08:51:04 +00:00
Murray Stokely
aa2ada4e96 Fix typo.
PR:		docs/41091
MFC after:	1 day
2002-07-29 07:22:26 +00:00
John Baldwin
2d1c9e0f70 Document DOCRELEASETAG and PORTSRELEASETAG. 2002-07-27 21:09:29 +00:00
John Baldwin
15cee06db7 Document PREFETCHDISTFILES. 2002-07-27 20:04:48 +00:00
John Baldwin
ee6b01b97b Document KERNEL_FLAGS and WORLD_FLAGS. 2002-07-27 20:00:39 +00:00
John Baldwin
8be4d32c52 - Move BUILDNAME up before CHROOTDIR.
- RELEASETAG is an optional variable, not a required one.
2002-07-27 19:52:35 +00:00
Ruslan Ermilov
b32a0019ed Feedback also included this. 2002-07-26 20:53:26 +00:00
Prafulla Deuskar
5461e58563 Fix markup issues introduced in earlier commit.
Feedback from: ru (Ruslan Ermilov)
MFC after:	3 days
2002-07-26 20:50:35 +00:00
Prafulla Deuskar
5155b8e214 Updated man page to include support for
82546 based adapters.

MFC after:	3 days
2002-07-26 17:35:31 +00:00
Hajimu UMEMOTO
a7d3c08ea8 - now, IPV6CTL_V6ONLY is on by default.
- .Nx -> .Fx
2002-07-26 11:42:46 +00:00
Hajimu UMEMOTO
323e7f3d09 sync types with headers. 2002-07-26 08:20:34 +00:00
Hajimu UMEMOTO
6655feec2c note that we intentionally violate RFC2553 for security reasons.
Adviced by:	itojun
Obtained from:	NetBSD
2002-07-26 08:11:51 +00:00
Warner Losh
b294c6a39a Clarify the sizeof(var) rule. This is the result of the consensus in
arch@ between myself, bde and markm.  I kept the parts that all of us
agreed to, and omitted some more extensive text that I'd originally
wanted.
2002-07-25 00:30:24 +00:00
Tim J. Robbins
8030ad187e Mention the new bind(1) sh builtin. 2002-07-23 14:38:07 +00:00
Robert Watson
060c42c3d2 Mention SAVENAME and SAVESTART in the namei(9) operation flag description
since apparently people were missing that you aren't supposed to access
the name buffer following namei() unless you specify one of these flags.

Pointed out by:	green
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, NAI Labs
2002-07-23 13:16:36 +00:00
Robert Watson
fd3083e0f8 Update ucred.9 to talk a bit more about correct use of credentials,
including documenting that ucreds must not be pulled out of thin air,
when to use td_cred vs. p_ucred, how to avoid race conditions in
credential updates, and why to use p_ucred when targetting a thread
or process in an access control operation involving two processes.

Reviewed by:	julian, jhb (earlier revision)
2002-07-23 13:09:24 +00:00
Jens Schweikhardt
9660d3718b Typo: s/If the this option/If this option/
MFC after:	1 week
2002-07-20 09:25:55 +00:00
Ruslan Ermilov
d29831440a To force install(1) to always compare files before installing, one
now needs to set COPY=-C as -C is no longer compatible with the -d
option.  It is also likely to be renamed to INSTALL_COPY soon.
Update documentation to reflect this change.

PR:		bin/40724
2002-07-18 12:54:55 +00:00
Sheldon Hearn
5098ee792a One external utility was ommitted in the previous delta:
alias
2002-07-17 15:34:25 +00:00
Sheldon Hearn
8b98c6bf7c The following builtins are now available as external commands as well:
bg
        cd
        command
        fc
        fg
        getopts
        jobs
        read
        umask
        unalias
        wait
2002-07-17 07:12:37 +00:00
Tom Rhodes
f7560bd3a7 Fix grammar 'the administrator'
PR:		39093
Submitted by:	Mike Makonnen <makonnen@packbell.net>
2002-07-15 16:23:56 +00:00
Giorgos Keramidas
b3e9028c87 Document savecore_flags.
PR:		docs/35967
Submitted by:	Gary W. Swearingen <swear@blarg.net>
2002-07-15 02:21:44 +00:00
Philippe Charnier
8d74f63d1e The .Nm utility 2002-07-14 14:58:11 +00:00
Ruslan Ermilov
9e82e81b91 Connect device.hints.5 to the build. 2002-07-12 14:16:46 +00:00
Ruslan Ermilov
3fad0a60f0 Sort MAN. 2002-07-12 14:08:40 +00:00
Ruslan Ermilov
1c4347288f Fixed path to /boot/device.hints. 2002-07-12 13:44:37 +00:00
Bruce Evans
35f2bab629 Fixed misspelling of "hint." as "hints." in rp's hints. 2002-07-11 20:47:56 +00:00
Bruce Evans
6c0b854cf9 Improved wording in the descriptions of hints. In particular, don't start
a new paragraph for describing the hints associated with each card type.

Reviewed by:	ru
2002-07-11 20:24:58 +00:00
Maxim Sobolev
8c6d67ef99 Add PCI ID and configuration hint for Netmos Nm9845 PCI 6-ports serial
card.

Submitted by:	Oleg Antoshin <oleh@at2000.kiev.ua>
MFC after:	3 days
2002-07-10 17:26:11 +00:00
Maxim Konovalov
25a6539985 Fix a typo.
MFC after:	3 days
2002-07-10 09:06:42 +00:00
Marc Fonvieille
4e7c3744b8 Typo fix: s/THAI/TAHI
PR:		docs/40371
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
Approved by:	keramida
MFC after:	7 days
2002-07-09 20:37:18 +00:00
Warner Losh
03fd39aa3d Preliminary NEWCARD docs. 2002-07-09 05:08:49 +00:00
Warner Losh
ea9db5976b Update dates. 2002-07-09 04:46:30 +00:00
Warner Losh
f26fae01e8 Document what the pcic driver in newcard will support. 2002-07-09 04:43:30 +00:00
Warner Losh
65fbd12756 Finish the repo copy of pcic.4 -> oldcard.4. oldcard.4 will document
the legacy pccard mode stuff called 'oldcard.'  pcic.4 will be
hijacked for newcard purposes.
2002-07-09 03:50:29 +00:00
Marc Fonvieille
39a0c7c577 Grammar fix
PR:	docs/40210
Submitted by:	Munish Chopra <mchopra@engmail.uwaterloo.ca>
Reviewed by:	keramida
Approved by:	orion
MFC after:	7 days
2002-07-08 20:57:19 +00:00
Julian Elischer
a4fd02efc7 link in the man page for thread_exit
Also change some line breaks.
2002-07-08 17:52:00 +00:00
Julian Elischer
eecc312518 Add a man page. Style comments welcome. I have a bunch-o-new-pages
to add so I might as we find out what I did wrong now :-)
2002-07-08 07:51:20 +00:00
Julian Elischer
b388e223f2 Slight changes to reflect some of the changes in -current.
mi_switch(9) is still wildly innacurate. I suggest that every kernel
developer takes 20 minutes a day for the next few days and updates one or
two of his favourite chapter 9 man pages as they are now WAY out of date
in general. I will add a couple of KSE related pages soon.
2002-07-08 07:34:46 +00:00
Chris Costello
2131a0f65d sec-doc.7 has been repo-copied to sdoc.7 to be consistent with sprog.7.
Sponsored by:	DARPA, NAI Labs
2002-07-06 20:30:29 +00:00
Takanori Watanabe
f0da5f560d Document BIOS bytecode overriding.
Pointed out by: Alex Zepeda <zipzippy@sonic.net>
Reviewed by:	David Wolfskill <david@catwhisker.org>
2002-07-05 15:36:03 +00:00
Tom Rhodes
54739799f2 GXP ATA drives also supports TQ 2002-07-02 20:23:43 +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
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
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
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