blob: 6193867bac42c62ace0b2f4b92bc3a8ac7354ce9 [file] [log] [blame] [raw]
#define KME_H_VERSION "@Id$"
/************************************************************************
* Ioctl command arguments for DIGI parameters.
************************************************************************/
#define DIGI_KME (('e'<<8) | 98) /* Read/Write Host */
/* Adapter Memory */
/************************************************************************
* Digiboard KME definitions and structures.
************************************************************************/
#define RW_IDLE 0 /* Operation complete */
#define RW_READ 1 /* Read Concentrator Memory */
#define RW_WRITE 2 /* Write Concentrator Memory */
typedef struct {
unsigned char rw_req; /* Request type */
unsigned char rw_board; /* Host Adapter board number */
unsigned char rw_conc; /* Concentrator number */
unsigned char rw_reserved; /* Reserved for expansion */
unsigned long rw_addr; /* Address in concentrator */
unsigned short rw_size; /* Read/write request length */
unsigned char rw_data[128]; /* Data to read/write */
} rw_t;