diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-06 19:42:46 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-11-06 19:42:46 +0000 |
commit | b5cc8361e0c5ce2b972872699aa729216f1bb2ea (patch) | |
tree | 935ee13a8a77a5ff2bd5dcc37ba39bcf3fb4cfab /sys/arch/hp300/stand | |
parent | 4d0f54a69a32d2f1f34f07dbc2b3ddd46df5e019 (diff) |
Idnetify/support hp385 (33Mhz 68040)
Diffstat (limited to 'sys/arch/hp300/stand')
-rw-r--r-- | sys/arch/hp300/stand/common/autoconf.c | 3 | ||||
-rw-r--r-- | sys/arch/hp300/stand/common/machdep.c | 4 | ||||
-rw-r--r-- | sys/arch/hp300/stand/uboot/srt0.S | 9 |
3 files changed, 12 insertions, 4 deletions
diff --git a/sys/arch/hp300/stand/common/autoconf.c b/sys/arch/hp300/stand/common/autoconf.c index 987122c8053..3c105ce3d2b 100644 --- a/sys/arch/hp300/stand/common/autoconf.c +++ b/sys/arch/hp300/stand/common/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.1 1997/07/14 08:14:07 downsj Exp $ */ +/* $OpenBSD: autoconf.c,v 1.2 1997/11/06 19:42:42 millert Exp $ */ /* $NetBSD: autoconf.c,v 1.12 1997/01/30 10:32:51 thorpej Exp $ */ /* @@ -107,6 +107,7 @@ configure() case HP_380: cpuspeed = MHZ_25 * 2; /* XXX */ break; + case HP_385: case HP_433: cpuspeed = MHZ_33 * 2; /* XXX */ break; diff --git a/sys/arch/hp300/stand/common/machdep.c b/sys/arch/hp300/stand/common/machdep.c index 581ba56b5ec..e7bbb0eeb32 100644 --- a/sys/arch/hp300/stand/common/machdep.c +++ b/sys/arch/hp300/stand/common/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.1 1997/07/14 08:14:25 downsj Exp $ */ +/* $OpenBSD: machdep.c,v 1.2 1997/11/06 19:42:43 millert Exp $ */ /* $NetBSD: machdep.c,v 1.4 1997/06/28 07:20:25 thorpej Exp $ */ /* @@ -72,6 +72,8 @@ getmachineid() cp = "375"; break; case HP_380: cp = "380"; break; + case HP_385: + cp = "385"; break; case HP_400: cp = "400"; break; case HP_425: diff --git a/sys/arch/hp300/stand/uboot/srt0.S b/sys/arch/hp300/stand/uboot/srt0.S index 77e0b752c26..3323ac40129 100644 --- a/sys/arch/hp300/stand/uboot/srt0.S +++ b/sys/arch/hp300/stand/uboot/srt0.S @@ -1,4 +1,4 @@ -/* $OpenBSD: srt0.S,v 1.1 1997/07/14 08:14:58 downsj Exp $ */ +/* $OpenBSD: srt0.S,v 1.2 1997/11/06 19:42:45 millert Exp $ */ /* $NetBSD: srt0.S,v 1.4 1997/05/12 07:56:00 thorpej Exp $ */ /* @@ -179,8 +179,10 @@ not68030: jeq isa425 cmpb #MMUID_433_T,d0 | or a 433t? jeq isa433 - cmpb #MMUID_433_S,d0 | last chance... + cmpb #MMUID_433_S,d0 | maybe a 433s? jeq isa433 + cmpb #MMUID_385,d0 | last chance... + jeq isa385 movl #HP_380,a0@ | guess we're a 380 jra ihpibcheck isa425: @@ -189,6 +191,9 @@ isa425: isa433: movl #HP_433,a0@ jra ihpibcheck +isa385: + movl #HP_385,a0@ + jra ihpibcheck /* * End 68040 section |