diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-08-31 15:50:51 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-01 04:13:40 -0400 |
commit | 424efe9caf6047ffbcd6b383ff4d2347254aabf1 (patch) | |
tree | d0ed516baa5b452ed8bc3a88fbd061f6e415bfb9 /drivers/net/eql.c | |
parent | 6518bbb803fe02b15a3211c8db2afdff0ac4f808 (diff) |
netdev: convert pseudo drivers to netdev_tx_t
These are all drivers that don't touch real hardware.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/eql.c')
-rw-r--r-- | drivers/net/eql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/eql.c b/drivers/net/eql.c index c0e69c5cae84..d4d9a3eda695 100644 --- a/drivers/net/eql.c +++ b/drivers/net/eql.c | |||
@@ -127,7 +127,7 @@ | |||
127 | static int eql_open(struct net_device *dev); | 127 | static int eql_open(struct net_device *dev); |
128 | static int eql_close(struct net_device *dev); | 128 | static int eql_close(struct net_device *dev); |
129 | static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); | 129 | static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd); |
130 | static int eql_slave_xmit(struct sk_buff *skb, struct net_device *dev); | 130 | static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev); |
131 | 131 | ||
132 | #define eql_is_slave(dev) ((dev->flags & IFF_SLAVE) == IFF_SLAVE) | 132 | #define eql_is_slave(dev) ((dev->flags & IFF_SLAVE) == IFF_SLAVE) |
133 | #define eql_is_master(dev) ((dev->flags & IFF_MASTER) == IFF_MASTER) | 133 | #define eql_is_master(dev) ((dev->flags & IFF_MASTER) == IFF_MASTER) |
@@ -325,7 +325,7 @@ static slave_t *__eql_schedule_slaves(slave_queue_t *queue) | |||
325 | return best_slave; | 325 | return best_slave; |
326 | } | 326 | } |
327 | 327 | ||
328 | static int eql_slave_xmit(struct sk_buff *skb, struct net_device *dev) | 328 | static netdev_tx_t eql_slave_xmit(struct sk_buff *skb, struct net_device *dev) |
329 | { | 329 | { |
330 | equalizer_t *eql = netdev_priv(dev); | 330 | equalizer_t *eql = netdev_priv(dev); |
331 | slave_t *slave; | 331 | slave_t *slave; |