Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
bvme6000hw.h File Reference
#include <asm/irq.h>

Go to the source code of this file.

Data Structures

struct  PitRegs_t
 
struct  RtcRegs_t
 

Macros

#define BVME_PIT_BASE   0xffa00000
 
#define bvmepit   ((*(volatile PitRegsPtr)(BVME_PIT_BASE)))
 
#define BVME_RTC_BASE   0xff900000
 
#define BVME_I596_BASE   0xff100000
 
#define BVME_ETHIRQ_REG   0xff20000b
 
#define BVME_LOCAL_IRQ_STAT   0xff20000f
 
#define BVME_ETHERR   0x02
 
#define BVME_ABORT_STATUS   0x08
 
#define BVME_NCR53C710_BASE   0xff000000
 
#define BVME_SCC_A_ADDR   0xffb0000b
 
#define BVME_SCC_B_ADDR   0xffb00003
 
#define BVME_SCC_RTxC   7372800
 
#define BVME_CONFIG_REG   0xff500003
 
#define config_reg_ptr   (volatile unsigned char *)BVME_CONFIG_REG
 
#define BVME_CONFIG_SW1   0x08
 
#define BVME_CONFIG_SW2   0x04
 
#define BVME_CONFIG_SW3   0x02
 
#define BVME_CONFIG_SW4   0x01
 
#define BVME_IRQ_TYPE_PRIO   0
 
#define BVME_IRQ_PRN   (IRQ_USER+20)
 
#define BVME_IRQ_TIMER   (IRQ_USER+25)
 
#define BVME_IRQ_I596   IRQ_AUTO_2
 
#define BVME_IRQ_SCSI   IRQ_AUTO_3
 
#define BVME_IRQ_RTC   IRQ_AUTO_6
 
#define BVME_IRQ_ABORT   IRQ_AUTO_7
 
#define BVME_IRQ_SCC_BASE   IRQ_USER
 
#define BVME_IRQ_SCCB_TX   IRQ_USER
 
#define BVME_IRQ_SCCB_STAT   (IRQ_USER+2)
 
#define BVME_IRQ_SCCB_RX   (IRQ_USER+4)
 
#define BVME_IRQ_SCCB_SPCOND   (IRQ_USER+6)
 
#define BVME_IRQ_SCCA_TX   (IRQ_USER+8)
 
#define BVME_IRQ_SCCA_STAT   (IRQ_USER+10)
 
#define BVME_IRQ_SCCA_RX   (IRQ_USER+12)
 
#define BVME_IRQ_SCCA_SPCOND   (IRQ_USER+14)
 
#define BVME_ACR_A32VBA   0xff400003
 
#define BVME_ACR_A32MSK   0xff410003
 
#define BVME_ACR_A24VBA   0xff420003
 
#define BVME_ACR_A24MSK   0xff430003
 
#define BVME_ACR_A16VBA   0xff440003
 
#define BVME_ACR_A32LBA   0xff450003
 
#define BVME_ACR_A24LBA   0xff460003
 
#define BVME_ACR_ADDRCTL   0xff470003
 
#define bvme_acr_a32vba   *(volatile unsigned char *)BVME_ACR_A32VBA
 
#define bvme_acr_a32msk   *(volatile unsigned char *)BVME_ACR_A32MSK
 
#define bvme_acr_a24vba   *(volatile unsigned char *)BVME_ACR_A24VBA
 
#define bvme_acr_a24msk   *(volatile unsigned char *)BVME_ACR_A24MSK
 
#define bvme_acr_a16vba   *(volatile unsigned char *)BVME_ACR_A16VBA
 
#define bvme_acr_a32lba   *(volatile unsigned char *)BVME_ACR_A32LBA
 
#define bvme_acr_a24lba   *(volatile unsigned char *)BVME_ACR_A24LBA
 
#define bvme_acr_addrctl   *(volatile unsigned char *)BVME_ACR_ADDRCTL
 

Typedefs

typedef struct PitRegs_tPitRegsPtr
 
typedef struct RtcRegs_tRtcPtr_t
 

Macro Definition Documentation

#define BVME_ABORT_STATUS   0x08

Definition at line 92 of file bvme6000hw.h.

#define BVME_ACR_A16VBA   0xff440003

Definition at line 136 of file bvme6000hw.h.

#define bvme_acr_a16vba   *(volatile unsigned char *)BVME_ACR_A16VBA

Definition at line 145 of file bvme6000hw.h.

#define BVME_ACR_A24LBA   0xff460003

Definition at line 138 of file bvme6000hw.h.

#define bvme_acr_a24lba   *(volatile unsigned char *)BVME_ACR_A24LBA

Definition at line 147 of file bvme6000hw.h.

#define BVME_ACR_A24MSK   0xff430003

Definition at line 135 of file bvme6000hw.h.

#define bvme_acr_a24msk   *(volatile unsigned char *)BVME_ACR_A24MSK

Definition at line 144 of file bvme6000hw.h.

#define BVME_ACR_A24VBA   0xff420003

Definition at line 134 of file bvme6000hw.h.

