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