Go to the documentation of this file.
3 #ifndef _ASMm68k_APOLLOHW_H_
4 #define _ASMm68k_APOLLOHW_H_
6 #include <linux/types.h>
14 #define APOLLO_UNKNOWN (0)
15 #define APOLLO_DN3000 (1)
16 #define APOLLO_DN3010 (2)
17 #define APOLLO_DN3500 (3)
18 #define APOLLO_DN4000 (4)
19 #define APOLLO_DN4500 (5)
26 #define DECLARE_2681_FIELD(x) unsigned char x; unsigned char dummy##x
58 #define IO_BASE 0x80000000
68 #define SAU7_SIO01_PHYSADDR 0x10400
69 #define SAU7_SIO23_PHYSADDR 0x10500
70 #define SAU7_RTC_PHYSADDR 0x10900
71 #define SAU7_PICA 0x11000
72 #define SAU7_PICB 0x11100
73 #define SAU7_CPUCTRL 0x10100
74 #define SAU7_TIMER 0x010800
76 #define SAU8_SIO01_PHYSADDR 0x8400
77 #define SAU8_RTC_PHYSADDR 0x8900
78 #define SAU8_PICA 0x9400
79 #define SAU8_PICB 0x9500
80 #define SAU8_CPUCTRL 0x8100
81 #define SAU8_TIMER 0x8800
83 #define sio01 ((*(volatile struct SCN2681 *)(IO_BASE + sio01_physaddr)))
84 #define sio23 ((*(volatile struct SCN2681 *)(IO_BASE + sio23_physaddr)))
85 #define rtc (((volatile struct mc146818 *)(IO_BASE + rtc_physaddr)))
86 #define cpuctrl (*(volatile unsigned int *)(IO_BASE + cpuctrl_physaddr))
87 #define pica (IO_BASE + pica_physaddr)
88 #define picb (IO_BASE + picb_physaddr)
89 #define apollo_timer (IO_BASE + timer_physaddr)
90 #define addr_xlat_map ((unsigned short *)(IO_BASE + 0x17000))
92 #define isaIO2mem(x) (((((x) & 0x3f8) << 7) | (((x) & 0xfc00) >> 6) | ((x) & 0x7)) + 0x40000 + IO_BASE)
94 #define IRQ_APOLLO IRQ_USER