Re: 3C940 / Asus P4P800 gigabit LAN driver

From: Wilko Bulte <wkb_at_freebie.xs4all.nl>
Date: Mon, 15 Sep 2003 00:36:28 +0200
On Sat, Sep 13, 2003 at 03:37:51PM +0100, Stuart Walsh wrote:
> On Fri, Sep 12, 2003 at 09:55:54PM -0400, Jung-uk Kim wrote:
> > I have my own *working* driver, which is for 4-STABLE.  It works with 
> > SK-9521 V2.0 (for me, at least) and it should work with 3C940.
> > 
> > Note: This driver is ported from Nathan L. Binkert's OpenBSD driver.
> > Note: This is completely independent from Stuart Walsh's work. ;-)
> > Note: You must recompile MII driver and dependent network drivers.
> > 
> 
> It's worth noting my patch was a port of Natan's patch also(which is actually
> Bill's driver technically speaking ;), so I'd be interested to see where i
> went wrong.  But if it works then great, I'll get on with something else :)
> It's somewhat difficult to fine tune a driver when you dont actually own 
> the hardware in question.

I just tried Jung-uk Kim's driver on -stable and sofar it works OK:

pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
skc0: <3Com 3C940 Gigabit Ethernet> port 0xd400-0xd4ff mem
0xfeaf8000-0xfeafbfff irq 11 at device 5.0 on pci2
skc0: 3Com Gigabit LOM (3C940)
sk0: <Marvell Semiconductor, Inc. Yukon> on skc0
sk0: Ethernet address: 00:0c:6e:4f:77:0c
miibus0: <MII bus> on sk0
e1000phy0: <Marvell Semiconductor 88E1000* gigabit PHY> on miibus0
e1000phy0:  1000baseTX-FDX, 100baseTX-FDX, 100baseTX, 10baseTX-FDX,
10baseTX, auto
isp0: <Qlogic ISP 1020/1040 PCI SCSI Adapter> port 0xd800-0xd8ff mem
0xfeaff000-0xfeafffff irq 10 at device 9.0 on pci2

This is with the LOM found on Asus P4P800 btw.

Curious minds obviously wonder about the difference with Stuart's driver ;)

ENOTIME to check right now. Sleep first.

Wilko
-- 
|   / o / /_  _   		wilko_at_FreeBSD.org
|/|/ / / /(  (_)  Bulte				
Received on Sun Sep 14 2003 - 13:36:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC