diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-07 14:49:03 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-07 14:49:03 +0000 |
commit | 05ea5cfbae200015db0fc343bfb527229a3c9338 (patch) | |
tree | 64116af8425b2acc036d0f8115b708278e019dfe /sys/arch/sgi/dev | |
parent | a65d95c199b8526c9b856b7d22803089a87d2740 (diff) |
Change sgi system identification from a single system type list, to a smaller
system type list (which really is the system family) and a subsystem type.
No functional change yet.
Diffstat (limited to 'sys/arch/sgi/dev')
-rw-r--r-- | sys/arch/sgi/dev/dsrtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/dev/dsrtc.c b/sys/arch/sgi/dev/dsrtc.c index fd681153c1d..7132df8e5fd 100644 --- a/sys/arch/sgi/dev/dsrtc.c +++ b/sys/arch/sgi/dev/dsrtc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsrtc.c,v 1.10 2009/10/26 20:14:42 miod Exp $ */ +/* $OpenBSD: dsrtc.c,v 1.11 2009/11/07 14:49:01 miod Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -173,7 +173,7 @@ dsrtc_attach_ioc(struct device *parent, struct device *self, void *aux) * For some reason, the base year differs between IP27 * and IP35. */ - sc->sc_yrbase = sys_config.system_type == SGI_O300 ? + sc->sc_yrbase = sys_config.system_type == SGI_IP35 ? POSIX_BASE_YEAR - 2 : POSIX_BASE_YEAR; /* mips64 clock code expects year relative to 1900 */ sc->sc_yrbase -= 1900; @@ -214,7 +214,7 @@ dsrtc_attach_iof(struct device *parent, struct device *self, void *aux) * For some reason, the base year differs between IP27 * and IP35. */ - sc->sc_yrbase = sys_config.system_type == SGI_O300 ? + sc->sc_yrbase = sys_config.system_type == SGI_IP35 ? POSIX_BASE_YEAR - 2 : POSIX_BASE_YEAR; /* mips64 clock code expects year relative to 1900 */ sc->sc_yrbase -= 1900; |