Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231221
b: refs/heads/master
c: 5cd8a77
h: refs/heads/master
i:
  231219: dd59b9f
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Jan 14, 2011
1 parent dd239e1 commit 47b3d08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3d2a7309c95021f143c94a16ea9becc0c9b9d23
refs/heads/master: 5cd8a77df3e9916069787365a32918caa371fc16
16 changes: 1 addition & 15 deletions trunk/drivers/net/arm/ks8695net.c
Original file line number Diff line number Diff line change
Expand Up @@ -993,20 +993,6 @@ ks8695_wan_nwayreset(struct net_device *ndev)
return 0;
}

/**
* ks8695_wan_get_link - Retrieve link status of network interface
* @ndev: The network interface to retrive the link status of.
*/
static u32
ks8695_wan_get_link(struct net_device *ndev)
{
struct ks8695_priv *ksp = netdev_priv(ndev);
u32 ctrl;

ctrl = readl(ksp->phyiface_regs + KS8695_WMC);
return ctrl & WMC_WLS;
}

/**
* ks8695_wan_get_pause - Retrieve network pause/flow-control advertising
* @ndev: The device to retrieve settings from
Expand Down Expand Up @@ -1058,7 +1044,7 @@ static const struct ethtool_ops ks8695_wan_ethtool_ops = {
.get_settings = ks8695_wan_get_settings,
.set_settings = ks8695_wan_set_settings,
.nway_reset = ks8695_wan_nwayreset,
.get_link = ks8695_wan_get_link,
.get_link = ethtool_op_get_link,
.get_pauseparam = ks8695_wan_get_pause,
.get_drvinfo = ks8695_get_drvinfo,
};
Expand Down

0 comments on commit 47b3d08

Please sign in to comment.