|
@@ -4495,7 +4495,7 @@ static int e1000_test_msi(struct e1000_adapter *adapter)
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * e1000_open - Called when a network interface is made active
|
|
|
+ * e1000e_open - Called when a network interface is made active
|
|
|
* @netdev: network interface device structure
|
|
|
*
|
|
|
* Returns 0 on success, negative value on failure
|
|
@@ -4506,7 +4506,7 @@ static int e1000_test_msi(struct e1000_adapter *adapter)
|
|
|
* handler is registered with the OS, the watchdog timer is started,
|
|
|
* and the stack is notified that the interface is ready.
|
|
|
**/
|
|
|
-static int e1000_open(struct net_device *netdev)
|
|
|
+int e1000e_open(struct net_device *netdev)
|
|
|
{
|
|
|
struct e1000_adapter *adapter = netdev_priv(netdev);
|
|
|
struct e1000_hw *hw = &adapter->hw;
|
|
@@ -4604,7 +4604,7 @@ err_setup_tx:
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * e1000_close - Disables a network interface
|
|
|
+ * e1000e_close - Disables a network interface
|
|
|
* @netdev: network interface device structure
|
|
|
*
|
|
|
* Returns 0, this is not allowed to fail
|
|
@@ -4614,7 +4614,7 @@ err_setup_tx:
|
|
|
* needs to be disabled. A global MAC reset is issued to stop the
|
|
|
* hardware, and all transmit and receive resources are freed.
|
|
|
**/
|
|
|
-static int e1000_close(struct net_device *netdev)
|
|
|
+int e1000e_close(struct net_device *netdev)
|
|
|
{
|
|
|
struct e1000_adapter *adapter = netdev_priv(netdev);
|
|
|
struct pci_dev *pdev = adapter->pdev;
|
|
@@ -6920,8 +6920,8 @@ static int e1000_set_features(struct net_device *netdev,
|
|
|
}
|
|
|
|
|
|
static const struct net_device_ops e1000e_netdev_ops = {
|
|
|
- .ndo_open = e1000_open,
|
|
|
- .ndo_stop = e1000_close,
|
|
|
+ .ndo_open = e1000e_open,
|
|
|
+ .ndo_stop = e1000e_close,
|
|
|
.ndo_start_xmit = e1000_xmit_frame,
|
|
|
.ndo_get_stats64 = e1000e_get_stats64,
|
|
|
.ndo_set_rx_mode = e1000e_set_rx_mode,
|