mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
Mark the VLAN_MTU capability as initially enabled since it's
hardcoded to "ON" for these interfaces.
This commit is contained in:
parent
7a9e253666
commit
88b404a610
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129631
|
@ -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);
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue