sparc: remove CONFIG_SUN4
While doing some easy cleanups on the sparc code I noticed that the CONFIG_SUN4 code seems to be worse than the rest - there were some "I don't know how it should work, but the current code definitely cannot work." places. And while I have seen people running Linux on machines like a SPARCstation 5 a few years ago I don't recall having seen sun4 machines, even less ones running Linux. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
b69416b51b
commit
5110bd21b8
@@ -224,12 +224,6 @@ void __init setup_arch(char **cmdline_p)
|
||||
if(!strcmp(&cputypval,"sun4e")) { sparc_cpu_model=sun4e; }
|
||||
if(!strcmp(&cputypval,"sun4u")) { sparc_cpu_model=sun4u; }
|
||||
|
||||
#ifdef CONFIG_SUN4
|
||||
if (sparc_cpu_model != sun4) {
|
||||
prom_printf("This kernel is for Sun4 architecture only.\n");
|
||||
prom_halt();
|
||||
}
|
||||
#endif
|
||||
printk("ARCH: ");
|
||||
switch(sparc_cpu_model) {
|
||||
case sun4:
|
||||
@@ -263,7 +257,7 @@ void __init setup_arch(char **cmdline_p)
|
||||
boot_flags_init(*cmdline_p);
|
||||
|
||||
idprom_init();
|
||||
if (ARCH_SUN4C_SUN4)
|
||||
if (ARCH_SUN4C)
|
||||
sun4c_probe_vac();
|
||||
load_mmu();
|
||||
|
||||
|
Reference in New Issue
Block a user