Source
x
/* SPDX-License-Identifier: GPL-2.0+ */
/* FDDI network adapter driver for DEC FDDIcontroller 700/700-C devices.
*
* Copyright (c) 2018 Maciej W. Rozycki
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
* References:
*
* Dave Sawyer & Phil Weeks & Frank Itkowsky,
* "DEC FDDIcontroller 700 Port Specification",
* Revision 1.1, Digital Equipment Corporation
*/
/* IOmem register offsets. */
/* register base address */
/* reset, r/w */
/* interrupt event, r/w1c */
/* status, r/o */
/* interrupt mask, r/w */
/* control A, r/w1s */
/* control B, r/w */
/* Reset register constants. Bits 1:0 are r/w, others are fixed at 0. */
/* OR with INIT to blast flash memory */
/* switch into the reset state */
/* run self-test and return to work */
/* Interrupt event register constants. All bits are r/w1c. */
/* flash memory write complete */
/* transmit ring flush request */
/* onboard packet memory parity err */
/* host bus parity error */
/* non-existent memory access error;
* also raised for unaligned and
* unsupported partial-word accesses
*/
/* link status change */
/* adapter state change */
/* unsolicited event service request */
/* command done ack */
/* SMT frame transmit request */
/* receive request (packet avail.) */
/* RMC transmit done ack */
/* Status register constants. All bits are r/o. */
/* down line upgrade status bits */
/* link status bits */
/* adapter state bits */
/* halt reason bits */
/* test failure bits */
/* DLU catastrophic error; brain dead */
/* DLU error; old firmware intact */
/* DLU OK; new firmware loaded */
/* link unavailable */
/* link available */
/* resetting */
/* after a reset */
/* initialized */
/* running (link active) */
/* running (link looped back) */
/* halted (error condition) */
/* unknown reason */