arcdevice.h (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) arcdevice.h (0290bd291cc0e0488e35e66bf39efcd7d9d9122b)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
4 * operating system. NET is implemented using the BSD Socket
5 * interface as the means of communication with the user level.
6 *
7 * Definitions used by the ARCnet driver.
8 *

--- 342 unchanged lines hidden (view full) ---

351void arcnet_unregister_proto(struct ArcProto *proto);
352irqreturn_t arcnet_interrupt(int irq, void *dev_id);
353struct net_device *alloc_arcdev(const char *name);
354
355int arcnet_open(struct net_device *dev);
356int arcnet_close(struct net_device *dev);
357netdev_tx_t arcnet_send_packet(struct sk_buff *skb,
358 struct net_device *dev);
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2/*
3 * INET An implementation of the TCP/IP protocol suite for the LINUX
4 * operating system. NET is implemented using the BSD Socket
5 * interface as the means of communication with the user level.
6 *
7 * Definitions used by the ARCnet driver.
8 *

--- 342 unchanged lines hidden (view full) ---

351void arcnet_unregister_proto(struct ArcProto *proto);
352irqreturn_t arcnet_interrupt(int irq, void *dev_id);
353struct net_device *alloc_arcdev(const char *name);
354
355int arcnet_open(struct net_device *dev);
356int arcnet_close(struct net_device *dev);
357netdev_tx_t arcnet_send_packet(struct sk_buff *skb,
358 struct net_device *dev);
359void arcnet_timeout(struct net_device *dev);
359void arcnet_timeout(struct net_device *dev, unsigned int txqueue);
360
361/* I/O equivalents */
362
363#ifdef CONFIG_SA1100_CT6001
364#define BUS_ALIGN 2 /* 8 bit device on a 16 bit bus - needs padding */
365#else
366#define BUS_ALIGN 1
367#endif

--- 21 unchanged lines hidden ---
360
361/* I/O equivalents */
362
363#ifdef CONFIG_SA1100_CT6001
364#define BUS_ALIGN 2 /* 8 bit device on a 16 bit bus - needs padding */
365#else
366#define BUS_ALIGN 1
367#endif

--- 21 unchanged lines hidden ---