aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sb1250-mac.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2012-03-04 19:47:13 -0500
commitc71c03bda1e86c9d5198c5d83f712e695c4f2a1e (patch)
treeecb166cb3e2b7e2adb3b5e292245fefd23381ac8 /drivers/net/sb1250-mac.c
parentea53c912f8a86a8567697115b6a0d8152beee5c8 (diff)
parent6a00f206debf8a5c8899055726ad127dbeeed098 (diff)
Merge branch 'mpi-master' into wip-k-fmlpwip-k-fmlp
Conflicts: litmus/sched_cedf.c
Diffstat (limited to 'drivers/net/sb1250-mac.c')
-rw-r--r--drivers/net/sb1250-mac.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/sb1250-mac.c b/drivers/net/sb1250-mac.c
index 8e6bd45b9f31..68d50429ddf3 100644
--- a/drivers/net/sb1250-mac.c
+++ b/drivers/net/sb1250-mac.c
@@ -43,6 +43,7 @@
43#include <linux/mii.h> 43#include <linux/mii.h>
44#include <linux/phy.h> 44#include <linux/phy.h>
45#include <linux/platform_device.h> 45#include <linux/platform_device.h>
46#include <linux/prefetch.h>
46 47
47#include <asm/cache.h> 48#include <asm/cache.h>
48#include <asm/io.h> 49#include <asm/io.h>
@@ -95,7 +96,7 @@ MODULE_PARM_DESC(int_timeout_rx, "RX timeout value");
95#include <asm/sibyte/sb1250_regs.h> 96#include <asm/sibyte/sb1250_regs.h>
96#include <asm/sibyte/sb1250_int.h> 97#include <asm/sibyte/sb1250_int.h>
97#else 98#else
98#error invalid SiByte MAC configuation 99#error invalid SiByte MAC configuration
99#endif 100#endif
100#include <asm/sibyte/sb1250_scd.h> 101#include <asm/sibyte/sb1250_scd.h>
101#include <asm/sibyte/sb1250_mac.h> 102#include <asm/sibyte/sb1250_mac.h>
@@ -106,7 +107,7 @@ MODULE_PARM_DESC(int_timeout_rx, "RX timeout value");
106#elif defined(CONFIG_SIBYTE_SB1250) || defined(CONFIG_SIBYTE_BCM112X) 107#elif defined(CONFIG_SIBYTE_SB1250) || defined(CONFIG_SIBYTE_BCM112X)
107#define UNIT_INT(n) (K_INT_MAC_0 + (n)) 108#define UNIT_INT(n) (K_INT_MAC_0 + (n))
108#else 109#else
109#error invalid SiByte MAC configuation 110#error invalid SiByte MAC configuration
110#endif 111#endif
111 112
112#ifdef K_INT_PHY 113#ifdef K_INT_PHY
@@ -1170,7 +1171,7 @@ again:
1170 sb->ip_summed = CHECKSUM_UNNECESSARY; 1171 sb->ip_summed = CHECKSUM_UNNECESSARY;
1171 /* don't need to set sb->csum */ 1172 /* don't need to set sb->csum */
1172 } else { 1173 } else {
1173 sb->ip_summed = CHECKSUM_NONE; 1174 skb_checksum_none_assert(sb);
1174 } 1175 }
1175 } 1176 }
1176 prefetch(sb->data); 1177 prefetch(sb->data);
@@ -1568,7 +1569,7 @@ static void sbmac_channel_start(struct sbmac_softc *s)
1568 M_MAC_RX_ENABLE | 1569 M_MAC_RX_ENABLE |
1569 M_MAC_TX_ENABLE, s->sbm_macenable); 1570 M_MAC_TX_ENABLE, s->sbm_macenable);
1570#else 1571#else
1571#error invalid SiByte MAC configuation 1572#error invalid SiByte MAC configuration
1572#endif 1573#endif
1573 1574
1574#ifdef CONFIG_SBMAC_COALESCE 1575#ifdef CONFIG_SBMAC_COALESCE