linux-mips
[Top] [All Lists]

Re: Titan ethernet driver broken

To: TheNop <TheNop@gmx.net>, Linux/MIPS Development <linux-mips@linux-mips.org>
Subject: Re: Titan ethernet driver broken
From: Manish Lachwani <mlachwani@mvista.com>
Date: Thu, 18 Nov 2004 15:43:40 -0800
In-reply-to: <419D25A7.2090506@gmx.net>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <419D03DE.8090403@gmx.net> <419D04AA.50508@mvista.com> <419D171E.5040507@gmx.net> <419D173E.6050602@mvista.com> <419D1A2D.5000009@gmx.net> <419D1F76.6010603@gmx.net> <419D20C9.10909@mvista.com> <419D25A7.2090506@gmx.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040308
Well, you dont need to configure kernel based on the chip revision. You can determine the chip revision (on bootup) by reading the processor id (PRID) and the CPU Mask register. Then, check the version number in the driver and do the copy (for IP header alignment) if the version is 1.0 or 1.1

Thanks
Manish Lachwani


TheNop wrote:
Manish Lachwani wrote:

Hello !

Thanks for sending this. I have one question regarding the Yosemite board that you have. What is the version of the Titan chip on the board? Is it 1.0, 1.1 or 1.2?

This is because 1.0 and 1.1 have a problem where the IP header is not aligned on the Rx side. As a result, there was an extra copy involved in the driver, i.e. titan_ge_slowpath. The latest version of the driver only support Titan chip revision 1.2 in which this problem is fixed

Thanks
Manish Lachwani



I use the chip version 1.1.
Now I have the problem, that I can not use the newest code, until 1.2 version of the chip is available. Is it possible to make the code usable for all chip version by choosing the version at the kernel configuration?

Best regards
TheNop




<Prev in Thread] Current Thread [Next in Thread>