head	1.18;
access;
symbols
	RELENG_8_4:1.18.0.2
	RELENG_9_1_0_RELEASE:1.17.16.1.4.2
	RELENG_9_1:1.17.16.1.0.4
	RELENG_9_1_BP:1.17.16.1
	RELENG_8_3_0_RELEASE:1.17.10.1.8.1
	RELENG_8_3:1.17.10.1.0.8
	RELENG_8_3_BP:1.17.10.1
	RELENG_9_0_0_RELEASE:1.17.16.1.2.1
	RELENG_9_0:1.17.16.1.0.2
	RELENG_9_0_BP:1.17.16.1
	RELENG_9:1.17.0.16
	RELENG_9_BP:1.17
	RELENG_7_4_0_RELEASE:1.17.14.1
	RELENG_8_2_0_RELEASE:1.17.10.1.6.1
	RELENG_7_4:1.17.0.14
	RELENG_7_4_BP:1.17
	RELENG_8_2:1.17.10.1.0.6
	RELENG_8_2_BP:1.17.10.1
	RELENG_8_1_0_RELEASE:1.17.10.1.4.1
	RELENG_8_1:1.17.10.1.0.4
	RELENG_8_1_BP:1.17.10.1
	RELENG_7_3_0_RELEASE:1.17.12.1
	RELENG_7_3:1.17.0.12
	RELENG_7_3_BP:1.17
	RELENG_8_0_0_RELEASE:1.17.10.1.2.1
	RELENG_8_0:1.17.10.1.0.2
	RELENG_8_0_BP:1.17.10.1
	RELENG_8:1.17.0.10
	RELENG_8_BP:1.17
	RELENG_7_2_0_RELEASE:1.17.8.1
	RELENG_7_2:1.17.0.8
	RELENG_7_2_BP:1.17
	RELENG_7_1_0_RELEASE:1.17.6.1
	RELENG_6_4_0_RELEASE:1.15.12.1
	RELENG_7_1:1.17.0.6
	RELENG_7_1_BP:1.17
	RELENG_6_4:1.15.0.12
	RELENG_6_4_BP:1.15
	RELENG_7_0_0_RELEASE:1.17
	RELENG_6_3_0_RELEASE:1.15
	RELENG_7_0:1.17.0.4
	RELENG_7_0_BP:1.17
	RELENG_6_3:1.15.0.10
	RELENG_6_3_BP:1.15
	RELENG_7:1.17.0.2
	RELENG_7_BP:1.17
	RELENG_6_2_0_RELEASE:1.15
	RELENG_6_2:1.15.0.8
	RELENG_6_2_BP:1.15
	RELENG_5_5_0_RELEASE:1.13
	RELENG_5_5:1.13.0.14
	RELENG_5_5_BP:1.13
	RELENG_6_1_0_RELEASE:1.15
	RELENG_6_1:1.15.0.6
	RELENG_6_1_BP:1.15
	RELENG_6_0_0_RELEASE:1.15
	RELENG_6_0:1.15.0.4
	RELENG_6_0_BP:1.15
	RELENG_6:1.15.0.2
	RELENG_6_BP:1.15
	RELENG_5_4_0_RELEASE:1.13
	RELENG_5_4:1.13.0.12
	RELENG_5_4_BP:1.13
	RELENG_4_11_0_RELEASE:1.8.2.1
	RELENG_4_11:1.8.2.1.0.14
	RELENG_4_11_BP:1.8.2.1
	RELENG_5_3_0_RELEASE:1.13
	RELENG_5_3:1.13.0.10
	RELENG_5_3_BP:1.13
	RELENG_5:1.13.0.8
	RELENG_5_BP:1.13
	RELENG_4_10_0_RELEASE:1.8.2.1
	RELENG_4_10:1.8.2.1.0.12
	RELENG_4_10_BP:1.8.2.1
	RELENG_5_2_1_RELEASE:1.13
	RELENG_5_2_0_RELEASE:1.13
	RELENG_5_2:1.13.0.6
	RELENG_5_2_BP:1.13
	RELENG_4_9_0_RELEASE:1.8.2.1
	RELENG_4_9:1.8.2.1.0.10
	RELENG_4_9_BP:1.8.2.1
	RELENG_5_1_0_RELEASE:1.13
	RELENG_5_1:1.13.0.4
	RELENG_5_1_BP:1.13
	RELENG_4_8_0_RELEASE:1.8.2.1
	RELENG_4_8:1.8.2.1.0.8
	RELENG_4_8_BP:1.8.2.1
	RELENG_5_0_0_RELEASE:1.13
	RELENG_5_0:1.13.0.2
	RELENG_5_0_BP:1.13
	RELENG_4_7_0_RELEASE:1.8.2.1
	RELENG_4_7:1.8.2.1.0.6
	RELENG_4_7_BP:1.8.2.1
	RELENG_4_6_2_RELEASE:1.8.2.1
	RELENG_4_6_1_RELEASE:1.8.2.1
	RELENG_4_6_0_RELEASE:1.8.2.1
	RELENG_4_6:1.8.2.1.0.4
	RELENG_4_6_BP:1.8.2.1
	RELENG_4_5_0_RELEASE:1.8.2.1
	RELENG_4_5:1.8.2.1.0.2
	RELENG_4_5_BP:1.8.2.1
	RELENG_4_4_0_RELEASE:1.8
	RELENG_4_4:1.8.0.6
	RELENG_4_4_BP:1.8
	KSE_MILESTONE_2:1.12
	KSE_PRE_MILESTONE_2:1.12
	RELENG_4_3_0_RELEASE:1.8
	RELENG_4_3:1.8.0.4
	RELENG_4_3_BP:1.8
	RELENG_4_2_0_RELEASE:1.8
	RELENG_4_1_1_RELEASE:1.8
	PRE_SMPNG:1.10
	RELENG_4_1_0_RELEASE:1.8
	RELENG_4_0_0_RELEASE:1.8
	RELENG_4:1.8.0.2
	RELENG_4_BP:1.8;
