head	1.9;
access;
symbols
	RELENG_7_4_0_RELEASE:1.8.12.1
	RELENG_7_4:1.8.0.12
	RELENG_7_4_BP:1.8
	RELENG_7_3_0_RELEASE:1.8.10.1
	RELENG_7_3:1.8.0.10
	RELENG_7_3_BP:1.8
	RELENG_7_2_0_RELEASE:1.8.8.1
	RELENG_7_2:1.8.0.8
	RELENG_7_2_BP:1.8
	RELENG_7_1_0_RELEASE:1.8.6.1
	RELENG_6_4_0_RELEASE:1.7.20.1
	RELENG_7_1:1.8.0.6
	RELENG_7_1_BP:1.8
	RELENG_6_4:1.7.0.20
	RELENG_6_4_BP:1.7
	RELENG_7_0_0_RELEASE:1.8
	RELENG_6_3_0_RELEASE:1.7
	RELENG_7_0:1.8.0.4
	RELENG_7_0_BP:1.8
	RELENG_6_3:1.7.0.18
	RELENG_6_3_BP:1.7
	RELENG_7:1.8.0.2
	RELENG_7_BP:1.8
	RELENG_6_2_0_RELEASE:1.7
	RELENG_6_2:1.7.0.16
	RELENG_6_2_BP:1.7
	RELENG_5_5_0_RELEASE:1.7
	RELENG_5_5:1.7.0.14
	RELENG_5_5_BP:1.7
	RELENG_6_1_0_RELEASE:1.7
	RELENG_6_1:1.7.0.12
	RELENG_6_1_BP:1.7
	RELENG_6_0_0_RELEASE:1.7
	RELENG_6_0:1.7.0.10
	RELENG_6_0_BP:1.7
	RELENG_6:1.7.0.8
	RELENG_6_BP:1.7
	RELENG_5_4_0_RELEASE:1.7
	RELENG_5_4:1.7.0.6
	RELENG_5_4_BP:1.7
	RELENG_4_11_0_RELEASE:1.2.2.1
	RELENG_4_11:1.2.2.1.0.4
	RELENG_4_11_BP:1.2.2.1
	RELENG_5_3_0_RELEASE:1.7
	RELENG_5_3:1.7.0.4
	RELENG_5_3_BP:1.7
	RELENG_5:1.7.0.2
	RELENG_5_BP:1.7
	RELENG_4_10_0_RELEASE:1.2.2.1
	RELENG_4_10:1.2.2.1.0.2
	RELENG_4_10_BP:1.2.2.1
	RELENG_5_2_1_RELEASE:1.6
	RELENG_5_2_0_RELEASE:1.6
	RELENG_5_2:1.6.0.6
	RELENG_5_2_BP:1.6
	RELENG_4_9_0_RELEASE:1.2
	RELENG_4_9:1.2.0.16
	RELENG_4_9_BP:1.2
	RELENG_5_1_0_RELEASE:1.6
	RELENG_5_1:1.6.0.4
	RELENG_5_1_BP:1.6
	RELENG_4_8_0_RELEASE:1.2
	RELENG_4_8:1.2.0.14
	RELENG_4_8_BP:1.2
	RELENG_5_0_0_RELEASE:1.6
	RELENG_5_0:1.6.0.2
	RELENG_5_0_BP:1.6
	RELENG_4_7_0_RELEASE:1.2
	RELENG_4_7:1.2.0.12
	RELENG_4_7_BP:1.2
	RELENG_4_6_2_RELEASE:1.2
	RELENG_4_6_1_RELEASE:1.2
	RELENG_4_6_0_RELEASE:1.2
	RELENG_4_6:1.2.0.10
	RELENG_4_6_BP:1.2
	RELENG_4_5_0_RELEASE:1.2
	RELENG_4_5:1.2.0.8
	RELENG_4_5_BP:1.2
	RELENG_4_4_0_RELEASE:1.2
	RELENG_4_4:1.2.0.6
	RELENG_4_4_BP:1.2
	KSE_MILESTONE_2:1.6
	KSE_PRE_MILESTONE_2:1.6
	RELENG_4_3_0_RELEASE:1.2
	RELENG_4_3:1.2.0.4
	RELENG_4_3_BP:1.2
	RELENG_4_2_0_RELEASE:1.2
	RELENG_4_1_1_RELEASE:1.2
	PRE_SMPNG:1.5
	RELENG_4_1_0_RELEASE:1.2
	RELENG_4_0_0_RELEASE:1.2
	RELENG_4:1.2.0.2
	RELENG_4_BP:1.2;
