aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/smsc-ircc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/smsc-ircc2.c')
-rw-r--r--drivers/net/irda/smsc-ircc2.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c
index 15f8a7f81600..1e8dd8c74a64 100644
--- a/drivers/net/irda/smsc-ircc2.c
+++ b/drivers/net/irda/smsc-ircc2.c
@@ -194,8 +194,10 @@ static int __exit smsc_ircc_close(struct smsc_ircc_cb *self);
194static int smsc_ircc_dma_receive(struct smsc_ircc_cb *self); 194static int smsc_ircc_dma_receive(struct smsc_ircc_cb *self);
195static void smsc_ircc_dma_receive_complete(struct smsc_ircc_cb *self); 195static void smsc_ircc_dma_receive_complete(struct smsc_ircc_cb *self);
196static void smsc_ircc_sir_receive(struct smsc_ircc_cb *self); 196static void smsc_ircc_sir_receive(struct smsc_ircc_cb *self);
197static int smsc_ircc_hard_xmit_sir(struct sk_buff *skb, struct net_device *dev); 197static netdev_tx_t smsc_ircc_hard_xmit_sir(struct sk_buff *skb,
198static int smsc_ircc_hard_xmit_fir(struct sk_buff *skb, struct net_device *dev); 198 struct net_device *dev);
199static netdev_tx_t smsc_ircc_hard_xmit_fir(struct sk_buff *skb,
200 struct net_device *dev);
199static void smsc_ircc_dma_xmit(struct smsc_ircc_cb *self, int bofs); 201static void smsc_ircc_dma_xmit(struct smsc_ircc_cb *self, int bofs);
200static void smsc_ircc_dma_xmit_complete(struct smsc_ircc_cb *self); 202static void smsc_ircc_dma_xmit_complete(struct smsc_ircc_cb *self);
201static void smsc_ircc_change_speed(struct smsc_ircc_cb *self, u32 speed); 203static void smsc_ircc_change_speed(struct smsc_ircc_cb *self, u32 speed);
@@ -486,7 +488,8 @@ static int __init smsc_ircc_init(void)
486 return ret; 488 return ret;
487} 489}
488 490
489static int smsc_ircc_net_xmit(struct sk_buff *skb, struct net_device *dev) 491static netdev_tx_t smsc_ircc_net_xmit(struct sk_buff *skb,
492 struct net_device *dev)
490{ 493{
491 struct smsc_ircc_cb *self = netdev_priv(dev); 494 struct smsc_ircc_cb *self = netdev_priv(dev);
492 495
@@ -878,7 +881,8 @@ static void smsc_ircc_timeout(struct net_device *dev)
878 * waits until the next transmit interrupt, and continues until the 881 * waits until the next transmit interrupt, and continues until the
879 * frame is transmitted. 882 * frame is transmitted.
880 */ 883 */
881static int smsc_ircc_hard_xmit_sir(struct sk_buff *skb, struct net_device *dev) 884static netdev_tx_t smsc_ircc_hard_xmit_sir(struct sk_buff *skb,
885 struct net_device *dev)
882{ 886{
883 struct smsc_ircc_cb *self; 887 struct smsc_ircc_cb *self;
884 unsigned long flags; 888 unsigned long flags;
@@ -1183,7 +1187,8 @@ static void smsc_ircc_set_sir_speed(struct smsc_ircc_cb *self, __u32 speed)
1183 * Transmit the frame! 1187 * Transmit the frame!
1184 * 1188 *
1185 */ 1189 */
1186static int smsc_ircc_hard_xmit_fir(struct sk_buff *skb, struct net_device *dev) 1190static netdev_tx_t smsc_ircc_hard_xmit_fir(struct sk_buff *skb,
1191 struct net_device *dev)
1187{ 1192{
1188 struct smsc_ircc_cb *self; 1193 struct smsc_ircc_cb *self;
1189 unsigned long flags; 1194 unsigned long flags;