locks; strict;
comment	@# @;


1.18
date	2012.11.17.01.53.01;	author svnexp;	state Exp;
branches
	1.18.2.1;
next	1.17;

1.17
date	2005.12.10.00.38.32;	author scottl;	state Exp;
branches
	1.17.2.1
	1.17.6.1
	1.17.8.1
	1.17.10.1
	1.17.12.1
	1.17.14.1
	1.17.16.1;
next	1.16;

1.16
date	2005.09.27.18.10.39;	author mlaier;	state Exp;
branches;
next	1.15;

1.15
date	2004.12.29.21.50.44;	author obrien;	state Exp;
branches
	1.15.2.1
	1.15.12.1;
next	1.14;

1.14
date	2004.12.29.08.47.29;	author imp;	state Exp;
branches;
next	1.13;

1.13
date	2002.06.26.03.34.49;	author ken;	state Exp;
branches;
next	1.12;

1.12
date	2001.09.05.23.47.02;	author brooks;	state Exp;
branches;
next	1.11;

1.11
date	2001.01.06.14.00.31;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2000.05.27.01.14.22;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	2000.05.04.12.08.31;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	2000.01.28.11.26.38;	author bde;	state Exp;
branches
	1.8.2.1;
next	1.7;

1.7
date	99.11.28.18.53.26;	author bde;	state Exp;
branches;
next	1.6;

1.6
date	99.09.27.01.04.43;	author peter;	state Exp;
branches;
next	1.5;

1.5
date	99.09.27.00.34.01;	author peter;	state Exp;
branches;
next	1.4;

1.4
date	99.09.20.06.11.46;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	99.08.28.00.47.57;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	99.08.10.17.15.16;	author wpaul;	state Exp;
branches;
next	1.1;

1.1
date	99.07.23.05.47.58;	author wpaul;	state Exp;
branches;
next	;

1.18.2.1
date	2012.11.17.01.53.01;	author svnexp;	state dead;
branches;
next	1.18.2.2;

1.18.2.2
date	2013.03.28.13.05.24;	author svnexp;	state Exp;
branches;
next	;

1.17.2.1
date	2012.11.17.08.06.58;	author svnexp;	state Exp;
branches;
next	;

1.17.6.1
date	2008.11.25.02.59.29;	author kensmith;	state Exp;
branches;
next	;

1.17.8.1
date	2009.04.15.03.14.26;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1
date	2009.08.03.08.13.06;	author kensmith;	state Exp;
branches
	1.17.10.1.2.1
	1.17.10.1.4.1
	1.17.10.1.6.1
	1.17.10.1.8.1;