locks; strict;
comment	@# @;


1.9
date	2009.02.23.18.16.17;	author thompsa;	state dead;
branches;
next	1.8;

1.8
date	2005.09.27.18.10.32;	author mlaier;	state Exp;
branches
	1.8.2.1
	1.8.6.1
	1.8.8.1
	1.8.10.1
	1.8.12.1;
next	1.7;

1.7
date	2004.06.27.12.33.16;	author imp;	state Exp;
branches
	1.7.8.1
	1.7.20.1;
next	1.6;

1.6
date	2001.01.06.13.59.40;	author obrien;	state Exp;
branches;
next	1.5;

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

1.4
date	2000.05.04.12.07.11;	author peter;	state Exp;
branches;
next	1.3;

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

1.2
date	2000.01.28.11.26.27;	author bde;	state Exp;
branches
	1.2.2.1;
next	1.1;

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

1.8.2.1
date	2012.11.17.08.06.44;	author svnexp;	state Exp;
branches;
next	;

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

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

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

1.8.12.1
date	2010.12.21.17.10.29;	author kensmith;	state Exp;
branches;
next	1.8.12.2;

1.8.12.2
date	2012.11.17.08.17.26;	author svnexp;	state Exp;
branches;
next	;

1.7.8.1
date	2012.11.17.07.44.15;	author svnexp;	state Exp;
branches;
next	;

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

1.2.2.1
date	2004.03.01.00.07.24;	author julian;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2012.11.17.07.26.30;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.9
log
@SVN rev 188939 on 2009-02-23 18:16:17Z by thompsa

Move usb to a graveyard location under sys/legacy/dev, it is intended that the
new USB2 stack will fully replace this for 8.0.

Remove kernel modules, a subsequent commit will update conf/files. Unhook
usbdevs from the build.
@
text
@# $FreeBSD: src/sys/modules/aue/Makefile,v 1.8 2005/09/27 18:10:32 mlaier Exp $

S=	${.CURDIR}/../..
.PATH: $S/dev/usb

KMOD=	if_aue
SRCS=	if_aue.c opt_usb.h device_if.h bus_if.h
SRCS+=	miibus_if.h usbdevs.h

.include <bsd.kmod.mk>
@


1.8
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
@d1 1
a1 1
# $FreeBSD$
@


1.8.2.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/7/sys/modules/aue/Makefile 150636 2005-09-27 18:10:43Z mlaier $
@


1.8.12.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.8.12.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: releng/7.4/sys/modules/aue/Makefile 150636 2005-09-27 18:10:43Z mlaier $
@


1.8.10.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.8.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.8.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.7
log
@Add usbdevs.h and pccarddevs.h to the build list, as appropriate.  This is needed to build as part of world or in src/sys/modules.
@
text
@d7 1
a7 1
SRCS=	if_aue.c opt_bdg.h opt_usb.h device_if.h bus_if.h
@


1.7.8.1
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/6/sys/modules/aue/Makefile 131186 2004-06-27 12:33:20Z imp $
@


1.7.20.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.6
log
@Use a consistent style and one much closer to the rest of /usr/src
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/aue/Makefile,v 1.5 2000/05/27 01:13:37 peter Exp $
d8 1
a8 1
SRCS+=	miibus_if.h
@


