diff options
-rw-r--r-- | arch/mips/fw/arc/identify.c | 11 | ||||
-rw-r--r-- | arch/mips/jazz/setup.c | 3 | ||||
-rw-r--r-- | include/asm-mips/bootinfo.h | 21 |
3 files changed, 1 insertions, 34 deletions
diff --git a/arch/mips/fw/arc/identify.c b/arch/mips/fw/arc/identify.c index 23066985a734..0ce9acf10c39 100644 --- a/arch/mips/fw/arc/identify.c +++ b/arch/mips/fw/arc/identify.c | |||
@@ -22,7 +22,6 @@ | |||
22 | struct smatch { | 22 | struct smatch { |
23 | char *arcname; | 23 | char *arcname; |
24 | char *liname; | 24 | char *liname; |
25 | int type; | ||
26 | int flags; | 25 | int flags; |
27 | }; | 26 | }; |
28 | 27 | ||
@@ -30,47 +29,38 @@ static struct smatch mach_table[] = { | |||
30 | { | 29 | { |
31 | .arcname = "SGI-IP22", | 30 | .arcname = "SGI-IP22", |
32 | .liname = "SGI Indy", | 31 | .liname = "SGI Indy", |
33 | .type = MACH_SGI_IP22, | ||
34 | .flags = PROM_FLAG_ARCS, | 32 | .flags = PROM_FLAG_ARCS, |
35 | }, { | 33 | }, { |
36 | .arcname = "SGI-IP27", | 34 | .arcname = "SGI-IP27", |
37 | .liname = "SGI Origin", | 35 | .liname = "SGI Origin", |
38 | .type = MACH_SGI_IP27, | ||
39 | .flags = PROM_FLAG_ARCS, | 36 | .flags = PROM_FLAG_ARCS, |
40 | }, { | 37 | }, { |
41 | .arcname = "SGI-IP28", | 38 | .arcname = "SGI-IP28", |
42 | .liname = "SGI IP28", | 39 | .liname = "SGI IP28", |
43 | .type = MACH_SGI_IP28, | ||
44 | .flags = PROM_FLAG_ARCS, | 40 | .flags = PROM_FLAG_ARCS, |
45 | }, { | 41 | }, { |
46 | .arcname = "SGI-IP30", | 42 | .arcname = "SGI-IP30", |
47 | .liname = "SGI Octane", | 43 | .liname = "SGI Octane", |
48 | .type = MACH_SGI_IP30, | ||
49 | .flags = PROM_FLAG_ARCS, | 44 | .flags = PROM_FLAG_ARCS, |
50 | }, { | 45 | }, { |
51 | .arcname = "SGI-IP32", | 46 | .arcname = "SGI-IP32", |
52 | .liname = "SGI O2", | 47 | .liname = "SGI O2", |
53 | .type = MACH_SGI_IP32, | ||
54 | .flags = PROM_FLAG_ARCS, | 48 | .flags = PROM_FLAG_ARCS, |
55 | }, { | 49 | }, { |
56 | .arcname = "Microsoft-Jazz", | 50 | .arcname = "Microsoft-Jazz", |
57 | .liname = "Jazz MIPS_Magnum_4000", | 51 | .liname = "Jazz MIPS_Magnum_4000", |
58 | .type = MACH_MIPS_MAGNUM_4000, | ||
59 | .flags = 0, | 52 | .flags = 0, |
60 | }, { | 53 | }, { |
61 | .arcname = "PICA-61", | 54 | .arcname = "PICA-61", |
62 | .liname = "Jazz Acer_PICA_61", | 55 | .liname = "Jazz Acer_PICA_61", |
63 | .type = MACH_ACER_PICA_61, | ||
64 | .flags = 0, | 56 | .flags = 0, |
65 | }, { | 57 | }, { |
66 | .arcname = "RM200PCI", | 58 | .arcname = "RM200PCI", |
67 | .liname = "SNI RM200_PCI", | 59 | .liname = "SNI RM200_PCI", |
68 | .type = MACH_SNI_RM200_PCI, | ||
69 | .flags = PROM_FLAG_DONT_FREE_TEMP, | 60 | .flags = PROM_FLAG_DONT_FREE_TEMP, |
70 | }, { | 61 | }, { |
71 | .arcname = "RM200PCI-R5K", | 62 | .arcname = "RM200PCI-R5K", |
72 | .liname = "SNI RM200_PCI-R5K", | 63 | .liname = "SNI RM200_PCI-R5K", |
73 | .type = MACH_SNI_RM200_PCI, | ||
74 | .flags = PROM_FLAG_DONT_FREE_TEMP, | 64 | .flags = PROM_FLAG_DONT_FREE_TEMP, |
75 | } | 65 | } |
76 | }; | 66 | }; |
@@ -121,6 +111,5 @@ void __init prom_identify_arch(void) | |||
121 | mach = string_to_mach(iname); | 111 | mach = string_to_mach(iname); |
122 | system_type = mach->liname; | 112 | system_type = mach->liname; |
123 | 113 | ||
124 | mips_machtype = mach->type; | ||
125 | prom_flags = mach->flags; | 114 | prom_flags = mach->flags; |
126 | } | 115 | } |
diff --git a/arch/mips/jazz/setup.c b/arch/mips/jazz/setup.c index f136c8a8591c..f60524e8bc44 100644 --- a/arch/mips/jazz/setup.c +++ b/arch/mips/jazz/setup.c | |||
@@ -76,8 +76,7 @@ void __init plat_mem_setup(void) | |||
76 | 76 | ||
77 | set_io_port_base(JAZZ_PORT_BASE); | 77 | set_io_port_base(JAZZ_PORT_BASE); |
78 | #ifdef CONFIG_EISA | 78 | #ifdef CONFIG_EISA |
79 | if (mips_machtype == MACH_MIPS_MAGNUM_4000) | 79 | EISA_bus = 1; |
80 | EISA_bus = 1; | ||
81 | #endif | 80 | #endif |
82 | 81 | ||
83 | /* request I/O space for devices used on all i[345]86 PCs */ | 82 | /* request I/O space for devices used on all i[345]86 PCs */ |
diff --git a/include/asm-mips/bootinfo.h b/include/asm-mips/bootinfo.h index c70848d4f632..653096a69d16 100644 --- a/include/asm-mips/bootinfo.h +++ b/include/asm-mips/bootinfo.h | |||
@@ -26,13 +26,6 @@ | |||
26 | #define MACH_UNKNOWN 0 /* whatever... */ | 26 | #define MACH_UNKNOWN 0 /* whatever... */ |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Valid machtype values for group JAZZ | ||
30 | */ | ||
31 | #define MACH_ACER_PICA_61 0 /* Acer PICA-61 (PICA1) */ | ||
32 | #define MACH_MIPS_MAGNUM_4000 1 /* Mips Magnum 4000 "RC4030" */ | ||
33 | #define MACH_OLIVETTI_M700 2 /* Olivetti M700-10 (-15 ??) */ | ||
34 | |||
35 | /* | ||
36 | * Valid machtype for group DEC | 29 | * Valid machtype for group DEC |
37 | */ | 30 | */ |
38 | #define MACH_DSUNKNOWN 0 | 31 | #define MACH_DSUNKNOWN 0 |
@@ -48,20 +41,6 @@ | |||
48 | #define MACH_DS5900 10 /* DECsystem 5900 */ | 41 | #define MACH_DS5900 10 /* DECsystem 5900 */ |
49 | 42 | ||
50 | /* | 43 | /* |
51 | * Valid machtype for group SNI_RM | ||
52 | */ | ||
53 | #define MACH_SNI_RM200_PCI 0 /* RM200/RM300/RM400 PCI series */ | ||
54 | |||
55 | /* | ||
56 | * Valid machtype for group SGI | ||
57 | */ | ||
58 | #define MACH_SGI_IP22 0 /* Indy, Indigo2, Challenge S */ | ||
59 | #define MACH_SGI_IP27 1 /* Origin 200, Origin 2000, Onyx 2 */ | ||
60 | #define MACH_SGI_IP28 2 /* Indigo2 Impact */ | ||
61 | #define MACH_SGI_IP32 3 /* O2 */ | ||
62 | #define MACH_SGI_IP30 4 /* Octane, Octane2 */ | ||
63 | |||
64 | /* | ||
65 | * Valid machtype for group LASAT | 44 | * Valid machtype for group LASAT |
66 | */ | 45 | */ |
67 | #define MACH_LASAT_100 0 /* Masquerade II/SP100/SP50/SP25 */ | 46 | #define MACH_LASAT_100 0 /* Masquerade II/SP100/SP50/SP25 */ |