File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
drivers/net/ethernet/apple Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ static irqreturn_t bmac_txdma_intr(int irq, void *dev_id);
154
154
static irqreturn_t bmac_rxdma_intr (int irq , void * dev_id );
155
155
static void bmac_set_timeout (struct net_device * dev );
156
156
static void bmac_tx_timeout (struct timer_list * t );
157
- static int bmac_output (struct sk_buff * skb , struct net_device * dev );
157
+ static netdev_tx_t bmac_output (struct sk_buff * skb , struct net_device * dev );
158
158
static void bmac_start (struct net_device * dev );
159
159
160
160
#define DBDMA_SET (x ) ( ((x) | (x) << 16) )
@@ -1456,7 +1456,7 @@ bmac_start(struct net_device *dev)
1456
1456
spin_unlock_irqrestore (& bp -> lock , flags );
1457
1457
}
1458
1458
1459
- static int
1459
+ static netdev_tx_t
1460
1460
bmac_output (struct sk_buff * skb , struct net_device * dev )
1461
1461
{
1462
1462
struct bmac_data * bp = netdev_priv (dev );
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ struct mace_data {
78
78
79
79
static int mace_open (struct net_device * dev );
80
80
static int mace_close (struct net_device * dev );
81
- static int mace_xmit_start (struct sk_buff * skb , struct net_device * dev );
81
+ static netdev_tx_t mace_xmit_start (struct sk_buff * skb , struct net_device * dev );
82
82
static void mace_set_multicast (struct net_device * dev );
83
83
static void mace_reset (struct net_device * dev );
84
84
static int mace_set_address (struct net_device * dev , void * addr );
@@ -525,7 +525,7 @@ static inline void mace_set_timeout(struct net_device *dev)
525
525
mp -> timeout_active = 1 ;
526
526
}
527
527
528
- static int mace_xmit_start (struct sk_buff * skb , struct net_device * dev )
528
+ static netdev_tx_t mace_xmit_start (struct sk_buff * skb , struct net_device * dev )
529
529
{
530
530
struct mace_data * mp = netdev_priv (dev );
531
531
volatile struct dbdma_regs __iomem * td = mp -> tx_dma ;
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ struct mace_frame {
89
89
90
90
static int mace_open (struct net_device * dev );
91
91
static int mace_close (struct net_device * dev );
92
- static int mace_xmit_start (struct sk_buff * skb , struct net_device * dev );
92
+ static netdev_tx_t mace_xmit_start (struct sk_buff * skb , struct net_device * dev );
93
93
static void mace_set_multicast (struct net_device * dev );
94
94
static int mace_set_address (struct net_device * dev , void * addr );
95
95
static void mace_reset (struct net_device * dev );
@@ -444,7 +444,7 @@ static int mace_close(struct net_device *dev)
444
444
* Transmit a frame
445
445
*/
446
446
447
- static int mace_xmit_start (struct sk_buff * skb , struct net_device * dev )
447
+ static netdev_tx_t mace_xmit_start (struct sk_buff * skb , struct net_device * dev )
448
448
{
449
449
struct mace_data * mp = netdev_priv (dev );
450
450
unsigned long flags ;
You can’t perform that action at this time.
0 commit comments