Lines 672-677
qla_init_ifnet(device_t dev, qla_host_t *ha)
Link Here
|
672 |
if_initname(ifp, device_get_name(dev), device_get_unit(dev)); |
673 |
if_initname(ifp, device_get_name(dev), device_get_unit(dev)); |
673 |
ifp->if_baudrate = IF_Gbps(10); |
674 |
ifp->if_baudrate = IF_Gbps(10); |
|
|
675 |
ifp->if_capabilities = IFCAP_LINKSTATE; |
676 |
ifp->if_mtu = ETHERMTU; |
677 |
|
674 |
ifp->if_init = qla_init; |
678 |
ifp->if_init = qla_init; |
675 |
ifp->if_softc = ha; |
679 |
ifp->if_softc = ha; |
676 |
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; |
680 |
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; |
Lines 691-697
qla_init_ifnet(device_t dev, qla_host_t *ha)
Link Here
|
691 |
IFCAP_JUMBO_MTU; |
695 |
IFCAP_JUMBO_MTU; |
692 |
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_MTU; |
696 |
ifp->if_capabilities |= IFCAP_VLAN_HWTAGGING | IFCAP_VLAN_MTU; |
693 |
ifp->if_capabilities |= IFCAP_LINKSTATE; |
|
|
694 |
#if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) |
697 |
#if defined(__FreeBSD_version) && (__FreeBSD_version < 900002) |
695 |
ifp->if_timer = 0; |
698 |
ifp->if_timer = 0; |