26 #ifndef __IBMASM_CONDOR_H__
27 #define __IBMASM_CONDOR_H__
31 #define VENDORID_IBM 0x1014
32 #define DEVICEID_RSA 0x010F
34 #define GET_MFA_ADDR(x) (x & 0xFFFFFF00)
36 #define MAILBOX_FULL(x) (x & 0x00000001)
38 #define NO_MFAS_AVAILABLE 0xFFFFFFFF
41 #define INBOUND_QUEUE_PORT 0x40
42 #define OUTBOUND_QUEUE_PORT 0x44
44 #define SP_INTR_MASK 0x00000008
45 #define UART_INTR_MASK 0x00000010
47 #define INTR_STATUS_REGISTER 0x13A0
48 #define INTR_CONTROL_REGISTER 0x13A4
50 #define SCOUT_COM_A_BASE 0x0000
51 #define SCOUT_COM_B_BASE 0x0100
52 #define SCOUT_COM_C_BASE 0x0200
53 #define SCOUT_COM_D_BASE 0x0300
71 static inline void ibmasm_disable_interrupts(
void __iomem *base_address,
int mask)
77 static inline void enable_sp_interrupts(
void __iomem *base_address)
82 static inline void disable_sp_interrupts(
void __iomem *base_address)
87 static inline void enable_uart_interrupts(
void __iomem *base_address)
92 static inline void disable_uart_interrupts(
void __iomem *base_address)
97 #define valid_mfa(mfa) ( (mfa) != NO_MFAS_AVAILABLE )
99 static inline u32 get_mfa_outbound(
void __iomem *base_address)
104 for (retry=0; retry<=10; retry++) {
112 static inline void set_mfa_outbound(
void __iomem *base_address,
u32 mfa)
117 static inline u32 get_mfa_inbound(
void __iomem *base_address)
127 static inline void set_mfa_inbound(
void __iomem *base_address,
u32 mfa)