xref: /linux/drivers/net/arcnet/com9026.h (revision da1d9caf95def6f0320819cf941c9fd1069ba9e1)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __COM9026_H
3 #define __COM9026_H
4 
5 /* COM 9026 controller chip --> ARCnet register addresses */
6 
7 #define COM9026_REG_W_INTMASK	0	/* writable */
8 #define COM9026_REG_R_STATUS	0	/* readable */
9 #define COM9026_REG_W_COMMAND	1	/* writable, returns random vals on read (?) */
10 #define COM9026_REG_RW_CONFIG	2	/* Configuration register */
11 #define COM9026_REG_R_RESET	8	/* software reset (on read) */
12 #define COM9026_REG_RW_MEMDATA	12	/* Data port for IO-mapped memory */
13 #define COM9026_REG_W_ADDR_LO	14	/* Control registers for said */
14 #define COM9026_REG_W_ADDR_HI	15
15 
16 #define COM9026_REG_R_STATION	1	/* Station ID */
17 
18 #endif
19