From owner-freebsd-current@FreeBSD.ORG Sun Sep 7 22:10:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2E4916A4C0 for ; Sun, 7 Sep 2003 22:10:24 -0700 (PDT) Received: from vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA23E43F75 for ; Sun, 7 Sep 2003 22:10:21 -0700 (PDT) (envelope-from joshe@jade.elsasser.org) Received: from localhost (loopback [127.0.0.1]) by vineyard.net (Postfix) with ESMTP id E955191D0E for ; Mon, 8 Sep 2003 01:10:20 -0400 (EDT) Received: from vineyard.net ([127.0.0.1]) by localhost (king1.vineyard.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72412-04 for ; Mon, 8 Sep 2003 01:10:20 -0400 (EDT) Received: from jade.elsasser.org (loopback [127.0.0.1]) by vineyard.net (Postfix) with ESMTP id 6508091CA4 for ; Mon, 8 Sep 2003 01:10:20 -0400 (EDT) Received: by jade.elsasser.org (Postfix, from userid 1000) id 5134F1D3; Mon, 8 Sep 2003 01:10:19 -0400 (EDT) Date: Mon, 8 Sep 2003 01:10:19 -0400 From: Josh Elsasser To: Stuart Walsh Message-ID: <20030908051019.GA1672@jade.elsasser.org> References: <20030823154530.GA86441@deepfreeze.stu.ipng.org.uk> <20030824112239.GA231@freebie.xs4all.nl> <20030825034224.GA713@gforce.johnson.home> <20030825101425.GA52184@deepfreeze.stu.ipng.org.uk> <20030825162023.GC40907@node1.cluster.srrc.usda.gov> <20030826041123.GB718@gforce.johnson.home> <20030905185024.GB2023@icecold.stu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030905185024.GB2023@icecold.stu> User-Agent: Mutt/1.4.1i X-PGP-Key-URL: http://www.elsasser.org/pubkey.asc X-PGP-Key-Fingerprint: 8F39 9F2B 3738 54D9 3E40 4604 CFD5 EA3F B833 FD50 X-Virus-Scanned: by AMaViS at Vineyard.NET cc: freebsd-current@freebsd.org Subject: Re: 3C940 / Asus P4P800 gigabit LAN driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Sep 2003 05:10:24 -0000 On Fri, Sep 05, 2003 at 07:50:24PM +0100, Stuart Walsh wrote: > On Mon Aug 25, 11:11P -0500, Glenn Johnson wrote: > > Hi again chaps, > > I've been working on other things lately, including getting ready to > move house and looking after my 3 month old daughter :) but recently I've > took up trying to get this driver working again. If anyone is interested in > helping out, could they give http://stu.bash.sh/if_sk.c and > http://stu.bash.sh/if_skreg.h a try and let me know what output you get. > I'm only really interested in what happens after the MAC gets printed so > don't go to too much trouble to get the exact info. > > Just plonk the files in /usr/src/sys/pci over the top of the old ones. > Thanks to anyone who helps out. Sorry for the delay. I just upgraded this machine to -current and things have just now settled down. I compiled the if_sk module (it seemed to want yukonreg.h, which I found on your site), loaded it, and got this: skc0: <3Com 3C940 Gigabit Ethernet> port 0xb800-0xb8ff mem 0xdc800000-0xdc803fff irq 5 at device 9.0 on pci0 skc0: 3Com Gigabit LOM (3C940) sk0: on skc0 sk0: Ethernet address: xx:xx:xx:xx:xx:xx Yukon chip deteched Phy type 4 addr 0 sk_intr sk_intr sk_intr sk_intr sk_intr sk_intr sk_intr At this point the machine seemed to be writing to swap and kldload was hung, so I rebooted. Note that this the onboard 3C940 on the Asus A77V600 motherboard. I will be more than happy to help test any more code you have to get this driver working. -jre