// SPDX-License-Identifier: GPL-2.0-only /* mvme147.c : the Linux/mvme147/lance ethernet driver * * Copyright (C) 05/1998 Peter Maydell <pmaydell@chiark.greenend.org.uk> * Based on the Sun Lance driver and the NetBSD HP Lance driver * Uses the generic 7990.c LANCE code.
*/
/* We have 32K of RAM for the init block and buffers. This places * an upper limit on the number of buffers we can use. NetBSD uses 8 Rx * buffers and 2 Tx buffers, it takes (8 + 2) * 1544 bytes.
*/ #define LANCE_LOG_TX_BUFFERS 1 #define LANCE_LOG_RX_BUFFERS 3
/* function prototypes... This is easy because all the grot is in the * generic LANCE support. All we have to support is probing for boards, * plus board-specific init, open and close actions. * Oh, and we need to tell the generic code how to read and write LANCE registers...
*/ staticint m147lance_open(struct net_device *dev); staticint m147lance_close(struct net_device *dev); staticvoid m147lance_writerap(struct lance_private *lp, unsignedshort value); staticvoid m147lance_writerdp(struct lance_private *lp, unsignedshort value); staticunsignedshort m147lance_readrdp(struct lance_private *lp);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.