From owner-cvs-all Fri Oct 15 22:24:17 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id AD20A150F2; Fri, 15 Oct 1999 22:24:14 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id WAA62252; Fri, 15 Oct 1999 22:24:14 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Message-Id: <199910160524.WAA62252@freefall.freebsd.org> From: Bill Paul Date: Fri, 15 Oct 1999 22:24:14 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_mx.c if_mxreg.h src/sys/dev/mii mxphy.c src/sys/modules/mii Makefile src/sys/modules/mx Makefile src/sys/i386/conf GENERIC src/sys/alpha/conf GENERIC src/share/man/man4/man4.i386 mx.4 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk wpaul 1999/10/15 22:24:14 PDT Modified files: sys/pci if_mx.c if_mxreg.h sys/modules/mii Makefile sys/modules/mx Makefile sys/i386/conf GENERIC sys/alpha/conf GENERIC share/man/man4/man4.i386 mx.4 Added files: sys/dev/mii mxphy.c 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. Revision Changes Path 1.30 +180 -746 src/sys/pci/if_mx.c 1.10 +3 -137 src/sys/pci/if_mxreg.h 1.7 +2 -2 src/sys/modules/mii/Makefile 1.7 +6 -3 src/sys/modules/mx/Makefile 1.195 +2 -2 src/sys/i386/conf/GENERIC 1.47 +3 -3 src/sys/alpha/conf/GENERIC 1.7 +2 -1 src/share/man/man4/man4.i386/mx.4 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message