]> err.no Git - linux-2.6/commitdiff
8139too fix for Dreamcast
authorAdrian McMenamin <lkmladrian@gmail.com>
Fri, 8 Feb 2008 11:21:58 +0000 (11:21 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 15:29:33 +0000 (10:29 -0500)
Updates the 8139too driver to work with recently added
(a724605cb7a66d423a494a395f9a8ba871b8a1eb) declared coherent memory
patch for the Dreamcast.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/8139too.c

index eef6fecfff2ac731eb7259896ea8853adc384c8c..be6e918456d96e38a333e8f2cd72610a67bdd05d 100644 (file)
@@ -168,7 +168,7 @@ static int debug = -1;
  * Warning: 64K ring has hardware issues and may lock up.
  */
 #if defined(CONFIG_SH_DREAMCAST)
-#define RX_BUF_IDX     1       /* 16K ring */
+#define RX_BUF_IDX 0   /* 8K ring */
 #else
 #define RX_BUF_IDX     2       /* 32K ring */
 #endif