diff options
-rw-r--r-- | arch/m68k/Kconfig | 4 | ||||
-rw-r--r-- | arch/m68k/include/asm/amigahw.h | 1 | ||||
-rw-r--r-- | arch/m68k/include/asm/io_mm.h | 39 | ||||
-rw-r--r-- | arch/m68k/kernel/setup.c | 6 |
4 files changed, 3 insertions, 47 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 8030e2481d97..77bb0d6baa62 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig | |||
@@ -434,7 +434,7 @@ config PROC_HARDWARE | |||
434 | 434 | ||
435 | config ISA | 435 | config ISA |
436 | bool | 436 | bool |
437 | depends on Q40 || AMIGA_PCMCIA || GG2 | 437 | depends on Q40 || AMIGA_PCMCIA |
438 | default y | 438 | default y |
439 | help | 439 | help |
440 | Find out whether you have ISA slots on your motherboard. ISA is the | 440 | Find out whether you have ISA slots on your motherboard. ISA is the |
@@ -445,7 +445,7 @@ config ISA | |||
445 | 445 | ||
446 | config GENERIC_ISA_DMA | 446 | config GENERIC_ISA_DMA |
447 | bool | 447 | bool |
448 | depends on Q40 || AMIGA_PCMCIA || GG2 | 448 | depends on Q40 || AMIGA_PCMCIA |
449 | default y | 449 | default y |
450 | 450 | ||
451 | config ZONE_DMA | 451 | config ZONE_DMA |
diff --git a/arch/m68k/include/asm/amigahw.h b/arch/m68k/include/asm/amigahw.h index 5ca5dd951a4a..7a19b5686a4a 100644 --- a/arch/m68k/include/asm/amigahw.h +++ b/arch/m68k/include/asm/amigahw.h | |||
@@ -102,7 +102,6 @@ struct amiga_hw_present { | |||
102 | AMIGAHW_DECLARE(ALICE_NTSC); /* NTSC Alice (8374) */ | 102 | AMIGAHW_DECLARE(ALICE_NTSC); /* NTSC Alice (8374) */ |
103 | AMIGAHW_DECLARE(MAGIC_REKICK); /* A3000 Magic Hard Rekick */ | 103 | AMIGAHW_DECLARE(MAGIC_REKICK); /* A3000 Magic Hard Rekick */ |
104 | AMIGAHW_DECLARE(PCMCIA); /* PCMCIA Slot */ | 104 | AMIGAHW_DECLARE(PCMCIA); /* PCMCIA Slot */ |
105 | AMIGAHW_DECLARE(GG2_ISA); /* GG2 Zorro2ISA Bridge */ | ||
106 | AMIGAHW_DECLARE(ZORRO); /* Zorro AutoConfig */ | 105 | AMIGAHW_DECLARE(ZORRO); /* Zorro AutoConfig */ |
107 | AMIGAHW_DECLARE(ZORRO3); /* Zorro III */ | 106 | AMIGAHW_DECLARE(ZORRO3); /* Zorro III */ |
108 | }; | 107 | }; |
diff --git a/arch/m68k/include/asm/io_mm.h b/arch/m68k/include/asm/io_mm.h index 9e673e3bd434..125cb60a2df9 100644 --- a/arch/m68k/include/asm/io_mm.h +++ b/arch/m68k/include/asm/io_mm.h | |||
@@ -49,23 +49,6 @@ | |||
49 | #define MULTI_ISA 0 | 49 | #define MULTI_ISA 0 |
50 | #endif /* Q40 */ | 50 | #endif /* Q40 */ |
51 | 51 | ||
52 | /* GG-II Zorro to ISA bridge */ | ||
53 | #ifdef CONFIG_GG2 | ||
54 | |||
55 | extern unsigned long gg2_isa_base; | ||
56 | #define GG2_ISA_IO_B(ioaddr) (gg2_isa_base+1+((unsigned long)(ioaddr)*4)) | ||
57 | #define GG2_ISA_IO_W(ioaddr) (gg2_isa_base+ ((unsigned long)(ioaddr)*4)) | ||
58 | #define GG2_ISA_MEM_B(madr) (gg2_isa_base+1+(((unsigned long)(madr)*4) & 0xfffff)) | ||
59 | #define GG2_ISA_MEM_W(madr) (gg2_isa_base+ (((unsigned long)(madr)*4) & 0xfffff)) | ||
60 | |||
61 | #ifndef MULTI_ISA | ||
62 | #define MULTI_ISA 0 | ||
63 | #else | ||
64 | #undef MULTI_ISA | ||
65 | #define MULTI_ISA 1 | ||
66 | #endif | ||
67 | #endif /* GG2 */ | ||
68 | |||
69 | #ifdef CONFIG_AMIGA_PCMCIA | 52 | #ifdef CONFIG_AMIGA_PCMCIA |
70 | #include <asm/amigayle.h> | 53 | #include <asm/amigayle.h> |
71 | 54 | ||
@@ -89,8 +72,7 @@ extern unsigned long gg2_isa_base; | |||
89 | #endif | 72 | #endif |
90 | 73 | ||
91 | #define ISA_TYPE_Q40 (1) | 74 | #define ISA_TYPE_Q40 (1) |
92 | #define ISA_TYPE_GG2 (2) | 75 | #define ISA_TYPE_AG (2) |
93 | #define ISA_TYPE_AG (3) | ||
94 | 76 | ||
95 | #if defined(CONFIG_Q40) && !defined(MULTI_ISA) | 77 | #if defined(CONFIG_Q40) && !defined(MULTI_ISA) |
96 | #define ISA_TYPE ISA_TYPE_Q40 | 78 | #define ISA_TYPE ISA_TYPE_Q40 |
@@ -100,10 +82,6 @@ extern unsigned long gg2_isa_base; | |||
100 | #define ISA_TYPE ISA_TYPE_AG | 82 | #define ISA_TYPE ISA_TYPE_AG |
101 | #define ISA_SEX 1 | 83 | #define ISA_SEX 1 |
102 | #endif | 84 | #endif |
103 | #if defined(CONFIG_GG2) && !defined(MULTI_ISA) | ||
104 | #define ISA_TYPE ISA_TYPE_GG2 | ||
105 | #define ISA_SEX 0 | ||
106 | #endif | ||
107 | 85 | ||
108 | #ifdef MULTI_ISA | 86 | #ifdef MULTI_ISA |
109 | extern int isa_type; | 87 | extern int isa_type; |
@@ -125,9 +103,6 @@ static inline u8 __iomem *isa_itb(unsigned long addr) | |||
125 | #ifdef CONFIG_Q40 | 103 | #ifdef CONFIG_Q40 |
126 | case ISA_TYPE_Q40: return (u8 __iomem *)Q40_ISA_IO_B(addr); | 104 | case ISA_TYPE_Q40: return (u8 __iomem *)Q40_ISA_IO_B(addr); |
127 | #endif | 105 | #endif |
128 | #ifdef CONFIG_GG2 | ||
129 | case ISA_TYPE_GG2: return (u8 __iomem *)GG2_ISA_IO_B(addr); | ||
130 | #endif | ||
131 | #ifdef CONFIG_AMIGA_PCMCIA | 106 | #ifdef CONFIG_AMIGA_PCMCIA |
132 | case ISA_TYPE_AG: return (u8 __iomem *)AG_ISA_IO_B(addr); | 107 | case ISA_TYPE_AG: return (u8 __iomem *)AG_ISA_IO_B(addr); |
133 | #endif | 108 | #endif |
@@ -141,9 +116,6 @@ static inline u16 __iomem *isa_itw(unsigned long addr) | |||
141 | #ifdef CONFIG_Q40 | 116 | #ifdef CONFIG_Q40 |
142 | case ISA_TYPE_Q40: return (u16 __iomem *)Q40_ISA_IO_W(addr); | 117 | case ISA_TYPE_Q40: return (u16 __iomem *)Q40_ISA_IO_W(addr); |
143 | #endif | 118 | #endif |
144 | #ifdef CONFIG_GG2 | ||
145 | case ISA_TYPE_GG2: return (u16 __iomem *)GG2_ISA_IO_W(addr); | ||
146 | #endif | ||
147 | #ifdef CONFIG_AMIGA_PCMCIA | 119 | #ifdef CONFIG_AMIGA_PCMCIA |
148 | case ISA_TYPE_AG: return (u16 __iomem *)AG_ISA_IO_W(addr); | 120 | case ISA_TYPE_AG: return (u16 __iomem *)AG_ISA_IO_W(addr); |
149 | #endif | 121 | #endif |
@@ -167,9 +139,6 @@ static inline u8 __iomem *isa_mtb(unsigned long addr) | |||
167 | #ifdef CONFIG_Q40 | 139 | #ifdef CONFIG_Q40 |
168 | case ISA_TYPE_Q40: return (u8 __iomem *)Q40_ISA_MEM_B(addr); | 140 | case ISA_TYPE_Q40: return (u8 __iomem *)Q40_ISA_MEM_B(addr); |
169 | #endif | 141 | #endif |
170 | #ifdef CONFIG_GG2 | ||
171 | case ISA_TYPE_GG2: return (u8 __iomem *)GG2_ISA_MEM_B(addr); | ||
172 | #endif | ||
173 | #ifdef CONFIG_AMIGA_PCMCIA | 142 | #ifdef CONFIG_AMIGA_PCMCIA |
174 | case ISA_TYPE_AG: return (u8 __iomem *)addr; | 143 | case ISA_TYPE_AG: return (u8 __iomem *)addr; |
175 | #endif | 144 | #endif |
@@ -183,9 +152,6 @@ static inline u16 __iomem *isa_mtw(unsigned long addr) | |||
183 | #ifdef CONFIG_Q40 | 152 | #ifdef CONFIG_Q40 |
184 | case ISA_TYPE_Q40: return (u16 __iomem *)Q40_ISA_MEM_W(addr); | 153 | case ISA_TYPE_Q40: return (u16 __iomem *)Q40_ISA_MEM_W(addr); |
185 | #endif | 154 | #endif |
186 | #ifdef CONFIG_GG2 | ||
187 | case ISA_TYPE_GG2: return (u16 __iomem *)GG2_ISA_MEM_W(addr); | ||
188 | #endif | ||
189 | #ifdef CONFIG_AMIGA_PCMCIA | 155 | #ifdef CONFIG_AMIGA_PCMCIA |
190 | case ISA_TYPE_AG: return (u16 __iomem *)addr; | 156 | case ISA_TYPE_AG: return (u16 __iomem *)addr; |
191 | #endif | 157 | #endif |
@@ -217,9 +183,6 @@ static inline void isa_delay(void) | |||
217 | #ifdef CONFIG_Q40 | 183 | #ifdef CONFIG_Q40 |
218 | case ISA_TYPE_Q40: isa_outb(0,0x80); break; | 184 | case ISA_TYPE_Q40: isa_outb(0,0x80); break; |
219 | #endif | 185 | #endif |
220 | #ifdef CONFIG_GG2 | ||
221 | case ISA_TYPE_GG2: break; | ||
222 | #endif | ||
223 | #ifdef CONFIG_AMIGA_PCMCIA | 186 | #ifdef CONFIG_AMIGA_PCMCIA |
224 | case ISA_TYPE_AG: break; | 187 | case ISA_TYPE_AG: break; |
225 | #endif | 188 | #endif |
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index 303730afb1c9..b3963ab3d149 100644 --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c | |||
@@ -359,12 +359,6 @@ void __init setup_arch(char **cmdline_p) | |||
359 | isa_type = ISA_TYPE_Q40; | 359 | isa_type = ISA_TYPE_Q40; |
360 | isa_sex = 0; | 360 | isa_sex = 0; |
361 | } | 361 | } |
362 | #ifdef CONFIG_GG2 | ||
363 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(GG2_ISA)) { | ||
364 | isa_type = ISA_TYPE_GG2; | ||
365 | isa_sex = 0; | ||
366 | } | ||
367 | #endif | ||
368 | #ifdef CONFIG_AMIGA_PCMCIA | 362 | #ifdef CONFIG_AMIGA_PCMCIA |
369 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(PCMCIA)) { | 363 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(PCMCIA)) { |
370 | isa_type = ISA_TYPE_AG; | 364 | isa_type = ISA_TYPE_AG; |