aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/pcmcia/3c574_cs.c6
-rw-r--r--drivers/net/pcmcia/3c589_cs.c6
-rw-r--r--drivers/net/pcmcia/axnet_cs.c6
-rw-r--r--drivers/net/pcmcia/fmvj18x_cs.c6
-rw-r--r--drivers/net/pcmcia/nmclan_cs.c6
-rw-r--r--drivers/net/pcmcia/smc91c92_cs.c6
-rw-r--r--drivers/net/pcmcia/xirc2ps_cs.c5
7 files changed, 27 insertions, 14 deletions
diff --git a/drivers/net/pcmcia/3c574_cs.c b/drivers/net/pcmcia/3c574_cs.c
index a23aa8724042..382d26520acc 100644
--- a/drivers/net/pcmcia/3c574_cs.c
+++ b/drivers/net/pcmcia/3c574_cs.c
@@ -239,7 +239,8 @@ static void tc574_wait_for_completion(struct net_device *dev, int cmd);
239static void tc574_reset(struct net_device *dev); 239static void tc574_reset(struct net_device *dev);
240static void media_check(unsigned long arg); 240static void media_check(unsigned long arg);
241static int el3_open(struct net_device *dev); 241static int el3_open(struct net_device *dev);
242static int el3_start_xmit(struct sk_buff *skb, struct net_device *dev); 242static netdev_tx_t el3_start_xmit(struct sk_buff *skb,
243 struct net_device *dev);
243static irqreturn_t el3_interrupt(int irq, void *dev_id); 244static irqreturn_t el3_interrupt(int irq, void *dev_id);
244static void update_stats(struct net_device *dev); 245static void update_stats(struct net_device *dev);
245static struct net_device_stats *el3_get_stats(struct net_device *dev); 246static struct net_device_stats *el3_get_stats(struct net_device *dev);
@@ -778,7 +779,8 @@ static void pop_tx_status(struct net_device *dev)
778 } 779 }
779} 780}
780 781
781static int el3_start_xmit(struct sk_buff *skb, struct net_device *dev) 782static netdev_tx_t el3_start_xmit(struct sk_buff *skb,
783 struct net_device *dev)
782{ 784{
783 unsigned int ioaddr = dev->base_addr; 785 unsigned int ioaddr = dev->base_addr;
784 struct el3_private *lp = netdev_priv(dev); 786 struct el3_private *lp = netdev_priv(dev);
diff --git a/drivers/net/pcmcia/3c589_cs.c b/drivers/net/pcmcia/3c589_cs.c
index d2156ab3da2b..569fb06793cf 100644
--- a/drivers/net/pcmcia/3c589_cs.c
+++ b/drivers/net/pcmcia/3c589_cs.c
@@ -149,7 +149,8 @@ static void tc589_reset(struct net_device *dev);
149static void media_check(unsigned long arg); 149static void media_check(unsigned long arg);
150static int el3_config(struct net_device *dev, struct ifmap *map); 150static int el3_config(struct net_device *dev, struct ifmap *map);
151static int el3_open(struct net_device *dev); 151static int el3_open(struct net_device *dev);
152static int el3_start_xmit(struct sk_buff *skb, struct net_device *dev); 152static netdev_tx_t el3_start_xmit(struct sk_buff *skb,
153 struct net_device *dev);
153static irqreturn_t el3_interrupt(int irq, void *dev_id); 154static irqreturn_t el3_interrupt(int irq, void *dev_id);
154static void update_stats(struct net_device *dev); 155static void update_stats(struct net_device *dev);
155static struct net_device_stats *el3_get_stats(struct net_device *dev); 156static struct net_device_stats *el3_get_stats(struct net_device *dev);
@@ -604,7 +605,8 @@ static void pop_tx_status(struct net_device *dev)
604 } 605 }
605} 606}
606 607
607static int el3_start_xmit(struct sk_buff *skb, struct net_device *dev) 608static netdev_tx_t el3_start_xmit(struct sk_buff *skb,
609 struct net_device *dev)
608{ 610{
609 unsigned int ioaddr = dev->base_addr; 611 unsigned int ioaddr = dev->base_addr;
610 struct el3_private *priv = netdev_priv(dev); 612 struct el3_private *priv = netdev_priv(dev);
diff --git a/drivers/net/pcmcia/axnet_cs.c b/drivers/net/pcmcia/axnet_cs.c
index 1e87d634d7bc..3b681c1d7523 100644
--- a/drivers/net/pcmcia/axnet_cs.c
+++ b/drivers/net/pcmcia/axnet_cs.c
@@ -92,7 +92,8 @@ static void axnet_release(struct pcmcia_device *link);
92static int axnet_open(struct net_device *dev); 92static int axnet_open(struct net_device *dev);
93static int axnet_close(struct net_device *dev); 93static int axnet_close(struct net_device *dev);
94static int axnet_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 94static int axnet_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
95static int axnet_start_xmit(struct sk_buff *skb, struct net_device *dev); 95static netdev_tx_t axnet_start_xmit(struct sk_buff *skb,
96 struct net_device *dev);
96static struct net_device_stats *get_stats(struct net_device *dev); 97static struct net_device_stats *get_stats(struct net_device *dev);
97static void set_multicast_list(struct net_device *dev); 98static void set_multicast_list(struct net_device *dev);
98static void axnet_tx_timeout(struct net_device *dev); 99static void axnet_tx_timeout(struct net_device *dev);
@@ -1063,7 +1064,8 @@ static void axnet_tx_timeout(struct net_device *dev)
1063 * Sends a packet to an 8390 network device. 1064 * Sends a packet to an 8390 network device.
1064 */ 1065 */
1065 1066
1066static int axnet_start_xmit(struct sk_buff *skb, struct net_device *dev) 1067static netdev_tx_t axnet_start_xmit(struct sk_buff *skb,
1068 struct net_device *dev)
1067{ 1069{
1068 long e8390_base = dev->base_addr; 1070 long e8390_base = dev->base_addr;
1069 struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev); 1071 struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);
diff --git a/drivers/net/pcmcia/fmvj18x_cs.c b/drivers/net/pcmcia/fmvj18x_cs.c
index 434d9407bfb3..7e01fbdb87e0 100644
--- a/drivers/net/pcmcia/fmvj18x_cs.c
+++ b/drivers/net/pcmcia/fmvj18x_cs.c
@@ -96,7 +96,8 @@ static void fmvj18x_detach(struct pcmcia_device *p_dev);
96static int fjn_config(struct net_device *dev, struct ifmap *map); 96static int fjn_config(struct net_device *dev, struct ifmap *map);
97static int fjn_open(struct net_device *dev); 97static int fjn_open(struct net_device *dev);
98static int fjn_close(struct net_device *dev); 98static int fjn_close(struct net_device *dev);
99static int fjn_start_xmit(struct sk_buff *skb, struct net_device *dev); 99static netdev_tx_t fjn_start_xmit(struct sk_buff *skb,
100 struct net_device *dev);
100static irqreturn_t fjn_interrupt(int irq, void *dev_id); 101static irqreturn_t fjn_interrupt(int irq, void *dev_id);
101static void fjn_rx(struct net_device *dev); 102static void fjn_rx(struct net_device *dev);
102static void fjn_reset(struct net_device *dev); 103static void fjn_reset(struct net_device *dev);
@@ -856,7 +857,8 @@ static void fjn_tx_timeout(struct net_device *dev)
856 netif_wake_queue(dev); 857 netif_wake_queue(dev);
857} 858}
858 859
859static int fjn_start_xmit(struct sk_buff *skb, struct net_device *dev) 860static netdev_tx_t fjn_start_xmit(struct sk_buff *skb,
861 struct net_device *dev)
860{ 862{
861 struct local_info_t *lp = netdev_priv(dev); 863 struct local_info_t *lp = netdev_priv(dev);
862 unsigned int ioaddr = dev->base_addr; 864 unsigned int ioaddr = dev->base_addr;
diff --git a/drivers/net/pcmcia/nmclan_cs.c b/drivers/net/pcmcia/nmclan_cs.c
index dd6059076705..5ed6339c52bc 100644
--- a/drivers/net/pcmcia/nmclan_cs.c
+++ b/drivers/net/pcmcia/nmclan_cs.c
@@ -424,7 +424,8 @@ static void nmclan_reset(struct net_device *dev);
424static int mace_config(struct net_device *dev, struct ifmap *map); 424static int mace_config(struct net_device *dev, struct ifmap *map);
425static int mace_open(struct net_device *dev); 425static int mace_open(struct net_device *dev);
426static int mace_close(struct net_device *dev); 426static int mace_close(struct net_device *dev);
427static int mace_start_xmit(struct sk_buff *skb, struct net_device *dev); 427static netdev_tx_t mace_start_xmit(struct sk_buff *skb,
428 struct net_device *dev);
428static void mace_tx_timeout(struct net_device *dev); 429static void mace_tx_timeout(struct net_device *dev);
429static irqreturn_t mace_interrupt(int irq, void *dev_id); 430static irqreturn_t mace_interrupt(int irq, void *dev_id);
430static struct net_device_stats *mace_get_stats(struct net_device *dev); 431static struct net_device_stats *mace_get_stats(struct net_device *dev);
@@ -937,7 +938,8 @@ static void mace_tx_timeout(struct net_device *dev)
937 netif_wake_queue(dev); 938 netif_wake_queue(dev);
938} 939}
939 940
940static int mace_start_xmit(struct sk_buff *skb, struct net_device *dev) 941static netdev_tx_t mace_start_xmit(struct sk_buff *skb,
942 struct net_device *dev)
941{ 943{
942 mace_private *lp = netdev_priv(dev); 944 mace_private *lp = netdev_priv(dev);
943 unsigned int ioaddr = dev->base_addr; 945 unsigned int ioaddr = dev->base_addr;
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c
index 2f39244c17f2..7bde2cd34c7e 100644
--- a/drivers/net/pcmcia/smc91c92_cs.c
+++ b/drivers/net/pcmcia/smc91c92_cs.c
@@ -288,7 +288,8 @@ static int smc_open(struct net_device *dev);
288static int smc_close(struct net_device *dev); 288static int smc_close(struct net_device *dev);
289static int smc_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 289static int smc_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
290static void smc_tx_timeout(struct net_device *dev); 290static void smc_tx_timeout(struct net_device *dev);
291static int smc_start_xmit(struct sk_buff *skb, struct net_device *dev); 291static netdev_tx_t smc_start_xmit(struct sk_buff *skb,
292 struct net_device *dev);
292static irqreturn_t smc_interrupt(int irq, void *dev_id); 293static irqreturn_t smc_interrupt(int irq, void *dev_id);
293static void smc_rx(struct net_device *dev); 294static void smc_rx(struct net_device *dev);
294static void set_rx_mode(struct net_device *dev); 295static void set_rx_mode(struct net_device *dev);
@@ -1370,7 +1371,8 @@ static void smc_tx_timeout(struct net_device *dev)
1370 netif_wake_queue(dev); 1371 netif_wake_queue(dev);
1371} 1372}
1372 1373
1373static int smc_start_xmit(struct sk_buff *skb, struct net_device *dev) 1374static netdev_tx_t smc_start_xmit(struct sk_buff *skb,
1375 struct net_device *dev)
1374{ 1376{
1375 struct smc_private *smc = netdev_priv(dev); 1377 struct smc_private *smc = netdev_priv(dev);
1376 unsigned int ioaddr = dev->base_addr; 1378 unsigned int ioaddr = dev->base_addr;
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/pcmcia/xirc2ps_cs.c
index eda7bf6047cd..68de89167b49 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/pcmcia/xirc2ps_cs.c
@@ -352,7 +352,8 @@ typedef struct local_info_t {
352/**************** 352/****************
353 * Some more prototypes 353 * Some more prototypes
354 */ 354 */
355static int do_start_xmit(struct sk_buff *skb, struct net_device *dev); 355static netdev_tx_t do_start_xmit(struct sk_buff *skb,
356 struct net_device *dev);
356static void xirc_tx_timeout(struct net_device *dev); 357static void xirc_tx_timeout(struct net_device *dev);
357static void xirc2ps_tx_timeout_task(struct work_struct *work); 358static void xirc2ps_tx_timeout_task(struct work_struct *work);
358static void set_addresses(struct net_device *dev); 359static void set_addresses(struct net_device *dev);
@@ -1361,7 +1362,7 @@ xirc_tx_timeout(struct net_device *dev)
1361 schedule_work(&lp->tx_timeout_task); 1362 schedule_work(&lp->tx_timeout_task);
1362} 1363}
1363 1364
1364static int 1365static netdev_tx_t
1365do_start_xmit(struct sk_buff *skb, struct net_device *dev) 1366do_start_xmit(struct sk_buff *skb, struct net_device *dev)
1366{ 1367{
1367 local_info_t *lp = netdev_priv(dev); 1368 local_info_t *lp = netdev_priv(dev);