treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / arcnet / com9026.h
blob6adbc18711e0ebcfd25239160dfb9620d2152cf0
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __COM9026_H
3 #define __COM9026_H
5 /* COM 9026 controller chip --> ARCnet register addresses */
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
16 #define COM9026_REG_R_STATION 1 /* Station ID */
18 #endif