diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 2003-09-20 21:18:27 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 2003-09-20 21:18:27 +0000 |
| commit | edd033746c5a0e5a36770d127ee3a360c27c8cde (patch) | |
| tree | 47f7d371abcd96378d3048bb59df0ca5996589f9 /sys/dev/re | |
| parent | 5249fed37f238764717064ee85924db45bfed46d (diff) | |
Notes
Diffstat (limited to 'sys/dev/re')
| -rw-r--r-- | sys/dev/re/if_re.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index a339d84f38044..004c4c6b3fa94 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -2081,14 +2081,12 @@ re_init(xsc) /* * Enable C+ RX and TX mode, as well as VLAN stripping and - * RX checksum offload. Only enable dual-address cycle if - * we're on a 64-bit bus. We must configure the C+ register + * RX checksum offload. We must configure the C+ register * before all others. */ CSR_WRITE_2(sc, RL_CPLUS_CMD, RL_CPLUSCMD_RXENB| RL_CPLUSCMD_TXENB|RL_CPLUSCMD_PCI_MRW| - (CSR_READ_1(sc, RL_CFG2) & RL_BUSWIDTH_64BITS ? - RL_CPLUSCMD_PCI_DAC : 0)|RL_CPLUSCMD_VLANSTRIP| + RL_CPLUSCMD_VLANSTRIP| (ifp->if_capenable & IFCAP_RXCSUM ? RL_CPLUSCMD_RXCSUM_ENB : 0)); |
