Mark the capability of this driver to receive VLAN frames >1500 bytes

as initially active in if_capenable since it is always on.

Reviewed by:	simokawa
This commit is contained in:
Yaroslav Tykhiy 2004-05-21 17:11:34 +00:00
parent 69820c2a56
commit 7560265c18

View File

@ -228,6 +228,7 @@ fwe_attach(device_t dev)
ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
#if defined(__FreeBSD__) && __FreeBSD_version >= 500000
ifp->if_capabilities |= IFCAP_VLAN_MTU;
ifp->if_capenable |= IFCAP_VLAN_MTU;
#endif