The driver fxp(4) has reception of large frames enabled hardcodedly,

so let VLAN_MTU be marked in if_capenable from the beginning.
This commit is contained in:
Yaroslav Tykhiy 2004-05-21 18:11:38 +00:00
parent 7560265c18
commit 21ce2bf290

View File

@ -820,6 +820,7 @@ fxp_attach(device_t dev)
*/
ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
ifp->if_capabilities |= IFCAP_VLAN_MTU;
ifp->if_capenable |= IFCAP_VLAN_MTU;
/*
* Let the system queue as many packets as we have available