Commit Graph

1511 Commits

Author SHA1 Message Date
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
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
Ruslan Ermilov
518e4deb99 A gross patch to tidy up the formatting.
Not objected to by:	grog
2002-06-21 06:50:16 +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
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
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
Ruslan Ermilov
706b6f9f2e mdoc(7) police: minor markup fixes. 2002-05-30 12:59:52 +00:00
Ruslan Ermilov
0a8b331854 mdoc(7) police: fixed markup.
This manpage is still too NetBSD-centric.
2002-05-30 12:39:38 +00:00
Ruslan Ermilov
eb98fe6489 mdoc(7) police: minor markup nits.
The SYNOPSIS should be fixed to fit the FreeBSD needs.
2002-05-30 12:34:06 +00:00
Ruslan Ermilov
36e25d6ed3 Added the missing ``and''. 2002-05-30 12:29:37 +00:00
Ruslan Ermilov
866cb5b007 mdoc(7) police: markup nits. 2002-05-30 12:26:27 +00:00
Ruslan Ermilov
d89c4e9875 mdoc(7) police: GC whitespace at EOL. 2002-05-30 12:23:21 +00:00
Ruslan Ermilov
7d1deb1f04 Record the dependency on "device miibus". 2002-05-30 11:47:19 +00:00
Ruslan Ermilov
b5544fefe9 mdoc(7) police:
Do not use raw roff requests.
Replace tbl(1)'s use with the mdoc(7)'s -column list.
Removed cross references to non-existing manpages.
Minor markup nits.
2002-05-30 10:33:19 +00:00
Ruslan Ermilov
999e589b6a mdoc(7) police: Grr, once again, re-apply many fixes from
revisions 1.2 and 1.5 that got backed out by revision 1.4.
2002-05-30 08:45:06 +00:00
Ruslan Ermilov
cc6449ea7f mdoc(7) police: tidy up the markup. 2002-05-29 17:08:58 +00:00
Ruslan Ermilov
6b58ca3e0c mdoc(7) police: nits. 2002-05-29 17:00:41 +00:00
Ruslan Ermilov
b6437e68cd mdoc(7) police: really back out rev. 1.32. 2002-05-29 16:59:10 +00:00
Ruslan Ermilov
328b06b929 mdoc(7) police: tidy up the markup. 2002-05-29 14:11:17 +00:00
Brooks Davis
2962732fac Add a simple manpage for the discard interface derived from lo(4). 2002-05-29 06:59:30 +00:00
Brooks Davis
0d35b35ab5 Document the fact that these devices are allocated at runtime using
cloning and point to two common methods of doing so.
2002-05-29 06:55:06 +00:00
David E. O'Brien
34f67e88e6 Add gx(4) to the SEE ALSO. 2002-05-20 23:39:25 +00:00
Will Andrews
465996134b Add a manual page for the spic(4) device driver and hook it in the build.
Reviewed by:	ru
2002-05-20 18:50:58 +00:00
Tom Rhodes
0e85d620bc More file system > filesystem 2002-05-16 05:21:58 +00:00
Hajimu UMEMOTO
138465e0d6 correct wording.
Pointed out by:	brian
2002-05-15 16:37:26 +00:00
Hajimu UMEMOTO
210b1d8a55 Sync with reality.
IPV6CTL_MAPPED_ADDR was obsoleted by IPV6CTL_V6ONLY.

MFC after:	2 days
		and approved by re
2002-05-14 05:32:23 +00:00
Wilko Bulte
88d564040b Explicitely note ATEN UC-232A is supported. Sort list entries
while we are here.
2002-05-11 20:10:38 +00:00
Josef Karthauser
1063e12617 Replace /kernel with /boot/kernel/kernel.
PR:		docs/37757
Submitted by:	Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00
Warner Losh
ad1e033e00 Try to de-confuse ad-hoc, demo ad-hoc and ibss:
o Don't ever refer to ad-hoc mode in the raw.  Instead, refer to it as
  demo ad-hoc mode or lucent legacy demo ad-hoc or some variation on this
  theme.
o Talk about point-to-point modes rather than ad-hoc modes.  Use ibss where
  appropriate.
o Fix type IBBS -> IBSS
2002-05-04 04:59:20 +00:00
Warner Losh
0801cb6b0e Minor tweaks:
o go ahead and document ibss-master and ibss modes, since there are
	  patches in the pipeline to support them.
	o Note that they aren't implemented yet.
	o Note that different regulatory domains have different default
	  channels.
	o Note that Lucent cards prior to firmware 6.0.4 do not support
	  ibss mode, and only support the older demo ad-hoc mode.
	o Note that PRISM2 chipsets do not support WDS mode of operation
	  (the mysterious -p 2 option).
