- Adapted indenation to new agreed upon system
- Fixed bad status in poldi zug driver
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
#ifndef VMEMAGGI
|
||||
#define VMEMAGGI
|
||||
|
||||
#define SLOTBASE 0x1000 /* change when Hitec in different VME slot */
|
||||
#define SLOTBASE 0x1000 /* change when Hitec in different VME slot */
|
||||
#define MAPREG 0x424
|
||||
/**
|
||||
* VME has several completely different address ranges:
|
||||
@ -28,21 +28,21 @@ struct PSCreg {
|
||||
REG16BIT data_hi;
|
||||
REG16BIT data_lo;
|
||||
REG16BIT not_used;
|
||||
} ;
|
||||
};
|
||||
|
||||
/* Bits of return status of the stat_and_addr word */
|
||||
#define PSC_REPLY_ERROR 0x20000
|
||||
#define PSC_STATUS_REPLY_READFLAG 0x8000
|
||||
#define PSC_STATUS_REPLY_FLAG_MISMATCH 0x4000
|
||||
#define PSC_STATUS_REPLY_BUFFERFULL 0x2000
|
||||
#define PSC_STATUS_REPLY_DSP_STOPPED 0x1000 /* disabled */
|
||||
#define PSC_STATUS_REPLY_DSP_STOPPED 0x1000 /* disabled */
|
||||
#define PSC_STATUS_REPLY_PS_LOCAL 0x0800
|
||||
#define PSC_STATUS_REPLY_LINK_DOWN 0x0400
|
||||
#define PSC_STATUS_REPLY_ADDR_MISMATCH 0x0080
|
||||
#define PSC_STATUS_REPLY_DATA_MISMATCH 0x0040
|
||||
#define PSC_STATUS_REPLY_SOFTTIMEOUT 0x0020
|
||||
#define PSC_STATUS_REPLY_FPGATIMEOUT 0x0010
|
||||
#define PSC_STATUS_REPLY_STRLEN 256
|
||||
#define PSC_STATUS_REPLY_STRLEN 256
|
||||
|
||||
/* error codes */
|
||||
#define BADSLOT 70
|
||||
|
Reference in New Issue
Block a user