]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/via-rhine.c
sky2: FE+ Phy initialization
[linux-2.6-omap-h63xx.git] / drivers / net / via-rhine.c
index c3fe230695a0132bee7c882d646266b96fe0e41b..b56dff26772de6a1f194b446a481c286439b7d77 100644 (file)
@@ -42,7 +42,13 @@ static int max_interrupt_work = 20;
 
 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
    Setting to > 1518 effectively disables this feature. */
+#if defined(__alpha__) || defined(__arm__) || defined(__hppa__) \
+       || defined(CONFIG_SPARC) || defined(__ia64__) \
+       || defined(__sh__) || defined(__mips__)
+static int rx_copybreak = 1518;
+#else
 static int rx_copybreak;
+#endif
 
 /* Work-around for broken BIOSes: they are unable to get the chip back out of
    power state D3 so PXE booting fails. bootparam(7): via-rhine.avoid_D3=1 */