ether1.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | ether1.c (0290bd291cc0e0488e35e66bf39efcd7d9d9122b) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/drivers/acorn/net/ether1.c 4 * 5 * Copyright (C) 1996-2000 Russell King 6 * 7 * Acorn ether1 driver (82586 chip) for Acorn machines 8 * --- 52 unchanged lines hidden (view full) --- 61#define RX_AREA_END 0x0fc00 62 63static int ether1_open(struct net_device *dev); 64static netdev_tx_t ether1_sendpacket(struct sk_buff *skb, 65 struct net_device *dev); 66static irqreturn_t ether1_interrupt(int irq, void *dev_id); 67static int ether1_close(struct net_device *dev); 68static void ether1_setmulticastlist(struct net_device *dev); | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/drivers/acorn/net/ether1.c 4 * 5 * Copyright (C) 1996-2000 Russell King 6 * 7 * Acorn ether1 driver (82586 chip) for Acorn machines 8 * --- 52 unchanged lines hidden (view full) --- 61#define RX_AREA_END 0x0fc00 62 63static int ether1_open(struct net_device *dev); 64static netdev_tx_t ether1_sendpacket(struct sk_buff *skb, 65 struct net_device *dev); 66static irqreturn_t ether1_interrupt(int irq, void *dev_id); 67static int ether1_close(struct net_device *dev); 68static void ether1_setmulticastlist(struct net_device *dev); |
69static void ether1_timeout(struct net_device *dev); | 69static void ether1_timeout(struct net_device *dev, unsigned int txqueue); |
70 71/* ------------------------------------------------------------------------- */ 72 73static char version[] = "ether1 ethernet driver (c) 2000 Russell King v1.07\n"; 74 75#define BUS_16 16 76#define BUS_8 8 77 --- 567 unchanged lines hidden (view full) --- 645 } 646 647 netif_start_queue(dev); 648 649 return 0; 650} 651 652static void | 70 71/* ------------------------------------------------------------------------- */ 72 73static char version[] = "ether1 ethernet driver (c) 2000 Russell King v1.07\n"; 74 75#define BUS_16 16 76#define BUS_8 8 77 --- 567 unchanged lines hidden (view full) --- 645 } 646 647 netif_start_queue(dev); 648 649 return 0; 650} 651 652static void |
653ether1_timeout(struct net_device *dev) | 653ether1_timeout(struct net_device *dev, unsigned int txqueue) |
654{ 655 printk(KERN_WARNING "%s: transmit timeout, network cable problem?\n", 656 dev->name); 657 printk(KERN_WARNING "%s: resetting device\n", dev->name); 658 659 ether1_reset (dev); 660 661 if (ether1_init_for_open (dev)) --- 423 unchanged lines hidden --- | 654{ 655 printk(KERN_WARNING "%s: transmit timeout, network cable problem?\n", 656 dev->name); 657 printk(KERN_WARNING "%s: resetting device\n", dev->name); 658 659 ether1_reset (dev); 660 661 if (ether1_init_for_open (dev)) --- 423 unchanged lines hidden --- |