1.5
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/aue/Makefile,v 1.4 2000/05/04 12:07:11 peter Exp $
d3 6
a8 5
S	= ${.CURDIR}/../..
.PATH:	$S/dev/usb
KMOD	= if_aue
SRCS	= if_aue.c opt_bdg.h opt_usb.h device_if.h bus_if.h
SRCS	+= miibus_if.h
@


1.4
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/aue/Makefile,v 1.3 2000/05/01 18:58:20 peter Exp $
d9 1
a9 1
.include "${.CURDIR}/../../conf/kmod.mk"
@


1.3
log
@Zap KMODDEPS line
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/aue/Makefile,v 1.2 2000/01/28 11:26:27 bde Exp $
d9 1
a9 1
.include <bsd.kmod.mk>
@


1.2
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/aue/Makefile,v 1.1 1999/12/28 02:01:01 wpaul Exp $
a7 1
KMODDEPS = miibus
@


1.2.2.1
log
@After Far too long, MFC something resembling the -current version of the
USB code. This will allow teh addition of USB-2 support to 4.10 and
simplify debugging as they had diverged too much.

Submitted by:	joe@@freebsd.org
Obtained from:	NeBSD via -current
@
text
@d1 1
a1 1
# $FreeBSD$
d3 6
a8 7
S=	${.CURDIR}/../..
.PATH: $S/dev/usb

KMOD=	if_aue
SRCS=	if_aue.c opt_bdg.h opt_usb.h device_if.h bus_if.h
SRCS+=	miibus_if.h
KMODDEPS= miibus
@


1.2.2.2
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/sys/modules/aue/Makefile 126420 2004-03-01 00:07:26Z julian $
@


1.1
log
@This commit adds device driver support for the ADMtek AN986 Pegasus
USB ethernet chip. Adapters that use this chip include the LinkSys
USB100TX. There are a few others, but I'm not certain of their
availability in the U.S. I used an ADMtek eval board for development.
Note that while the ADMtek chip is a 100Mbps device, you can't really
get 100Mbps speeds over USB. Regardless, this driver uses miibus to
allow speed and duplex mode selection as well as autonegotiation.
Building and kldloading the driver as a module is also supported.

Note that in order to make this driver work, I had to make what some
may consider an ugly hack to sys/dev/usb/usbdi.c. The usbd_transfer()
function will use tsleep() for synchronous transfers that don't complete
right away. This is a problem since there are times when we need to
do sync transfers from an interrupt context (i.e. when reading registers
from the MAC via the control endpoint), where tsleep() us a no-no.
My hack allows the driver to have the code poll for transfer completion
subject to the xfer->timeout timeout rather that calling tsleep().
This hack is controlled by a quirk entry and is only enabled for the
ADMtek device.

Now, I'm sure there are a few of you out there ready to jump on me
and suggest some other approach that doesn't involve a busy wait. The
only solution that might work is to handle the interrupts in a kernel
thread, where you may have something resembling a process context that
makes it okay to tsleep(). This is lovely, except we don't have any
mechanism like that now, and I'm not about to implement such a thing
myself since it's beyond the scope of driver development. (Translation:
I'll be damned if I know how to do it.) If FreeBSD ever aquires such
a mechanism, I'll be glad to revisit the driver to take advantage of
it. In the meantime, I settled for what I perceived to be the solution
that involved the least amount of code changes. In general, the hit
is pretty light.

Also note that my only USB test box has a UHCI controller: I haven't
I don't have a machine with an OHCI controller available.

Highlights:

- Updated usb_quirks.* to add UQ_NO_TSLEEP quirk for ADMtek part.
- Updated usbdevs and regenerated generated files
- Updated HARDWARE.TXT and RELNOTES.TXT files
- Updated sysinstall/device.c and userconfig.c
- Updated kernel configs -- device aue0 is commented out by default
- Updated /sys/conf/files
- Added new kld module directory
@
text
@d1 1
a1 1
# $FreeBSD$
a7 1
CFLAGS	+= ${DEBUG_FLAGS}
@