next	1.17.10.2;

1.17.10.2
date	2012.11.17.10.36.58;	author svnexp;	state Exp;
branches;
next	;

1.17.10.1.2.1
date	2009.10.25.01.10.29;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1.4.1
date	2010.06.14.02.09.06;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1.6.1
date	2010.12.21.17.09.25;	author kensmith;	state Exp;
branches;
next	;

1.17.10.1.8.1
date	2012.03.03.06.15.13;	author kensmith;	state Exp;
branches;
next	1.17.10.1.8.2;

1.17.10.1.8.2
date	2012.11.17.08.25.34;	author svnexp;	state Exp;
branches;
next	;

1.17.12.1
date	2010.02.10.00.26.20;	author kensmith;	state Exp;
branches;
next	;

1.17.14.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.17.14.2;

1.17.14.2
date	2012.11.17.08.17.28;	author svnexp;	state Exp;
branches;
next	;

1.17.16.1
date	2011.09.23.00.51.37;	author kensmith;	state Exp;
branches
	1.17.16.1.2.1
	1.17.16.1.4.1;
next	1.17.16.2;

1.17.16.2
date	2012.11.17.11.37.18;	author svnexp;	state Exp;
branches;
next	;

1.17.16.1.2.1
date	2011.11.11.04.20.22;	author kensmith;	state Exp;
branches;
next	1.17.16.1.2.2;

1.17.16.1.2.2
date	2012.11.17.08.37.15;	author svnexp;	state Exp;
branches;
next	;

1.17.16.1.4.1
date	2012.08.05.23.54.33;	author kensmith;	state Exp;
branches;
next	1.17.16.1.4.2;

1.17.16.1.4.2
date	2012.11.17.08.48.06;	author svnexp;	state Exp;
branches;
next	;

1.15.2.1
date	2012.11.17.07.44.27;	author svnexp;	state Exp;
branches;
next	;

1.15.12.1
date	2008.10.02.02.57.24;	author kensmith;	state Exp;
branches;
next	;

1.8.2.1
date	2001.12.04.20.01.53;	author brooks;	state Exp;
branches;
next	1.8.2.2;

1.8.2.2
date	2012.11.17.07.26.36;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.18
log
@Switching exporter and resync
@
text
@# $FreeBSD: head/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $

.PATH: ${.CURDIR}/../../dev/ti

KMOD=	if_ti
SRCS=	if_ti.c device_if.h bus_if.h pci_if.h opt_ti.h opt_zero.h

.include <bsd.kmod.mk>
@


1.18.2.1
log
@file Makefile was added on branch RELENG_8_4 on 2013-03-28 13:05:24 +0000
@
text
@d1 8
@


1.18.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 8
# $FreeBSD: releng/8.4/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $

.PATH: ${.CURDIR}/../../dev/ti

KMOD=	if_ti
SRCS=	if_ti.c device_if.h bus_if.h pci_if.h opt_ti.h opt_zero.h

.include <bsd.kmod.mk>
@


1.17
log
@The if_ti Tigon I/II driver has moved to /sys/dev/ti
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.17.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $
@


1.17.16.1
log
@SVN rev 225736 on 2011-09-23 00:51:37Z by kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.17.16.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242902
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242902 | dteske | 2012-11-11 23:29:45 +0000 (Sun, 11 Nov 2012) | 10 lines
## SVN ##
## SVN ## Fix a regression introduced by SVN r211417 that saw the breakage of a feature
## SVN ## documented in usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below):
## SVN ##
## SVN ## If /usr/sbin/sysinstall is linked to another filename, say
## SVN ## `/usr/local/bin/configPackages', then the basename will be used
## SVN ## as an implicit command name.
## SVN ##
## SVN ## Reviewed by:	adrian (co-mentor)
## SVN ## Approved by:	adrian (co-mentor)
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/9/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $
@


1.17.16.1.4.1
log
@SVN rev 239080 on 2012-08-05 23:54:33Z by kensmith

Copy stable/9 to releng/9.1 as part of the 9.1-RELEASE release process.

Approved by:	re (implicit)
@
text
@@


1.17.16.1.4.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.1/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $
@


1.17.16.1.2.1
log
@SVN rev 227445 on 2011-11-11 04:20:22Z by kensmith

Copy stable/9 to releng/9.0 as part of the FreeBSD 9.0-RELEASE release
cycle.

