Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ixgbe/if_ix.c
Show First 20 Lines • Show All 3,872 Lines • ▼ Show 20 Lines | ixgbe_handle_msf(void *context, int pending) | ||||
if ((!autoneg) && (hw->mac.ops.get_link_capabilities)) | if ((!autoneg) && (hw->mac.ops.get_link_capabilities)) | ||||
hw->mac.ops.get_link_capabilities(hw, &autoneg, &negotiate); | hw->mac.ops.get_link_capabilities(hw, &autoneg, &negotiate); | ||||
if (hw->mac.ops.setup_link) | if (hw->mac.ops.setup_link) | ||||
hw->mac.ops.setup_link(hw, autoneg, TRUE); | hw->mac.ops.setup_link(hw, autoneg, TRUE); | ||||
/* Adjust media types shown in ifconfig */ | /* Adjust media types shown in ifconfig */ | ||||
ifmedia_removeall(&adapter->media); | ifmedia_removeall(&adapter->media); | ||||
ixgbe_add_media_types(adapter); | ixgbe_add_media_types(adapter); | ||||
ifmedia_set(&adapter->media, IFM_ETHER | IFM_AUTO); | |||||
IXGBE_CORE_UNLOCK(adapter); | IXGBE_CORE_UNLOCK(adapter); | ||||
return; | return; | ||||
} | } | ||||
/* | /* | ||||
** Tasklet for handling interrupts from an external PHY | ** Tasklet for handling interrupts from an external PHY | ||||
*/ | */ | ||||
static void | static void | ||||
▲ Show 20 Lines • Show All 2,113 Lines • Show Last 20 Lines |