7990.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) 7990.h (0290bd291cc0e0488e35e66bf39efcd7d9d9122b)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * 7990.h -- LANCE ethernet IC generic routines.
4 * This is an attempt to separate out the bits of various ethernet
5 * drivers that are common because they all use the AMD 7990 LANCE
6 * (Local Area Network Controller for Ethernet) chip.
7 *
8 * Copyright (C) 05/1998 Peter Maydell <pmaydell@chiark.greenend.org.uk>

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

238/* The LANCE only uses 24 bit addresses. This does the obvious thing. */
239#define LANCE_ADDR(x) ((int)(x) & ~0xff000000)
240
241/* Now the prototypes we export */
242int lance_open(struct net_device *dev);
243int lance_close(struct net_device *dev);
244int lance_start_xmit(struct sk_buff *skb, struct net_device *dev);
245void lance_set_multicast(struct net_device *dev);
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * 7990.h -- LANCE ethernet IC generic routines.
4 * This is an attempt to separate out the bits of various ethernet
5 * drivers that are common because they all use the AMD 7990 LANCE
6 * (Local Area Network Controller for Ethernet) chip.
7 *
8 * Copyright (C) 05/1998 Peter Maydell <pmaydell@chiark.greenend.org.uk>

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

238/* The LANCE only uses 24 bit addresses. This does the obvious thing. */
239#define LANCE_ADDR(x) ((int)(x) & ~0xff000000)
240
241/* Now the prototypes we export */
242int lance_open(struct net_device *dev);
243int lance_close(struct net_device *dev);
244int lance_start_xmit(struct sk_buff *skb, struct net_device *dev);
245void lance_set_multicast(struct net_device *dev);
246void lance_tx_timeout(struct net_device *dev);
246void lance_tx_timeout(struct net_device *dev, unsigned int txqueue);
247#ifdef CONFIG_NET_POLL_CONTROLLER
248void lance_poll(struct net_device *dev);
249#endif
250
251#endif /* ndef _7990_H */
247#ifdef CONFIG_NET_POLL_CONTROLLER
248void lance_poll(struct net_device *dev);
249#endif
250
251#endif /* ndef _7990_H */