artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49b8a9
)
Fix an early boot failure on Loongson 3A2000.
author
visa
<visa@openbsd.org>
Sat, 22 Apr 2017 15:37:39 +0000
(15:37 +0000)
committer
visa
<visa@openbsd.org>
Sat, 22 Apr 2017 15:37:39 +0000
(15:37 +0000)
Reported and patch tested by wen heping
sys/arch/loongson/loongson/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/loongson/loongson/machdep.c
b/sys/arch/loongson/loongson/machdep.c
index
1ffb40a
..
4f641a7
100644
(file)
--- a/
sys/arch/loongson/loongson/machdep.c
+++ b/
sys/arch/loongson/loongson/machdep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: machdep.c,v 1.7
5 2017/04/02 15:48:1
9 visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.7
6 2017/04/22 15:37:3
9 visa Exp $ */
/*
* Copyright (c) 2009, 2010, 2014 Miodrag Vallat.
@@
-601,6
+601,7
@@
mips_init(uint64_t argc, uint64_t argv, uint64_t envp, uint64_t cv,
#endif
#ifdef CPU_LOONGSON3
case 0x05:
+ case 0x08:
loongson_ver = 0x3a;
break;
#endif