From owner-freebsd-stable Thu Dec 23 6:45:22 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dorifer.heim3.tu-clausthal.de (dorifer.heim3.tu-clausthal.de [139.174.243.252]) by hub.freebsd.org (Postfix) with ESMTP id D0AE514D89 for ; Thu, 23 Dec 1999 06:45:19 -0800 (PST) (envelope-from olli@dorifer.heim3.tu-clausthal.de) Received: (from olli@localhost) by dorifer.heim3.tu-clausthal.de (8.8.8/8.8.8) id PAA23056 for freebsd-stable@FreeBSD.ORG; Thu, 23 Dec 1999 15:45:18 +0100 (CET) (envelope-from olli) Date: Thu, 23 Dec 1999 15:45:18 +0100 (CET) From: Oliver Fromme Message-Id: <199912231445.PAA23056@dorifer.heim3.tu-clausthal.de> To: freebsd-stable@FreeBSD.ORG Subject: Problem with ThunderLAN NIC driver Organization: Administration TU Clausthal Reply-To: freebsd-stable@FreeBSD.ORG MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: TIN [version 1.2 RZTUC(3) PL2] Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I have a problem with a ThunderLAN network interface card under FreeBSD: It seems like only 10 Mbps is supported, although the card can do 100 Mbps as well. The machine is currently running 3.4-stable, but I also tried a 4.0-current snapshot some time ago. pciconf -l says: tl0@pci0:10:0: class=0x020000 card=0x00000000 chip=0x0012108d rev=0x01 hdr=0x00 This is dmesg from a verbose boot: tl0: irq 10 at device 10.0 on pci0 tl0: Ethernet address: 00:00:24:24:ff:dc tl0: looking for phy at addr 0 tl0: status: 0 [... this repeats for addr 0 through 1e ...] tl0: looking for phy at addr 1e tl0: status: 0 tl0: looking for phy at addr 1f tl0: status: 1809 tl0: phy at mii address 31 tl0: 10Mbps full duplex autonegotiating tl0: autoneg not complete, link status good (half-duplex, 10Mbps) bpf: tl0 attached "Link status good" is certainly a lie. It cannot be good, because the card is connected to a 100 Mbps hub which cannot do 10 Mbps at all. ifconfig says: tl0: flags=8802 mtu 1500 ether 00:00:24:24:ff:dc media: autoselect (10baseT/UTP ) supported media: 10baseT/UTP autoselect 10base5/AUI 10baseT/UTP 10baseT/UTP Needless to say, I can't get it to work at 100 Mbps. It does work fine at 10 Mbps when I connect it to a different hub. Reading the tl driver docs and source, it seems like the ThunderLan chip has an internal PHY that supports 10 Mbps, and uses an external PHY for 100 Mbps. And indeed, there's another chip on the card beside the ThunderLan chip, which I guess is the 100 Mbps PHY. FreeBSD's tl driver doesn't seem to recognize it for some reason. Any ideas how to proceed? Maybe I'm doing something wrong? Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message