Re: [PATCH] better ali1563 integrated ethernet support

From: Dave Jones (davej@codemonkey.org.uk)
Date: Mon May 12 2003 - 06:30:38 EST


On Sun, May 11, 2003 at 06:24:44PM +0000, Linux Kernel wrote:
> ChangeSet 1.1111, 2003/05/11 14:24:44-04:00, dean@arctic.org
>
> [PATCH] better ali1563 integrated ethernet support
>
> it turns out the tulip driver is a much better driver for the integrated
> ali1563 ethernet than the dmfe driver... the dmfe driver gets tx timeouts
> every ~15s and can't receive over 5MB/s. but with the small tulip patch
> below i'm seeing 11MB/s+ in both directions without problems.
>
> diff -Nru a/drivers/net/tulip/tulip_core.c b/drivers/net/tulip/tulip_core.c
> --- a/drivers/net/tulip/tulip_core.c Sun May 11 12:14:32 2003
> +++ b/drivers/net/tulip/tulip_core.c Sun May 11 12:14:32 2003
> @@ -223,6 +223,7 @@
> { 0x1626, 0x8410, PCI_ANY_ID, PCI_ANY_ID, 0, 0, COMET },
> { 0x1737, 0xAB09, PCI_ANY_ID, PCI_ANY_ID, 0, 0, COMET },
> { 0x17B3, 0xAB08, PCI_ANY_ID, PCI_ANY_ID, 0, 0, COMET },
> + { 0x10b9, 0x5261, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X }, /* ALi 1563 integrated ethernet */
> { } /* terminate list */
> };
> MODULE_DEVICE_TABLE(pci, tulip_pci_tbl);

 ...
  
> #if defined(__sparc__)
> /* DM9102A needs 32-dword alignment/burst length on sparc - chip bug? */
> - if (pdev->vendor == 0x1282 && pdev->device == 0x9102)
> + if ((pdev->vendor == 0x1282 && pdev->device == 0x9102)
> + || (pdev->vendor == 0x10b9 && pdev->device == 0x5261))
> csr0 = (csr0 & ~0xff00) | 0xe000;
> #endif

Integrated ALi 1563 on a sparc ?

                Dave

-
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 : Thu May 15 2003 - 22:00:39 EST