blob: 7734aa3b82db7c09e10f92cf178e6bc0185e51f8 [file] [log] [blame] [raw]
/************************************************************************
* 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;