Approved by:	re (implicit)
@
text
@@


1.17.16.1.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/9.0/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $
@


1.17.14.1
log
@SVN rev 216618 on 2010-12-21 17:10:29Z by kensmith

Copy stable/7 to releng/7.4 in preparation for FreeBSD-7.4 release.

Approved by:	re (implicit)
@
text
@@


1.17.14.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $
@


1.17.12.1
log
@SVN rev 203736 on 2010-02-10 00:26:20Z by kensmith

Copy stable/7 to releng/7.3 as part of the 7.3-RELEASE process.

Approved by:	re (implicit)
@
text
@@


1.17.10.1
log
@SVN rev 196045 on 2009-08-03 08:13:06Z by kensmith

Copy head to stable/8 as part of 8.0 Release cycle.

Approved by:	re (Implicit)
@
text
@@


1.17.10.2
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 242909
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r242909 | dim | 2012-11-12 07:47:19 +0000 (Mon, 12 Nov 2012) | 20 lines
## SVN ##
## SVN ## MFC r242625:
## SVN ##
## SVN ## Remove duplicate const specifiers in many drivers (I hope I got all of
## SVN ## them, please let me know if not).  Most of these are of the form:
## SVN ##
## SVN ## static const struct bzzt_type {
## SVN ##       [...list of members...]
## SVN ## } const bzzt_devs[] = {
## SVN ##       [...list of initializers...]
## SVN ## };
## SVN ##
## SVN ## The second const is unnecessary, as arrays cannot be modified anyway,
## SVN ## and if the elements are const, the whole thing is const automatically
## SVN ## (e.g. it is placed in .rodata).
## SVN ##
## SVN ## I have verified this does not change the binary output of a full kernel
## SVN ## build (except for build timestamps embedded in the object files).
## SVN ##
## SVN ## Reviewed by:	yongari, marius
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 1
a1 1
# $FreeBSD: stable/8/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $
@


1.17.10.1.8.1
log
@SVN rev 232438 on 2012-03-03 06:15:13Z by kensmith

Copy stable/8 to releng/8.3 as part of 8.3-RELEASE release cycle.

Approved by:	re (implicit)
@
text
@@


1.17.10.1.8.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/8.3/sys/modules/ti/Makefile 153280 2005-12-10 00:38:33Z scottl $
@


1.17.10.1.6.1
log
@SVN rev 216617 on 2010-12-21 17:09:25Z by kensmith

Copy stable/8 to releng/8.2 in preparation for FreeBSD-8.2 release.

Approved by:	re (implicit)
@
text
@@


1.17.10.1.4.1
log
@SVN rev 209145 on 2010-06-14 02:09:06Z by kensmith

Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.

Approved by:	re (implicit)
@
text
@@


1.17.10.1.2.1
log
@SVN rev 198460 on 2009-10-25 01:10:29Z by kensmith

Copy stable/8 to releng/8.0 as part of 8.0-RELEASE release procedure.

Approved by:	re (implicit)
@
text
@@


1.17.8.1
log
@SVN rev 191087 on 2009-04-15 03:14:26Z by kensmith

Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.

Approved by:	re (implicit)
@
text
@@


1.17.6.1
log
@SVN rev 185281 on 2008-11-25 02:59:29Z by kensmith

Create releng/7.1 in preparation for moving into RC phase of 7.1 release
cycle.

Approved by:	re (implicit)
@
text
@@


1.16
log
@Remove bridge(4) from the tree.  if_bridge(4) is a full functional
replacement and has additional features which make it superior.

Discussed on:	-arch
Reviewed by:	thompsa
X-MFC-after:	never (RELENG_6 as transition period)
@
text
@d3 1
a3 1
.PATH: ${.CURDIR}/../../pci
@


1.15
log
@Remove vnode_if.h for rev 1.14.
@
text
@d6 1
a6 1
SRCS=	if_ti.c opt_bdg.h device_if.h bus_if.h pci_if.h opt_ti.h opt_zero.h
@


1.15.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/ti/Makefile 139417 2004-12-29 21:50:44Z obrien $
@


1.15.12.1
log
@SVN rev 183531 on 2008-10-02 02:57:24Z by kensmith

Create releng/6.4 from stable/6 in preparation for 6.4-RC1.

Approved by:	re (implicit)
@
text
@@


