diff options
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_rl.c | 3 | ||||
-rw-r--r-- | sys/pci/if_rlreg.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 935ada9..3989577 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -1105,8 +1105,9 @@ rl_attach(dev) ifp->if_watchdog = rl_watchdog; ifp->if_init = rl_init; ifp->if_baudrate = 10000000; + ifp->if_capabilities = IFCAP_VLAN_MTU; ifp->if_snd.ifq_maxlen = IFQ_MAXLEN; - + callout_handle_init(&sc->rl_stat_ch); /* diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index e5103f8..32edf6f 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -381,7 +381,7 @@ #define RL_GMEDIASTAT_LINK 0x02 /* link up */ #define RL_GMEDIASTAT_10MBPS 0x04 /* 10mps link */ #define RL_GMEDIASTAT_100MBPS 0x08 /* 100mbps link */ -#define RL_GMEDIASTAT_1000MPS 0x10 /* gigE link */ +#define RL_GMEDIASTAT_1000MBPS 0x10 /* gigE link */ #define RL_GMEDIASTAT_RXFLOW 0x20 /* RX flow control on */ #define RL_GMEDIASTAT_TXFLOW 0x40 /* TX flow control on */ #define RL_GMEDIASTAT_TBI 0x80 /* TBI enabled */ |