Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
ince1pc.h File Reference

Go to the source code of this file.

Data Structures

struct  ErrLogEntry_tag
 
struct  DpramBootSpooler_tag
 

Macros

#define CHAN_SYSTEM   0x0001 /* system channel (spooler to spooler) */
 
#define CHAN_ERRLOG   0x0005 /* error logger */
 
#define CHAN_CAPI   0x0064 /* CAPI interface */
 
#define CHAN_NDIS_DATA   0x1001 /* NDIS data transfer */
 
#define RDY_MAGIC   0x52535953UL /* 'SYSR' reversed */
 
#define RDY_MAGIC_SIZE   4 /* size in bytes */
 
#define MAX_N_TOK_BYTES   255
 
#define MIN_RDY_MSG_SIZE   RDY_MAGIC_SIZE
 
#define MAX_RDY_MSG_SIZE   (RDY_MAGIC_SIZE + MAX_N_TOK_BYTES)
 
#define SYSR_TOK_END   0
 
#define SYSR_TOK_B_CHAN   1 /* nr. of B-Channels; DataLen=1; def: 2 */
 
#define SYSR_TOK_FAX_CHAN   2 /* nr. of FAX Channels; DataLen=1; def: 0 */
 
#define SYSR_TOK_MAC_ADDR   3 /* MAC-Address; DataLen=6; def: auto */
 
#define SYSR_TOK_ESC   255 /* undefined data size yet */
 
#define SYSR_TOK_B_CHAN_DEF   2 /* assume 2 B-Channels */
 
#define SYSR_TOK_FAX_CHAN_DEF   1 /* assume 1 FAX Channel */
 
#define ERRLOG_CMD_REQ   "ERRLOG ON"
 
#define ERRLOG_CMD_REQ_SIZE   10 /* with final 0 byte ! */
 
#define ERRLOG_CMD_STOP   "ERRLOG OFF"
 
#define ERRLOG_CMD_STOP_SIZE   11 /* with final 0 byte ! */
 
#define ERRLOG_ENTRY_SIZE   64 /* sizeof(tErrLogEntry) */
 
#define ERRLOG_TEXT_SIZE   (ERRLOG_ENTRY_SIZE - 2 * 4 - 1)
 
#define DPRAM_SPOOLER_DATA_SIZE   0x20
 
#define DPRAM_SPOOLER_MIN_SIZE   5 /* Len+RdPtr+Wrptr+2*data */
 
#define DPRAM_SPOOLER_DEF_SIZE   0x23 /* current default size */
 
#define SIZE_RSV_SOFT_UART   0x1B0 /* 432 bytes reserved for SoftUart */
 

Typedefs

typedef struct ErrLogEntry_tag tErrLogEntry
 
typedef struct DpramBootSpooler_tag tDpramBootSpooler
 

Macro Definition Documentation

#define CHAN_CAPI   0x0064 /* CAPI interface */

Definition at line 25 of file ince1pc.h.

#define CHAN_ERRLOG   0x0005 /* error logger */

Definition at line 24 of file ince1pc.h.

#define CHAN_NDIS_DATA   0x1001 /* NDIS data transfer */

Definition at line 26 of file ince1pc.h.

#define CHAN_SYSTEM   0x0001 /* system channel (spooler to spooler) */

Definition at line 23 of file ince1pc.h.

#define DPRAM_SPOOLER_DATA_SIZE   0x20

Definition at line 111 of file ince1pc.h.

#define DPRAM_SPOOLER_DEF_SIZE   0x23 /* current default size */

Definition at line 127 of file ince1pc.h.

#define DPRAM_SPOOLER_MIN_SIZE   5 /* Len+RdPtr+Wrptr+2*data */

Definition at line 126 of file ince1pc.h.

#define ERRLOG_CMD_REQ   "ERRLOG ON"

Definition at line 77 of file ince1pc.h.

#define ERRLOG_CMD_REQ_SIZE   10 /* with final 0 byte ! */

Definition at line 78 of file ince1pc.h.

#define ERRLOG_CMD_STOP   "ERRLOG OFF"

Definition at line 79 of file ince1pc.h.

#define ERRLOG_CMD_STOP_SIZE   11 /* with final 0 byte ! */

Definition at line 80 of file ince1pc.h.

#define ERRLOG_ENTRY_SIZE   64 /* sizeof(tErrLogEntry) */

Definition at line 82 of file ince1pc.h.

#define ERRLOG_TEXT_SIZE   (ERRLOG_ENTRY_SIZE - 2 * 4 - 1)

Definition at line 84 of file ince1pc.h.

#define MAX_N_TOK_BYTES   255

Definition at line 33 of file ince1pc.h.

#define MAX_RDY_MSG_SIZE   (RDY_MAGIC_SIZE + MAX_N_TOK_BYTES)

Definition at line 36 of file ince1pc.h.

#define MIN_RDY_MSG_SIZE   RDY_MAGIC_SIZE

Definition at line 35 of file ince1pc.h.

#define RDY_MAGIC   0x52535953UL /* 'SYSR' reversed */

Definition at line 30 of file ince1pc.h.

#define RDY_MAGIC_SIZE   4 /* size in bytes */

Definition at line 31 of file ince1pc.h.

#define SIZE_RSV_SOFT_UART   0x1B0 /* 432 bytes reserved for SoftUart */

Definition at line 131 of file ince1pc.h.

#define SYSR_TOK_B_CHAN   1 /* nr. of B-Channels; DataLen=1; def: 2 */

Definition at line 39 of file ince1pc.h.

#define SYSR_TOK_B_CHAN_DEF   2 /* assume 2 B-Channels */

Definition at line 44 of file ince1pc.h.

#define SYSR_TOK_END   0

Definition at line 38 of file ince1pc.h.

#define SYSR_TOK_ESC   255 /* undefined data size yet */

Definition at line 42 of file ince1pc.h.

#define SYSR_TOK_FAX_CHAN   2 /* nr. of FAX Channels; DataLen=1; def: 0 */

Definition at line 40 of file ince1pc.h.

#define SYSR_TOK_FAX_CHAN_DEF   1 /* assume 1 FAX Channel */

Definition at line 45 of file ince1pc.h.

#define SYSR_TOK_MAC_ADDR   3 /* MAC-Address; DataLen=6; def: auto */

Definition at line 41 of file ince1pc.h.

Typedef Documentation