X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68k%2Fapollohw.h;h=a1373b9aa2811535728a5e95c07fdd827b6099b1;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=f29992a3927da2f6d93fd60dc8cb9546e117e6e9;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/asm-m68k/apollohw.h b/include/asm-m68k/apollohw.h index f29992a39..a1373b9aa 100644 --- a/include/asm-m68k/apollohw.h +++ b/include/asm-m68k/apollohw.h @@ -3,8 +3,10 @@ #ifndef _ASMm68k_APOLLOHW_H_ #define _ASMm68k_APOLLOHW_H_ +#include + /* - apollo models + apollo models */ extern u_long apollo_model; @@ -16,8 +18,8 @@ extern u_long apollo_model; #define APOLLO_DN4000 (4) #define APOLLO_DN4500 (5) -/* - see scn2681 data sheet for more info. +/* + see scn2681 data sheet for more info. member names are read_write. */ @@ -96,9 +98,11 @@ extern u_long timer_physaddr; #define cpuctrl (*(volatile unsigned int *)(IO_BASE + cpuctrl_physaddr)) #define pica (IO_BASE + pica_physaddr) #define picb (IO_BASE + picb_physaddr) -#define timer (IO_BASE + timer_physaddr) +#define timer (IO_BASE + timer_physaddr) #define addr_xlat_map ((unsigned short *)(IO_BASE + 0x17000)) #define isaIO2mem(x) (((((x) & 0x3f8) << 7) | (((x) & 0xfc00) >> 6) | ((x) & 0x7)) + 0x40000 + IO_BASE) +#define IRQ_APOLLO IRQ_USER + #endif