|
|
@@ -77,7 +77,8 @@ static void ether3_setmulticastlist(struct net_device *dev);
|
|
|
static int ether3_rx(struct net_device *dev, unsigned int maxcnt);
|
|
|
static void ether3_tx(struct net_device *dev);
|
|
|
static int ether3_open (struct net_device *dev);
|
|
|
-static int ether3_sendpacket (struct sk_buff *skb, struct net_device *dev);
|
|
|
+static netdev_tx_t ether3_sendpacket(struct sk_buff *skb,
|
|
|
+ struct net_device *dev);
|
|
|
static irqreturn_t ether3_interrupt (int irq, void *dev_id);
|
|
|
static int ether3_close (struct net_device *dev);
|
|
|
static void ether3_setmulticastlist (struct net_device *dev);
|
|
|
@@ -481,7 +482,7 @@ static void ether3_timeout(struct net_device *dev)
|
|
|
/*
|
|
|
* Transmit a packet
|
|
|
*/
|
|
|
-static int
|
|
|
+static netdev_tx_t
|
|
|
ether3_sendpacket(struct sk_buff *skb, struct net_device *dev)
|
|
|
{
|
|
|
unsigned long flags;
|