1.14
log
@We don't need to generate vnode_if.h anymore
@
text
@d6 1
a6 2
SRCS=	if_ti.c opt_bdg.h bus_if.h pci_if.h opt_ti.h opt_zero.h \
	vnode_if.h
@


1.13
log
@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.
@
text
@d6 1
a6 1
SRCS=	if_ti.c opt_bdg.h device_if.h bus_if.h pci_if.h opt_ti.h opt_zero.h \
@


1.12
log
@vlan.h is obsolete, don't create it anymore.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.11 2001/01/06 14:00:31 obrien Exp $
d6 2
a7 1
SRCS=	if_ti.c opt_bdg.h device_if.h bus_if.h pci_if.h
@


1.11
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.10 2000/05/27 01:14:22 peter Exp $
d6 1
a6 5
SRCS=	if_ti.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
CLEANFILES=	vlan.h

vlan.h:
	touch vlan.h
@


1.10
log
@Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.9 2000/05/04 12:08:31 peter Exp $
d3 5
a7 4
.PATH:	${.CURDIR}/../../pci
KMOD	= if_ti
SRCS	= if_ti.c opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
CLEANFILES	= vlan.h
@


1.9
log
@Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.8 2000/01/28 11:26:38 bde Exp $
d11 1
a11 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.8
log
@Add ${DEBUG_FLAGS} to CFLAGS in bsd.kmod.mk, not in scattered module
makefiles.  Bad examples in fxp/Makefile keep getting copied to new
makefiles.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.7 1999/11/28 18:53:26 bde Exp $
d11 1
a11 1
.include <bsd.kmod.mk>
@


1.8.2.1
log
@MFC: Make vlan(4) devices loadable, unloadable, and clonable.
@
text
@d1 1
a1 1
# $FreeBSD$
d5 5
a9 1
SRCS	= if_ti.c opt_bdg.h device_if.h bus_if.h pci_if.h
@


1.8.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/ti/Makefile 87367 2001-12-04 20:01:54Z brooks $
@


1.7
log
@Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.6 1999/09/27 01:04:43 peter Exp $
a6 1
CFLAGS	+= ${DEBUG_FLAGS}
@


1.6
log
@Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.5 1999/09/27 00:34:01 peter Exp $
d3 1
a3 2
S	= ${.CURDIR}/../..
.PATH:	$S/pci
d6 1
a6 1
CLEANFILES	+= opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
a8 3
opt_bdg.h:
	touch opt_bdg.h

a10 9

device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
	perl $S/kern/makedevops.pl -h $S/kern/device_if.m

bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
	perl $S/kern/makedevops.pl -h $S/kern/bus_if.m

pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
	perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
@


1.5
log
@Don't generate 'bpf.h' since it's not used.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.4 1999/09/20 06:11:46 obrien Exp $
d6 2
a7 2
SRCS	= if_ti.c ti.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
CLEANFILES	+= ti.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
a8 3

ti.h:
	echo "#define NTI 1" > ti.h
@


1.4
log
@Change the name of the installed KLM to contain a leading "if_".
Except for miibus which is now installed as miibus.ko.

Discussed by:	msmith, peter, and wpaul
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/ti/Makefile,v 1.3 1999/08/28 00:47:57 peter Exp $
d6 2
a7 2
SRCS	= if_ti.c ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
CLEANFILES	+= ti.h bpf.h opt_bdg.h vlan.h device_if.h bus_if.h pci_if.h
a11 3

bpf.h:
	echo "#define NBPF 1" > bpf.h
@


1.3
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d5 1
a5 1
KMOD	= ti
@


1.2
log
@Convert the VIA Rhine driver to newbus and set it up to be compiled as
a module. Also modified the code to work on FreeBSD/alpha and added
device vr0 to the alpha GENERIC config.

While I was in the neighborhood, I noticed that I was still using
#define NFPX 1 in all of the Makefiles that I'd copied from the fxp
module. I don't really use #define Nfoo X so it didn't matter, but
I decided to customize this correctly anyway.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1999/07/23 05:47:58 wpaul Exp $
@


1.1
log
@Create module directories for the xl, ti, tl and sk drivers and add
them to the Makefile so that modules will be generated for /modules.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1999/07/06 19:23:01 des Exp $
d11 1
a11 1
	echo "#define NFXP 1" > ti.h
@
