|
@@ -192,7 +192,8 @@ static irqreturn_t cops_interrupt (int irq, void *dev_id);
|
|
|
static void cops_poll (unsigned long ltdev);
|
|
|
static void cops_timeout(struct net_device *dev);
|
|
|
static void cops_rx (struct net_device *dev);
|
|
|
-static int cops_send_packet (struct sk_buff *skb, struct net_device *dev);
|
|
|
+static netdev_tx_t cops_send_packet (struct sk_buff *skb,
|
|
|
+ struct net_device *dev);
|
|
|
static void set_multicast_list (struct net_device *dev);
|
|
|
static int cops_ioctl (struct net_device *dev, struct ifreq *rq, int cmd);
|
|
|
static int cops_close (struct net_device *dev);
|
|
@@ -875,7 +876,8 @@ static void cops_timeout(struct net_device *dev)
|
|
|
* Make the card transmit a LocalTalk packet.
|
|
|
*/
|
|
|
|
|
|
-static int cops_send_packet(struct sk_buff *skb, struct net_device *dev)
|
|
|
+static netdev_tx_t cops_send_packet(struct sk_buff *skb,
|
|
|
+ struct net_device *dev)
|
|
|
{
|
|
|
struct cops_local *lp = netdev_priv(dev);
|
|
|
int ioaddr = dev->base_addr;
|