Go to the documentation of this file.
11 #ifndef __ASM_SH_MICRODEV_H
12 #define __ASM_SH_MICRODEV_H
25 #define MICRODEV_FPGA_INTC_BASE 0xa6110000ul
26 #define MICRODEV_FPGA_INTENB_REG (MICRODEV_FPGA_INTC_BASE+0ul)
27 #define MICRODEV_FPGA_INTDSB_REG (MICRODEV_FPGA_INTC_BASE+8ul)
28 #define MICRODEV_FPGA_INTC_MASK(n) (1ul<<(n))
29 #define MICRODEV_FPGA_INTPRI_REG(n) (MICRODEV_FPGA_INTC_BASE+0x10+((n)/8)*8)
30 #define MICRODEV_FPGA_INTPRI_LEVEL(n,x) ((x)<<(((n)%8)*4))
31 #define MICRODEV_FPGA_INTPRI_MASK(n) (MICRODEV_FPGA_INTPRI_LEVEL((n),0xful))
32 #define MICRODEV_FPGA_INTSRC_REG (MICRODEV_FPGA_INTC_BASE+0x30ul)
33 #define MICRODEV_FPGA_INTREQ_REG (MICRODEV_FPGA_INTC_BASE+0x38ul)
40 #define MICRODEV_LINUX_IRQ_KEYBOARD 1
41 #define MICRODEV_LINUX_IRQ_SERIAL1 2
42 #define MICRODEV_LINUX_IRQ_ETHERNET 3
43 #define MICRODEV_LINUX_IRQ_SERIAL2 4
44 #define MICRODEV_LINUX_IRQ_USB_HC 7
45 #define MICRODEV_LINUX_IRQ_MOUSE 12
46 #define MICRODEV_LINUX_IRQ_IDE2 13
47 #define MICRODEV_LINUX_IRQ_IDE1 14
54 #define MICRODEV_FPGA_IRQ_KEYBOARD 1
55 #define MICRODEV_FPGA_IRQ_SERIAL1 3
56 #define MICRODEV_FPGA_IRQ_SERIAL2 4
57 #define MICRODEV_FPGA_IRQ_MOUSE 12
58 #define MICRODEV_FPGA_IRQ_IDE1 14
59 #define MICRODEV_FPGA_IRQ_IDE2 15
60 #define MICRODEV_FPGA_IRQ_USB_HC 16
61 #define MICRODEV_FPGA_IRQ_ETHERNET 18
63 #define MICRODEV_IRQ_PCI_INTA 8
64 #define MICRODEV_IRQ_PCI_INTB 9
65 #define MICRODEV_IRQ_PCI_INTC 10
66 #define MICRODEV_IRQ_PCI_INTD 11
68 #define __IO_PREFIX microdev