X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Faxgbe%2Faxgbe_mdio.c;h=32d8c666f964cb174027db2dea32706b7685d9cd;hb=9086ac093ab6bb25df7aa4008738dfd148c00ddf;hp=4f98e695ae74c817ce70ede0e2ad0ee46b62500c;hpb=4693ae4a74872bac8a270f4e30dffa950fc7540e;p=dpdk.git diff --git a/drivers/net/axgbe/axgbe_mdio.c b/drivers/net/axgbe/axgbe_mdio.c index 4f98e695ae..32d8c666f9 100644 --- a/drivers/net/axgbe/axgbe_mdio.c +++ b/drivers/net/axgbe/axgbe_mdio.c @@ -597,7 +597,7 @@ again: pdata->an_int = 0; axgbe_an73_clear_interrupts(pdata); pdata->eth_dev->data->dev_link.link_status = - ETH_LINK_DOWN; + RTE_ETH_LINK_DOWN; } else if (pdata->an_state == AXGBE_AN_ERROR) { PMD_DRV_LOG(ERR, "error during auto-negotiation, state=%u\n", cur_state); @@ -933,7 +933,7 @@ static int __axgbe_phy_config_aneg(struct axgbe_port *pdata) } /* Disable auto-negotiation interrupt */ - rte_intr_disable(&pdata->pci_dev->intr_handle); + rte_intr_disable(pdata->pci_dev->intr_handle); /* Start auto-negotiation in a supported mode */ if (axgbe_use_mode(pdata, AXGBE_MODE_KR)) { @@ -951,7 +951,7 @@ static int __axgbe_phy_config_aneg(struct axgbe_port *pdata) } else if (axgbe_use_mode(pdata, AXGBE_MODE_SGMII_100)) { axgbe_set_mode(pdata, AXGBE_MODE_SGMII_100); } else { - rte_intr_enable(&pdata->pci_dev->intr_handle); + rte_intr_enable(pdata->pci_dev->intr_handle); return -EINVAL; } @@ -964,7 +964,7 @@ static int __axgbe_phy_config_aneg(struct axgbe_port *pdata) pdata->kx_state = AXGBE_RX_BPA; /* Re-enable auto-negotiation interrupt */ - rte_intr_enable(&pdata->pci_dev->intr_handle); + rte_intr_enable(pdata->pci_dev->intr_handle); axgbe_an37_enable_interrupts(pdata); axgbe_an_init(pdata);