From owner-cvs-all Fri Aug 27 12: 0:14 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 90A2915617; Fri, 27 Aug 1999 12:00:11 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Received: (from wpaul@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA38939; Fri, 27 Aug 1999 11:58:28 -0700 (PDT) (envelope-from wpaul@FreeBSD.org) Message-Id: <199908271858.LAA38939@freefall.freebsd.org> From: Bill Paul Date: Fri, 27 Aug 1999 11:58:28 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_tl.c if_tlreg.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk wpaul 1999/08/27 11:58:28 PDT Modified files: sys/pci if_tl.c if_tlreg.h Log: Convert the ThunderLAN driver to miibus. This took me a while because I had to get the ML 6692 PHY driver working correctly, which is harder than it sounds. "Bitrate" ThunderLAN devices should still be supported (i.e the older 10Mbps Netflex 3/P, which use the TNETE110 chip that has no MII support). The ThunderLAN has an internal PHY which makes things a little complicated, but these are the basic rules: - For devices with just the ThunderLAN, the internal PHY is used to provide 10baseT, and 10base5/10baseT support. Autonegotiation will work, but only with 10baseT links. The only thing that really gets negotiated is whether the link is full or half duplex. - For devices with the ThunderLAN and an external 10/100 PHY (like the Compaq Netelligent 100Mbps cards, or the internal Netflex 3/P with 100Mbps upgrade daughter card), the external PHY is used for 10baseT and 100baseTX modes. The internal PHY is still used to support 10base5/10base2, though you have to select them manual with ifconfig. - For devices with the ThunderLAN and the ML6692 PHY, both the internal and external PHYs are used, though it will appear as though the 6692 PHY will be used to support 10baseT and 100baseTX modes. In reality, the internal PHY will be used for 10baseT, but this fact will be hidden from the user. The 10base5/10base2 modes can also be selected manually as with above. Revision Changes Path 1.38 +112 -624 src/sys/pci/if_tl.c 1.13 +3 -254 src/sys/pci/if_tlreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message