Re: anyone got the same problem with DIGITAL 21143 network card ?

From: Juan Quintela (quintela@mandrakesoft.com)
Date: Thu Nov 22 2001 - 19:50:26 EST


>>>>> "ishak" == Ishak Hartono <lotus@upnaway.com> writes:

ishak> I tried to compile 2.4.14 and successfully detect the digital 21143 network
ishak> card, however, i can't ping out

ishak> this is just a curiosity, because it works with my 2.2.17 kernel

ishak> the reason why i didn't move to 2.4.x yet because i got this problem with
ishak> 2.4.5 as well and gave it a try again on 2.4.14 kernel

ishak> anyone know what should i check in the system other than blaming on the
ishak> kernel ?

Could you check if this patch makes your card work?

It works for me.

Later, Juan.

--- linux/drivers/net/tulip/21142.c.orig Mon Nov 5 20:50:27 2001
+++ linux/drivers/net/tulip/21142.c Mon Nov 5 21:26:40 2001
@@ -188,8 +188,9 @@
                         int i;
                         for (i = 0; i < tp->mtable->leafcount; i++)
                                 if (tp->mtable->mleaf[i].media == dev->if_port) {
+ int startup = ! ((tp->chip_id == DC21143 && tp->revision == 65));
                                         tp->cur_index = i;
- tulip_select_media(dev, 1);
+ tulip_select_media(dev, startup);
                                         setup_done = 1;
                                         break;
                                 }

-- 
In theory, practice and theory are the same, but in practice they 
are different -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:32 EST