Mark the VLAN_MTU capability as initially enabled since it's

hardcoded to "ON" for these interfaces.
This commit is contained in:
Yaroslav Tykhiy 2004-05-23 19:21:48 +00:00
parent 7a9e253666
commit 88b404a610
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129631
2 changed files with 2 additions and 0 deletions

View file

@ -319,6 +319,7 @@ hme_config(struct hme_softc *sc)
*/
ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header);
ifp->if_capabilities |= IFCAP_VLAN_MTU;
ifp->if_capenable |= IFCAP_VLAN_MTU;
callout_init(&sc->sc_tick_ch, 0);
return (0);

View file

@ -413,6 +413,7 @@ epic_attach(dev)
ifp->if_hdrlen = sizeof(struct ether_vlan_header);
ifp->if_capabilities |= IFCAP_VLAN_MTU;
ifp->if_capenable |= IFCAP_VLAN_MTU;
callout_handle_init(&sc->stat_ch);
/* Activate our interrupt handler. */