Commit 297713de authored by Atsushi Nemoto's avatar Atsushi Nemoto Committed by David S. Miller

tc35815: Disable StripCRC

It seems Rx_StripCRC cause trouble on recovering from the BLEx (Buffer
List Exhaust) or FDAEx (Free Descriptor Area Exhaust) condition.
Do not use it.

Also bump version number up.
Reported-by: default avatarRalf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: default avatarAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bfe34ebb
...@@ -23,9 +23,9 @@ ...@@ -23,9 +23,9 @@
*/ */
#ifdef TC35815_NAPI #ifdef TC35815_NAPI
#define DRV_VERSION "1.37-NAPI" #define DRV_VERSION "1.38-NAPI"
#else #else
#define DRV_VERSION "1.37" #define DRV_VERSION "1.38"
#endif #endif
static const char *version = "tc35815.c:v" DRV_VERSION "\n"; static const char *version = "tc35815.c:v" DRV_VERSION "\n";
#define MODNAME "tc35815" #define MODNAME "tc35815"
...@@ -341,8 +341,9 @@ struct BDesc { ...@@ -341,8 +341,9 @@ struct BDesc {
Tx_EnExColl | Tx_EnLCarr | Tx_EnExDefer | Tx_EnUnder | \ Tx_EnExColl | Tx_EnLCarr | Tx_EnExDefer | Tx_EnUnder | \
Tx_En) /* maybe 0x7b01 */ Tx_En) /* maybe 0x7b01 */
#endif #endif
/* Do not use Rx_StripCRC -- it causes trouble on BLEx/FDAEx condition */
#define RX_CTL_CMD (Rx_EnGood | Rx_EnRxPar | Rx_EnLongErr | Rx_EnOver \ #define RX_CTL_CMD (Rx_EnGood | Rx_EnRxPar | Rx_EnLongErr | Rx_EnOver \
| Rx_EnCRCErr | Rx_EnAlign | Rx_StripCRC | Rx_RxEn) /* maybe 0x6f11 */ | Rx_EnCRCErr | Rx_EnAlign | Rx_RxEn) /* maybe 0x6f01 */
#define INT_EN_CMD (Int_NRAbtEn | \ #define INT_EN_CMD (Int_NRAbtEn | \
Int_DmParErrEn | Int_DParDEn | Int_DParErrEn | \ Int_DmParErrEn | Int_DParDEn | Int_DParErrEn | \
Int_SSysErrEn | Int_RMasAbtEn | Int_RTargAbtEn | \ Int_SSysErrEn | Int_RMasAbtEn | Int_RTargAbtEn | \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment