blob: efcaf6707214ca9dc740d334c1b0dc0c2c50145f [file] [log] [blame]
Joe Perches8e0f2952015-05-05 10:06:13 -07001#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