Re: [PATCH 2.4.19-pre6] via-rhine.c to support new VIA's nic chip

Urban Widmark (urban@teststation.com)
Sat, 13 Apr 2002 13:49:55 +0200 (CEST)


On Fri, 12 Apr 2002, Shing Chuang wrote:

> This patch applied to linux kernel 2.4.19-per6 to support VIA's new
> NIC chip.
> However, VIA don't have any nic chip with pci device id 0x6100 so far,
> so this patch also remove the device ID 0x6100.

You are removing the entry for 0x3043, not 0x6100 ... Did you mean to also
change "0x1106, 0x6100" to "0x1106, 0x3043" ?

Older revision D-Link DFE530-TX NICs use a chip that identifies itself as
0x3043. This patch will break those.

0x3043 is listed in the VT86C100A03.pdf doc from ftp.via.com.tw. An older
vt86c100a.pdf from 1997 lists the id as 0x6100. Are you sure there are no
cards using 0x6100?

As you perhaps are aware VIA maintain their own linuxfet.c driver, which
is a modified version of the Donald Becker via-rhine.c driver in the
kernel.

http://www.viaarena.com/?PageID=71#lan
6105v10cVIA.zip seems to be the most recent.

If you look at that driver they use 0x30431106. And also that ReqTxAlign
is only on for the VT86C100A.

The driver itself has become quite ugly from all #ifdef'ing that goes on.
It even has two tables for detecting PCI cards, and the tables are not in
sync ... But whoever wrote it knows more than what you can find in the
public datasheets.

/Urban

-
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/