summaryrefslogtreecommitdiffstats
path: root/sys/dev/msk
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2008-03-11 02:39:52 +0000
committeryongari <yongari@FreeBSD.org>2008-03-11 02:39:52 +0000
commit4b8e00a66eb686e4800c376842525c02e157c424 (patch)
tree11e75d2fe631b3db2e9642de6cfd81c0f2ce0b6f /sys/dev/msk
parente644cad509352e07d29f20c1fa019ca12a7f758f (diff)
downloadFreeBSD-src-4b8e00a66eb686e4800c376842525c02e157c424.zip
FreeBSD-src-4b8e00a66eb686e4800c376842525c02e157c424.tar.gz
Move comments block 1 line up to remark on the setting
if_capabilities. This would make comments clear. Suggested by: yar
Diffstat (limited to 'sys/dev/msk')
-rw-r--r--sys/dev/msk/if_msk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/msk/if_msk.c b/sys/dev/msk/if_msk.c
index 6b315dd..9854b93 100644
--- a/sys/dev/msk/if_msk.c
+++ b/sys/dev/msk/if_msk.c
@@ -1486,14 +1486,14 @@ msk_attach(device_t dev)
ether_ifattach(ifp, eaddr);
MSK_IF_LOCK(sc_if);
- /* VLAN capability setup */
- ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING;
/*
+ * VLAN capability setup
* Due to Tx checksum offload hardware bugs, msk(4) manually
* computes checksum for short frames. For VLAN tagged frames
* this workaround does not work so disable checksum offload
* for VLAN interface.
*/
+ ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_VLAN_HWTAGGING;
ifp->if_capenable = ifp->if_capabilities;
/*
OpenPOWER on IntegriCloud