Subject: Re: Problems with 3Com Ethernetcard
To: Giles Lean <giles@nemeton.com.au>
From: Michael Eriksson <Michael.Eriksson@era-t.ericsson.se>
List: netbsd-help
Date: 12/13/2000 09:38:14
Giles Lean wrote:
> > I am running 1.4.3 und I'm trying to use a 3Com 3c905B-TX. The LED on the
> > card isn't on. Before you ask: I tried several cables and they worked
> > fine with other machines. :-) Here are some more informations:
> > ...
> > media: Ethernet autoselect (10baseT)
> > status: no carrier
> > inet 129.13.98.189 netmask 0xffff0000 broadcast 129.13.255.255
>
> This card is problematic. Most now work with the NetBSD driver, but a
> couple of us have (had :-) cards that still do not. It seems based on
> changes that were necessary to get some others' cards working that
> 3com have shipped about three variants of this card. :-(
Here's a hack you could try. I use it to get the on-board 3c905B-TX on
my Dell Precision to work. The patch turns off the media
autoconfiguration, so you'll have to set the media yourself with
ifconfig.
Apply this patch and build a kernel with "options IF_EX_PCI_MII_HACK".
Index: if_ex_pci.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/pci/if_ex_pci.c,v
retrieving revision 1.12.4.1
diff -u -r1.12.4.1 if_ex_pci.c
--- if_ex_pci.c 2000/10/19 13:54:28 1.12.4.1
+++ if_ex_pci.c 2000/12/13 08:32:23
@@ -127,7 +127,11 @@
{ PCI_PRODUCT_3COM_3C900BTPC, EX_CONF_90XB,
"3c900B-TPC Ethernet" },
+#ifdef IF_EX_PCI_MII_HACK
+ { PCI_PRODUCT_3COM_3C905BTX, EX_CONF_90XB,
+#else
{ PCI_PRODUCT_3COM_3C905BTX, EX_CONF_90XB|EX_CONF_MII|EX_CONF_INTPHY,
+#endif
"3c905B-TX 10/100 Ethernet" },
{ PCI_PRODUCT_3COM_3C905BT4, EX_CONF_90XB|EX_CONF_MII,
"3c905B-T4 10/100 Ethernet" },
--
Michael Eriksson <eramore@era-t.ericsson.se>
NO CARRIER