aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2009-11-04 18:31:43 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2009-11-04 18:31:43 +0000
commit0b333599d5771704593c6300313b09c17cb17a1a (patch)
treedb2770943ced498e31d4d9219af1964750a2e27b /sys/dev/fxp
parent6fd3786837cbda28ee0c01e589ae48dc44d79f9c (diff)
Notes
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r--sys/dev/fxp/if_fxp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index 4fb890f02b0b..a8d961eb0fb8 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -631,8 +631,11 @@ fxp_attach(device_t dev)
}
/* For 82559 or later chips, Rx checksum offload is supported. */
- if (sc->revision >= FXP_REV_82559_A0)
- sc->flags |= FXP_FLAG_82559_RXCSUM;
+ if (sc->revision >= FXP_REV_82559_A0) {
+ /* 82559ER does not support Rx checksum offloading. */
+ if (sc->ident->devid != 0x1209)
+ sc->flags |= FXP_FLAG_82559_RXCSUM;
+ }
/*
* Enable use of extended RFDs and TCBs for 82550
* and later chips. Note: we need extended TXCB support