aboutsummaryrefslogtreecommitdiffstats
path: root/net/atm
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2009-08-31 15:50:42 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-01 04:13:10 -0400
commit3c805a22a3a178fc5aaadd518afa5358b78bf69e (patch)
treefe93630007876b4aaddb2fa8d92141df2f74e24c /net/atm
parent6fef4c0c8eeff7de13007a5f56113475444a253d (diff)
convert ATM drivers to netdev_tx_t
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm')
-rw-r--r--net/atm/br2684.c3
-rw-r--r--net/atm/clip.c3
-rw-r--r--net/atm/lec.c6
-rw-r--r--net/atm/mpc.c6
4 files changed, 12 insertions, 6 deletions
diff --git a/net/atm/br2684.c b/net/atm/br2684.c
index 848af113ba2a..d6be0d1f0b9a 100644
--- a/net/atm/br2684.c
+++ b/net/atm/br2684.c
@@ -223,7 +223,8 @@ static inline struct br2684_vcc *pick_outgoing_vcc(const struct sk_buff *skb,
223 return list_empty(&brdev->brvccs) ? NULL : list_entry_brvcc(brdev->brvccs.next); /* 1 vcc/dev right now */ 223 return list_empty(&brdev->brvccs) ? NULL : list_entry_brvcc(brdev->brvccs.next); /* 1 vcc/dev right now */
224} 224}
225 225
226static int br2684_start_xmit(struct sk_buff *skb, struct net_device *dev) 226static netdev_tx_t br2684_start_xmit(struct sk_buff *skb,
227 struct net_device *dev)
227{ 228{
228 struct br2684_dev *brdev = BRPRIV(dev); 229 struct br2684_dev *brdev = BRPRIV(dev);
229 struct br2684_vcc *brvcc; 230 struct br2684_vcc *brvcc;
diff --git a/net/atm/clip.c b/net/atm/clip.c
index 64910bb86089..27f6852ce190 100644
--- a/net/atm/clip.c
+++ b/net/atm/clip.c
@@ -360,7 +360,8 @@ static int clip_encap(struct atm_vcc *vcc, int mode)
360 return 0; 360 return 0;
361} 361}
362 362
363static int clip_start_xmit(struct sk_buff *skb, struct net_device *dev) 363static netdev_tx_t clip_start_xmit(struct sk_buff *skb,
364 struct net_device *dev)
364{ 365{
365 struct clip_priv *clip_priv = PRIV(dev); 366 struct clip_priv *clip_priv = PRIV(dev);
366 struct atmarp_entry *entry; 367 struct atmarp_entry *entry;
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 8e723c2654cb..b2d644560323 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -59,7 +59,8 @@ static unsigned char bridge_ula_lec[] = { 0x01, 0x80, 0xc2, 0x00, 0x00 };
59 */ 59 */
60 60
61static int lec_open(struct net_device *dev); 61static int lec_open(struct net_device *dev);
62static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev); 62static netdev_tx_t lec_start_xmit(struct sk_buff *skb,
63 struct net_device *dev);
63static int lec_close(struct net_device *dev); 64static int lec_close(struct net_device *dev);
64static void lec_init(struct net_device *dev); 65static void lec_init(struct net_device *dev);
65static struct lec_arp_table *lec_arp_find(struct lec_priv *priv, 66static struct lec_arp_table *lec_arp_find(struct lec_priv *priv,
@@ -247,7 +248,8 @@ static void lec_tx_timeout(struct net_device *dev)
247 netif_wake_queue(dev); 248 netif_wake_queue(dev);
248} 249}
249 250
250static int lec_start_xmit(struct sk_buff *skb, struct net_device *dev) 251static netdev_tx_t lec_start_xmit(struct sk_buff *skb,
252 struct net_device *dev)
251{ 253{
252 struct sk_buff *skb2; 254 struct sk_buff *skb2;
253 struct lec_priv *priv = netdev_priv(dev); 255 struct lec_priv *priv = netdev_priv(dev);
diff --git a/net/atm/mpc.c b/net/atm/mpc.c
index 1ac4b94bf626..38a6cb0863f0 100644
--- a/net/atm/mpc.c
+++ b/net/atm/mpc.c
@@ -73,7 +73,8 @@ static void mpoad_close(struct atm_vcc *vcc);
73static int msg_from_mpoad(struct atm_vcc *vcc, struct sk_buff *skb); 73static int msg_from_mpoad(struct atm_vcc *vcc, struct sk_buff *skb);
74 74
75static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb); 75static void mpc_push(struct atm_vcc *vcc, struct sk_buff *skb);
76static int mpc_send_packet(struct sk_buff *skb, struct net_device *dev); 76static netdev_tx_t mpc_send_packet(struct sk_buff *skb,
77 struct net_device *dev);
77static int mpoa_event_listener(struct notifier_block *mpoa_notifier, unsigned long event, void *dev); 78static int mpoa_event_listener(struct notifier_block *mpoa_notifier, unsigned long event, void *dev);
78static void mpc_timer_refresh(void); 79static void mpc_timer_refresh(void);
79static void mpc_cache_check( unsigned long checking_time ); 80static void mpc_cache_check( unsigned long checking_time );
@@ -528,7 +529,8 @@ static int send_via_shortcut(struct sk_buff *skb, struct mpoa_client *mpc)
528/* 529/*
529 * Probably needs some error checks and locking, not sure... 530 * Probably needs some error checks and locking, not sure...
530 */ 531 */
531static int mpc_send_packet(struct sk_buff *skb, struct net_device *dev) 532static netdev_tx_t mpc_send_packet(struct sk_buff *skb,
533 struct net_device *dev)
532{ 534{
533 struct mpoa_client *mpc; 535 struct mpoa_client *mpc;
534 struct ethhdr *eth; 536 struct ethhdr *eth;