~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/net/enc28j60.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
1488
1488
        cmd->supported  = SUPPORTED_10baseT_Half
1489
1489
                        | SUPPORTED_10baseT_Full
1490
1490
                        | SUPPORTED_TP;
1491
 
        cmd->speed      = SPEED_10;
 
1491
        ethtool_cmd_speed_set(cmd,  SPEED_10);
1492
1492
        cmd->duplex     = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF;
1493
1493
        cmd->port       = PORT_TP;
1494
1494
        cmd->autoneg    = AUTONEG_DISABLE;
1499
1499
static int
1500
1500
enc28j60_set_settings(struct net_device *dev, struct ethtool_cmd *cmd)
1501
1501
{
1502
 
        return enc28j60_setlink(dev, cmd->autoneg, cmd->speed, cmd->duplex);
 
1502
        return enc28j60_setlink(dev, cmd->autoneg,
 
1503
                                ethtool_cmd_speed(cmd), cmd->duplex);
1503
1504
}
1504
1505
 
1505
1506
static u32 enc28j60_get_msglevel(struct net_device *dev)