summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-03-06 07:28:11 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-03-06 07:28:11 +0000
commit78cf3a47f9b91ad0e232e937e44f7a37dce3f491 (patch)
tree72b93ba6a1b1aba4fb74bcfff2e399857418cca3 /sys/dev
parent69a85006ff1fc2798efd8730733f6e20ee5eaf41 (diff)
Add a few more cpu types from freebsd driver found on serveraid-8k board.
Tested by apelsin. ok deraadt@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/aac_tables.h5
-rw-r--r--sys/dev/ic/aacreg.h7
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/ic/aac_tables.h b/sys/dev/ic/aac_tables.h
index b61d1076e6b..e5e3b503a53 100644
--- a/sys/dev/ic/aac_tables.h
+++ b/sys/dev/ic/aac_tables.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aac_tables.h,v 1.4 2006/07/21 19:11:11 mickey Exp $ */
+/* $OpenBSD: aac_tables.h,v 1.5 2009/03/06 07:28:10 grange Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -87,6 +87,9 @@ static struct aac_code_lookup aac_cpu_variant[] = {
{ "Unknown StrongARM", CPUARM_xxx },
{ "Unknown PowerPC", CPUPPC_xxx },
{ "Intel GC80302 IOP", CPUI960_302},
+ { "XScale 80321", CPU_XSCALE_80321 },
+ { "MIPS 4KC", CPU_MIPS_4KC },
+ { "MIPS 5KC", CPU_MIPS_5KC },
{ NULL, 0 },
{ "Unknown processor", 0 }
};
diff --git a/sys/dev/ic/aacreg.h b/sys/dev/ic/aacreg.h
index d440077d6ff..7363b6f11e6 100644
--- a/sys/dev/ic/aacreg.h
+++ b/sys/dev/ic/aacreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aacreg.h,v 1.10 2009/03/05 21:16:40 grange Exp $ */
+/* $OpenBSD: aacreg.h,v 1.11 2009/03/06 07:28:10 grange Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -420,6 +420,8 @@ typedef enum {
CPU_ALPHA,
CPU_P7,
CPU_I960_RX,
+ CPU_MIPS,
+ CPU_XSCALE,
CPU__last
} AAC_CpuType;
@@ -433,6 +435,9 @@ typedef enum {
CPUMPC_824x,
CPUPPC_xxx,
CPUI960_302,
+ CPU_XSCALE_80321,
+ CPU_MIPS_4KC,
+ CPU_MIPS_5KC,
CPUSUBTYPE__last
} AAC_CpuSubType;