aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/txp
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2014-08-30 19:55:54 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2014-08-30 19:55:54 +0000
commit1bffa9511fe94125820858b0ead796db54ac019d (patch)
tree10a1db7d40e40b24cd3293b6609aa460c86abb49 /sys/dev/txp
parent04da7226c469a47bc86886be7751e31542e19095 (diff)
Notes
Diffstat (limited to 'sys/dev/txp')
-rw-r--r--sys/dev/txp/if_txp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/txp/if_txp.c b/sys/dev/txp/if_txp.c
index e0452be03984..d000db43a895 100644
--- a/sys/dev/txp/if_txp.c
+++ b/sys/dev/txp/if_txp.c
@@ -436,7 +436,7 @@ txp_attach(device_t dev)
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_HWCSUM;
ifp->if_capenable = ifp->if_capabilities;
/* Tell the upper layer(s) we support long frames. */
- ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
+ ifp->if_hdrlen = sizeof(struct ether_vlan_header);
WRITE_REG(sc, TXP_IER, TXP_INTR_NONE);
WRITE_REG(sc, TXP_IMR, TXP_INTR_ALL);