aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fxp
diff options
context:
space:
mode:
authorPyun YongHyeon <yongari@FreeBSD.org>2009-11-04 18:34:14 +0000
committerPyun YongHyeon <yongari@FreeBSD.org>2009-11-04 18:34:14 +0000
commit44e354768cfa7a92ec2b16212b468bbd8dab1fb6 (patch)
treefe71da879397fa7b481561a2c10a84ed87875c1e /sys/dev/fxp
parent8ce852957167d779ae46ba7444bc00670f4caf70 (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 084e3b4f5465..6a33d8af5b11 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -632,8 +632,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