aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/micrel/ks8695net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ethernet/micrel/ks8695net.c')
-rw-r--r--drivers/net/ethernet/micrel/ks8695net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/micrel/ks8695net.c b/drivers/net/ethernet/micrel/ks8695net.c
index 16435b3cfa9f..6c7c78baedca 100644
--- a/drivers/net/ethernet/micrel/ks8695net.c
+++ b/drivers/net/ethernet/micrel/ks8695net.c
@@ -1504,15 +1504,15 @@ ks8695_probe(struct platform_device *pdev)
1504 if (ksp->phyiface_regs && ksp->link_irq == -1) { 1504 if (ksp->phyiface_regs && ksp->link_irq == -1) {
1505 ks8695_init_switch(ksp); 1505 ks8695_init_switch(ksp);
1506 ksp->dtype = KS8695_DTYPE_LAN; 1506 ksp->dtype = KS8695_DTYPE_LAN;
1507 SET_ETHTOOL_OPS(ndev, &ks8695_ethtool_ops); 1507 ndev->ethtool_ops = &ks8695_ethtool_ops;
1508 } else if (ksp->phyiface_regs && ksp->link_irq != -1) { 1508 } else if (ksp->phyiface_regs && ksp->link_irq != -1) {
1509 ks8695_init_wan_phy(ksp); 1509 ks8695_init_wan_phy(ksp);
1510 ksp->dtype = KS8695_DTYPE_WAN; 1510 ksp->dtype = KS8695_DTYPE_WAN;
1511 SET_ETHTOOL_OPS(ndev, &ks8695_wan_ethtool_ops); 1511 ndev->ethtool_ops = &ks8695_wan_ethtool_ops;
1512 } else { 1512 } else {
1513 /* No initialisation since HPNA does not have a PHY */ 1513 /* No initialisation since HPNA does not have a PHY */
1514 ksp->dtype = KS8695_DTYPE_HPNA; 1514 ksp->dtype = KS8695_DTYPE_HPNA;
1515 SET_ETHTOOL_OPS(ndev, &ks8695_ethtool_ops); 1515 ndev->ethtool_ops = &ks8695_ethtool_ops;
1516 } 1516 }
1517 1517
1518 /* And bring up the net_device with the net core */ 1518 /* And bring up the net_device with the net core */