diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-21 22:15:25 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-21 22:15:25 +0000 |
commit | ec62c1b63500538f6c65c7e342cd3acda076e336 (patch) | |
tree | 09256e2589496832265aeea247f5b25a276ff118 /sys | |
parent | 1f5a83c40c62ffe7a851ec1b9d0c8cbaaeddd988 (diff) |
No need to store description lines for unrecognized CMMUs...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/m88k/m88k/m8820x_machdep.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/m88k/m88k/m8820x_machdep.c b/sys/arch/m88k/m88k/m8820x_machdep.c index 8d25d48b9d7..1dd0dd3516a 100644 --- a/sys/arch/m88k/m88k/m8820x_machdep.c +++ b/sys/arch/m88k/m88k/m8820x_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: m8820x_machdep.c,v 1.18 2005/12/11 21:45:30 miod Exp $ */ +/* $OpenBSD: m8820x_machdep.c,v 1.19 2005/12/21 22:15:24 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * @@ -227,14 +227,14 @@ m8820x_cmmu_wait(int cpu) } const char *mmutypes[8] = { - "Unknown (0)", - "Unknown (1)", - "Unknown (2)", - "Unknown (3)", - "Unknown (4)", + NULL, + NULL, + NULL, + NULL, + NULL, "M88200 (16K)", "M88204 (64K)", - "Unknown (7)" + NULL }; /* @@ -279,7 +279,7 @@ m8820x_cpu_configuration_print(int main) else printf(", "); - if (mmutypes[mmuid][0] == 'U') + if (mmutypes[mmuid] == NULL) printf("unknown model id 0x%x", mmuid); else printf("%s", mmutypes[mmuid]); |