2002-05-03 18:11:17 +00:00
Warner Losh
a4b3d9067b Remove Apple Airport card, since it seems to be mac-only.
Change date to today.
Add socket low power WLAN CF card
Add SMC 2602W which I use all the time
Comment out the create-ibss example.  FreeBSD doesn't yet have that
media option.  Also change it to master-ibss since that's what OpenBSD
really uses (and that is a change in their man page too)
2002-05-03 05:47:38 +00:00
Warner Losh
57190641c0 Additional patches from OpenBSD. Mostly grammar fixes and the like,
however I'm adding the Dlink DWL520 as supported from OpenBSD.  Also
adding Dlink DWL650 since I have one in my hot little hands and it
works great.

# I suspect that OpenBSD needs this too :-)
2002-05-03 05:39:16 +00:00
Warner Losh
07c8bcee12 Bring the wi man page into the 21st centry. This man page is based
heavily on OpenBSD's wi man page, with OpenBSDisms replaced by
FreeBSDisms.  I also added a note about where the man page came from.
I hope that I've not broken anything that ru cleaned up.  We now run
this through tbl, but that appears to be automatic.

Obtained From:  OpenBSD
2002-05-02 22:51:40 +00:00
Prafulla Deuskar
e4fe103d73 Modified the man page to reflect support for
82540EM based cards.

MFC after:	1 day
2002-04-30 17:14:51 +00:00
Semen Ustimenko
37f044d650 Implement true multicast filtering.
Inspired by:	dc(4)

MFC after:	1 week
2002-04-25 18:16:15 +00:00
Ruslan Ermilov
b25a566d47 Merge bsd.obj.mk's version of the _SUBDIR target with bsd.subdir.mk.
Ensure all standard targets honor SUBDIR.  Now `make obj' descends into
SUBDIRs even if NOOBJ is set (some descendants may still need an object
directory, but we do not have such precedents).  Now `make install' in
non-bsd.subdir.mk makefiles runs `afterinstall' target _after_ `install'
in SUBDIRs, like we do in bsd.subdir.mk.  Nothing depended on the wrong
order anyway.

Fixed `distribute' targets (except for the bsd.subdir.mk version) so that
they do not depend on _SUBDIR; `distribute' calls `install' which already
depends on _SUBDIR.

De-standardize `maninstall', otherwise manpages would be installed twice.
(To be revised later.)
2002-04-23 09:03:56 +00:00
Tom Rhodes
0f30ec08f7 Remove my change to the synopsis field
Requested by:	bde
pointy hat to:	myself ;)
2002-04-22 15:18:51 +00:00
Bill Fenner
fedda4fff3 mdoc police: Use Em ("emphasis") to get italics/underlining, instead of
Sm Pa (a syntax error, and an assertion that the arguments are path
 names, which is a little far from true).
2002-04-21 18:33:57 +00:00
Luigi Rizzo
73f2cd104c Add 'rl' to the list of supported drivers. 2002-04-21 15:47:59 +00:00
Nicolas Souchu
640984ba48 Fix controller in SW mode and See also + first appeared in 4.5. 2002-04-20 09:12:09 +00:00
Boris Popov
91a2bd2558 Describe situation where manual 'ifconfig xx0 up' required.
Submitted by:	Victor Sudakov <sudakov@sibptus.tomsk.ru>
2002-04-20 05:00:48 +00:00
Tom Rhodes
bfe7ad2431 Add the previously committed usb(4) manual pages to the build.
PR:		27919
MFC after:	3 days
2002-04-19 18:24:03 +00:00
Tom Rhodes
8b97f3548e Add usb(4) manual pages.
PR:		27919
Obtained from:	NetBSD
MFC after:	3 days
2002-04-19 18:18:11 +00:00
Tom Rhodes
28395f9543 Add more information to SYNOPSIS of ed.4
PR:		36467
MFC after:	3 days
2002-04-16 22:52:01 +00:00
Yaroslav Tykhiy
60af6add19 Describe possible values for net.inet.tcp.log_in_vain
and their effects.

PR:		docs/35932
Submitted by:	Alex Semenyaka <alexs@ratmir.ru>
MFC after:	1 week
2002-04-16 13:19:33 +00:00