diff options
author | 2009-03-06 07:28:10 +0000 | |
---|---|---|
committer | 2009-03-06 07:28:10 +0000 | |
commit | f133f6b17d724f09cb693f55d361b681b0956fde (patch) | |
tree | 86884f7c4e3835dc6dbb5c891a5fd1a8ee3e3472 | |
parent | Bring NO_CCB to mpi. (diff) | |
download | wireguard-openbsd-f133f6b17d724f09cb693f55d361b681b0956fde.tar.xz wireguard-openbsd-f133f6b17d724f09cb693f55d361b681b0956fde.zip |
Add a few more cpu types from freebsd driver found on serveraid-8k board.
Tested by apelsin.
ok deraadt@
-rw-r--r-- | sys/dev/ic/aac_tables.h | 5 | ||||
-rw-r--r-- | sys/dev/ic/aacreg.h | 7 |
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; |