patch-2.4.22 linux-2.4.22/drivers/net/tulip/tulip_core.c
Next file: linux-2.4.22/drivers/net/typhoon.c
Previous file: linux-2.4.22/drivers/net/tlan.h
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
2003-08-25 04:44:42.000000000 -0700
- Orig file:
linux-2.4.21/drivers/net/tulip/tulip_core.c
- Orig date:
2003-06-13 07:51:35.000000000 -0700
diff -urN linux-2.4.21/drivers/net/tulip/tulip_core.c linux-2.4.22/drivers/net/tulip/tulip_core.c
@@ -63,7 +63,7 @@
/* Set the copy breakpoint for the copy-only-tiny-buffer Rx structure. */
#if defined(__alpha__) || defined(__arm__) || defined(__hppa__) \
|| defined(__sparc_) || defined(__ia64__) \
- || defined(__sh__) || defined(__mips__)
+ || defined(__sh__) || defined(__mips__) || defined(__SH5__)
static int rx_copybreak = 1518;
#else
static int rx_copybreak = 100;
@@ -231,6 +231,7 @@
{ 0x1737, 0xAB09, PCI_ANY_ID, PCI_ANY_ID, 0, 0, COMET },
{ 0x17B3, 0xAB08, PCI_ANY_ID, PCI_ANY_ID, 0, 0, COMET },
{ 0x14f1, 0x1803, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CONEXANT },
+ { 0x10b9, 0x5261, PCI_ANY_ID, PCI_ANY_ID, 0, 0, DM910X }, /* ALi 1563 integrated ethernet */
{ } /* terminate list */
};
MODULE_DEVICE_TABLE(pci, tulip_pci_tbl);
@@ -1403,12 +1404,14 @@
csr0 &= ~0xfff10000; /* zero reserved bits 31:20, 16 */
/* DM9102A has troubles with MRM & clear reserved bits 24:22, 20, 16, 7:1 */
- if (pdev->vendor == 0x1282 && pdev->device == 0x9102)
+ if ((pdev->vendor == 0x1282 && pdev->device == 0x9102)
+ || (pdev->vendor == 0x10b9 && pdev->device == 0x5261))
csr0 &= ~0x01f100ff;
#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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)