head	1.9;
access;
symbols;
locks; strict;
comment	@# @;


1.9
date	99.12.04.17.41.17;	author wpaul;	state dead;
branches;
next	1.8;

1.8
date	99.11.28.18.53.03;	author bde;	state Exp;
branches;
next	1.7;

1.7
date	99.10.16.05.24.12;	author wpaul;	state Exp;
branches;
next	1.6;

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

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

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

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

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

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


desc
@@


1.9
log
@Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.

This also completes my quest to convert things to miibus and add
Alpha support.
@
text
@# $FreeBSD: src/sys/modules/mx/Makefile,v 1.8 1999/11/28 18:53:03 bde Exp $

.PATH:	${.CURDIR}/../../pci
KMOD	= if_mx
SRCS	= if_mx.c opt_bdg.h device_if.h bus_if.h pci_if.h miibus_if.h
CFLAGS	+= ${DEBUG_FLAGS}

.include <bsd.kmod.mk>
@


1.8
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/mx/Makefile,v 1.7 1999/10/16 05:24:12 wpaul Exp $
@


1.7
log
@Convert the mx driver to miibus.

In order to make this work, I created a pseudo-PHY driver to deal with
Macronix chips that use the built-in NWAY support and symbol mode port.
This is actually all of them, with the exception of the original MX98713
which presents its NWAY support via the MII serial interface.

The mxphy driver actually manipulates the controller registers directly
rather than using the miibus_readreg()/miibus_writereg() bus interface
since there are no MII registers to read. The mx driver itself pretends
that the NWAY interface is a PHY locayed at MII address 31 for the sole
purpose of allowing the mxphy_probe() routine to know when it needs to
attach to a host controller.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/mx/Makefile,v 1.6 1999/09/27 01:04:39 peter Exp $
d3 1
a3 2
S	= ${.CURDIR}/../..
.PATH:	$S/pci
a5 1
CLEANFILES	+= opt_bdg.h device_if.h bus_if.h pci_if.h miibus_if.h
a6 15

opt_bdg.h:
	touch opt_bdg.h

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

miibus_if.h: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m
	perl $S/kern/makedevops.pl -h $S/dev/mii/miibus_if.m
@


1.6
log
@Zap some unused echo "#define NFOO 1" > foo.h style defunct stuff.
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/mx/Makefile,v 1.5 1999/09/27 00:33:59 peter Exp $
d6 2
a7 2
SRCS	= if_mx.c opt_bdg.h device_if.h bus_if.h pci_if.h
CLEANFILES	+= opt_bdg.h device_if.h bus_if.h pci_if.h
d21 3
@


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

mx.h:
	echo "#define NMX 1" > mx.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/mx/Makefile,v 1.3 1999/08/28 00:47:28 peter Exp $
d6 2
a7 2
SRCS	= if_mx.c mx.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
CLEANFILES	+= mx.h bpf.h opt_bdg.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	= mx
@


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/24 20:55:05 wpaul Exp $
@


1.1
log
@Add mx and ax modules for the Macronix and ASIX drivers and update the
modules Makefile so they get built.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.1 1999/07/23 05:48:01 wpaul Exp $
d11 1
a11 1
	echo "#define NFXP 1" > mx.h
@
