| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * 7990.c -- LANCE ethernet IC generic routines. |
|---|
| 3 | 4 | * This is an attempt to separate out the bits of various ethernet |
|---|
| .. | .. |
|---|
| 27 | 28 | #include <linux/route.h> |
|---|
| 28 | 29 | #include <linux/string.h> |
|---|
| 29 | 30 | #include <linux/skbuff.h> |
|---|
| 31 | +#include <linux/pgtable.h> |
|---|
| 30 | 32 | #include <asm/irq.h> |
|---|
| 31 | 33 | /* Used for the temporal inet entries and routing */ |
|---|
| 32 | 34 | #include <linux/socket.h> |
|---|
| .. | .. |
|---|
| 34 | 36 | |
|---|
| 35 | 37 | #include <asm/io.h> |
|---|
| 36 | 38 | #include <asm/dma.h> |
|---|
| 37 | | -#include <asm/pgtable.h> |
|---|
| 38 | 39 | #ifdef CONFIG_HP300 |
|---|
| 39 | 40 | #include <asm/blinken.h> |
|---|
| 40 | 41 | #endif |
|---|
| .. | .. |
|---|
| 526 | 527 | } |
|---|
| 527 | 528 | EXPORT_SYMBOL_GPL(lance_close); |
|---|
| 528 | 529 | |
|---|
| 529 | | -void lance_tx_timeout(struct net_device *dev) |
|---|
| 530 | +void lance_tx_timeout(struct net_device *dev, unsigned int txqueue) |
|---|
| 530 | 531 | { |
|---|
| 531 | 532 | printk("lance_tx_timeout\n"); |
|---|
| 532 | 533 | lance_reset(dev); |
|---|
| .. | .. |
|---|
| 535 | 536 | } |
|---|
| 536 | 537 | EXPORT_SYMBOL_GPL(lance_tx_timeout); |
|---|
| 537 | 538 | |
|---|
| 538 | | -int lance_start_xmit(struct sk_buff *skb, struct net_device *dev) |
|---|
| 539 | +netdev_tx_t lance_start_xmit(struct sk_buff *skb, struct net_device *dev) |
|---|
| 539 | 540 | { |
|---|
| 540 | 541 | struct lance_private *lp = netdev_priv(dev); |
|---|
| 541 | 542 | volatile struct lance_init_block *ib = lp->init_block; |
|---|