|
@@ -339,7 +339,8 @@ static unsigned long lance_probe1( struct net_device *dev, struct lance_addr
|
|
|
*init_rec );
|
|
|
static int lance_open( struct net_device *dev );
|
|
|
static void lance_init_ring( struct net_device *dev );
|
|
|
-static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev );
|
|
|
+static netdev_tx_t lance_start_xmit(struct sk_buff *skb,
|
|
|
+ struct net_device *dev);
|
|
|
static irqreturn_t lance_interrupt( int irq, void *dev_id );
|
|
|
static int lance_rx( struct net_device *dev );
|
|
|
static int lance_close( struct net_device *dev );
|
|
@@ -769,7 +770,8 @@ static void lance_tx_timeout (struct net_device *dev)
|
|
|
|
|
|
/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */
|
|
|
|
|
|
-static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev )
|
|
|
+static netdev_tx_t
|
|
|
+lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
|
|
{
|
|
|
struct lance_private *lp = netdev_priv(dev);
|
|
|
struct lance_ioreg *IO = lp->iobase;
|