diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-02-21 13:30:36 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-02-21 13:30:36 +0000 |
commit | 49a3beac398bd3e89dc4c8a5caff106cbd1e0cff (patch) | |
tree | 4f9a8bfdbe571a81ca63b73ae45c0b466661fb35 /arch/mips/kernel | |
parent | b8d3cc7ceb61a07b865b420139477b91a4be202f (diff) |
ITE 8172 patches from Pete Popov slightly hacked by me.
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r-- | arch/mips/kernel/Makefile | 4 | ||||
-rw-r--r-- | arch/mips/kernel/proc.c | 4 | ||||
-rw-r--r-- | arch/mips/kernel/setup.c | 5 |
3 files changed, 11 insertions, 2 deletions
diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile index 02fc79c9d..86947b0ba 100644 --- a/arch/mips/kernel/Makefile +++ b/arch/mips/kernel/Makefile @@ -48,7 +48,9 @@ ifndef CONFIG_DECSTATION ifndef CONFIG_MIPS_ATLAS ifndef CONFIG_MIPS_MALTA ifndef CONFIG_MIPS_EV96100 - obj-y += time.o + ifndef CONFIG_MIPS_ITE8172 + obj-y += time.o + endif endif endif endif diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c index 6725f1864..34feb549d 100644 --- a/arch/mips/kernel/proc.c +++ b/arch/mips/kernel/proc.c @@ -39,11 +39,13 @@ int get_cpuinfo(char *buffer) const char *mach_cosine_names[] = GROUP_COSINE_NAMES; const char *mach_galileo_names[] = GROUP_GALILEO_NAMES; const char *mach_momenco_names[] = GROUP_MOMENCO_NAMES; + const char *mach_ite_names[] = GROUP_ITE_NAMES; const char **mach_group_to_name[] = { mach_unknown_names, mach_jazz_names, mach_dec_names, mach_arc_names, mach_sni_rm_names, mach_acn_names, mach_sgi_names, mach_cobalt_names, mach_nec_ddb_names, mach_baget_names, - mach_cosine_names, mach_galileo_names, mach_momenco_names }; + mach_cosine_names, mach_galileo_names, mach_momenco_names, + mach_ite_names}; unsigned int version = read_32bit_cp0_register(CP0_PRID); int len; diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c index 4f0ee2e92..220c1c148 100644 --- a/arch/mips/kernel/setup.c +++ b/arch/mips/kernel/setup.c @@ -533,6 +533,11 @@ void __init setup_arch(char **cmdline_p) ev64120_setup(); break; #endif +#ifdef CONFIG_MIPS_ITE8172 + case MACH_GROUP_ITE: + it8172_setup(); + break; +#endif default: panic("Unsupported architecture"); } |