aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar_ethtool.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-13 13:24:59 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-13 13:24:59 -0400
commit6aa20a2235535605db6d6d2bd850298b2fe7f31e (patch)
treedf0b855043407b831d57f2f2c271f8aab48444f4 /drivers/net/gianfar_ethtool.c
parent7a291083225af6e22ffaa46b3d91cfc1a1ccaab4 (diff)
drivers/net: Trim trailing whitespace
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/gianfar_ethtool.c')
-rw-r--r--drivers/net/gianfar_ethtool.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/gianfar_ethtool.c b/drivers/net/gianfar_ethtool.c
index e0f505285e50..de8da82cb7ee 100644
--- a/drivers/net/gianfar_ethtool.c
+++ b/drivers/net/gianfar_ethtool.c
@@ -10,8 +10,8 @@
10 * 10 *
11 * Copyright (c) 2003,2004 Freescale Semiconductor, Inc. 11 * Copyright (c) 2003,2004 Freescale Semiconductor, Inc.
12 * 12 *
13 * This software may be used and distributed according to 13 * This software may be used and distributed according to
14 * the terms of the GNU Public License, Version 2, incorporated herein 14 * the terms of the GNU Public License, Version 2, incorporated herein
15 * by reference. 15 * by reference.
16 */ 16 */
17 17
@@ -202,7 +202,7 @@ static int gfar_gsettings(struct net_device *dev, struct ethtool_cmd *cmd)
202 202
203 if (NULL == phydev) 203 if (NULL == phydev)
204 return -ENODEV; 204 return -ENODEV;
205 205
206 cmd->maxtxpkt = priv->txcount; 206 cmd->maxtxpkt = priv->txcount;
207 cmd->maxrxpkt = priv->rxcount; 207 cmd->maxrxpkt = priv->rxcount;
208 208
@@ -281,7 +281,7 @@ static unsigned int gfar_ticks2usecs(struct gfar_private *priv, unsigned int tic
281static int gfar_gcoalesce(struct net_device *dev, struct ethtool_coalesce *cvals) 281static int gfar_gcoalesce(struct net_device *dev, struct ethtool_coalesce *cvals)
282{ 282{
283 struct gfar_private *priv = netdev_priv(dev); 283 struct gfar_private *priv = netdev_priv(dev);
284 284
285 if (!(priv->einfo->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) 285 if (!(priv->einfo->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE))
286 return -EOPNOTSUPP; 286 return -EOPNOTSUPP;
287 287
@@ -555,13 +555,13 @@ static uint32_t gfar_get_tx_csum(struct net_device *dev)
555} 555}
556 556
557static uint32_t gfar_get_msglevel(struct net_device *dev) 557static uint32_t gfar_get_msglevel(struct net_device *dev)
558{ 558{
559 struct gfar_private *priv = netdev_priv(dev); 559 struct gfar_private *priv = netdev_priv(dev);
560 return priv->msg_enable; 560 return priv->msg_enable;
561} 561}
562 562
563static void gfar_set_msglevel(struct net_device *dev, uint32_t data) 563static void gfar_set_msglevel(struct net_device *dev, uint32_t data)
564{ 564{
565 struct gfar_private *priv = netdev_priv(dev); 565 struct gfar_private *priv = netdev_priv(dev);
566 priv->msg_enable = data; 566 priv->msg_enable = data;
567} 567}