sonic.h (c13aca79ff3c4af5fd31a5b2743a90eba6e36a26) sonic.h (0290bd291cc0e0488e35e66bf39efcd7d9d9122b)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Header file for sonic.c
4 *
5 * (C) Waldorf Electronics, Germany
6 * Written by Andreas Busse
7 *
8 * NOTE: most of the structure definitions here are endian dependent.

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

331static int sonic_open(struct net_device *dev);
332static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev);
333static irqreturn_t sonic_interrupt(int irq, void *dev_id);
334static void sonic_rx(struct net_device *dev);
335static int sonic_close(struct net_device *dev);
336static struct net_device_stats *sonic_get_stats(struct net_device *dev);
337static void sonic_multicast_list(struct net_device *dev);
338static int sonic_init(struct net_device *dev);
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Header file for sonic.c
4 *
5 * (C) Waldorf Electronics, Germany
6 * Written by Andreas Busse
7 *
8 * NOTE: most of the structure definitions here are endian dependent.

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

331static int sonic_open(struct net_device *dev);
332static int sonic_send_packet(struct sk_buff *skb, struct net_device *dev);
333static irqreturn_t sonic_interrupt(int irq, void *dev_id);
334static void sonic_rx(struct net_device *dev);
335static int sonic_close(struct net_device *dev);
336static struct net_device_stats *sonic_get_stats(struct net_device *dev);
337static void sonic_multicast_list(struct net_device *dev);
338static int sonic_init(struct net_device *dev);
339static void sonic_tx_timeout(struct net_device *dev);
339static void sonic_tx_timeout(struct net_device *dev, unsigned int txqueue);
340static void sonic_msg_init(struct net_device *dev);
341
342/* Internal inlines for reading/writing DMA buffers. Note that bus
343 size and endianness matter here, whereas they don't for registers,
344 as far as we can tell. */
345/* OpenBSD calls this "SWO". I'd like to think that sonic_buf_put()
346 is a much better name. */
347static inline void sonic_buf_put(void* base, int bitmode,

--- 106 unchanged lines hidden ---
340static void sonic_msg_init(struct net_device *dev);
341
342/* Internal inlines for reading/writing DMA buffers. Note that bus
343 size and endianness matter here, whereas they don't for registers,
344 as far as we can tell. */
345/* OpenBSD calls this "SWO". I'd like to think that sonic_buf_put()
346 is a much better name. */
347static inline void sonic_buf_put(void* base, int bitmode,

--- 106 unchanged lines hidden ---