#define bvme_acr_a24vba   *(volatile unsigned char *)BVME_ACR_A24VBA

Definition at line 143 of file bvme6000hw.h.

#define BVME_ACR_A32LBA   0xff450003

Definition at line 137 of file bvme6000hw.h.

#define bvme_acr_a32lba   *(volatile unsigned char *)BVME_ACR_A32LBA

Definition at line 146 of file bvme6000hw.h.

#define BVME_ACR_A32MSK   0xff410003

Definition at line 133 of file bvme6000hw.h.

#define bvme_acr_a32msk   *(volatile unsigned char *)BVME_ACR_A32MSK

Definition at line 142 of file bvme6000hw.h.

#define BVME_ACR_A32VBA   0xff400003

Definition at line 132 of file bvme6000hw.h.

#define bvme_acr_a32vba   *(volatile unsigned char *)BVME_ACR_A32VBA

Definition at line 141 of file bvme6000hw.h.

#define BVME_ACR_ADDRCTL   0xff470003

Definition at line 139 of file bvme6000hw.h.

#define bvme_acr_addrctl   *(volatile unsigned char *)BVME_ACR_ADDRCTL

Definition at line 148 of file bvme6000hw.h.

#define BVME_CONFIG_REG   0xff500003

Definition at line 100 of file bvme6000hw.h.

#define BVME_CONFIG_SW1   0x08

Definition at line 104 of file bvme6000hw.h.

#define BVME_CONFIG_SW2   0x04

Definition at line 105 of file bvme6000hw.h.

#define BVME_CONFIG_SW3   0x02

Definition at line 106 of file bvme6000hw.h.

#define BVME_CONFIG_SW4   0x01

Definition at line 107 of file bvme6000hw.h.

#define BVME_ETHERR   0x02

Definition at line 91 of file bvme6000hw.h.

#define BVME_ETHIRQ_REG   0xff20000b

Definition at line 87 of file bvme6000hw.h.

#define BVME_I596_BASE   0xff100000

Definition at line 85 of file bvme6000hw.h.

#define BVME_IRQ_ABORT   IRQ_AUTO_7

Definition at line 117 of file bvme6000hw.h.

#define BVME_IRQ_I596   IRQ_AUTO_2

Definition at line 114 of file bvme6000hw.h.

#define BVME_IRQ_PRN   (IRQ_USER+20)

Definition at line 112 of file bvme6000hw.h.

#define BVME_IRQ_RTC   IRQ_AUTO_6

Definition at line 116 of file bvme6000hw.h.

#define BVME_IRQ_SCC_BASE   IRQ_USER

Definition at line 120 of file bvme6000hw.h.

#define BVME_IRQ_SCCA_RX   (IRQ_USER+12)

Definition at line 127 of file bvme6000hw.h.

#define BVME_IRQ_SCCA_SPCOND   (IRQ_USER+14)

Definition at line 128 of file bvme6000hw.h.

#define BVME_IRQ_SCCA_STAT   (IRQ_USER+10)

Definition at line 126 of file bvme6000hw.h.

#define BVME_IRQ_SCCA_TX   (IRQ_USER+8)

Definition at line 125 of file bvme6000hw.h.

#define BVME_IRQ_SCCB_RX   (IRQ_USER+4)

Definition at line 123 of file bvme6000hw.h.

#define BVME_IRQ_SCCB_SPCOND   (IRQ_USER+6)

Definition at line 124 of file bvme6000hw.h.

#define BVME_IRQ_SCCB_STAT   (IRQ_USER+2)

Definition at line 122 of file bvme6000hw.h.

#define BVME_IRQ_SCCB_TX   IRQ_USER

Definition at line 121 of file bvme6000hw.h.

#define BVME_IRQ_SCSI   IRQ_AUTO_3

Definition at line 115 of file bvme6000hw.h.

#define BVME_IRQ_TIMER   (IRQ_USER+25)

Definition at line 113 of file bvme6000hw.h.

#define BVME_IRQ_TYPE_PRIO   0

Definition at line 110 of file bvme6000hw.h.

#define BVME_LOCAL_IRQ_STAT   0xff20000f

Definition at line 89 of file bvme6000hw.h.

#define BVME_NCR53C710_BASE   0xff000000

Definition at line 94 of file bvme6000hw.h.

#define BVME_PIT_BASE   0xffa00000

Definition at line 10 of file bvme6000hw.h.

#define BVME_RTC_BASE   0xff900000

Definition at line 46 of file bvme6000hw.h.

#define BVME_SCC_A_ADDR   0xffb0000b

Definition at line 96 of file bvme6000hw.h.

#define BVME_SCC_B_ADDR   0xffb00003

Definition at line 97 of file bvme6000hw.h.

#define BVME_SCC_RTxC   7372800

Definition at line 98 of file bvme6000hw.h.

#define bvmepit   ((*(volatile PitRegsPtr)(BVME_PIT_BASE)))

Definition at line 44 of file bvme6000hw.h.

#define config_reg_ptr   (volatile unsigned char *)BVME_CONFIG_REG

Definition at line 102 of file bvme6000hw.h.

Typedef Documentation