diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2011-08-18 19:52:09 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2011-08-18 19:52:09 +0000 |
commit | 76acb796ae6b268dfb43fd7e718e66e253da6e60 (patch) | |
tree | 46cf5a736efccb90296def93971ce759666bfe9f /sys | |
parent | 08f7237513fbf247aee33d272eaf8079d61c585e (diff) |
Do not skip 362 and 382 DIO frame buffer select codes; this was written
back when I thought that these devices were showing both in DIO-II and SGC
spaces; but, as researched by tsutsui@netbsd, there is nothing in the SGC
bus address space (assuming there is SGC bus logic at all) on 3x2.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/hp300/dev/dio.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/hp300/dev/dio.c b/sys/arch/hp300/dev/dio.c index 308785cd4e9..89a38c94df9 100644 --- a/sys/arch/hp300/dev/dio.c +++ b/sys/arch/hp300/dev/dio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dio.c,v 1.14 2010/04/15 20:38:09 miod Exp $ */ +/* $OpenBSD: dio.c,v 1.15 2011/08/18 19:52:08 miod Exp $ */ /* $NetBSD: dio.c,v 1.7 1997/05/05 21:00:32 thorpej Exp $ */ /*- @@ -359,15 +359,5 @@ dio_inhole(int scode) if (scode >= 32 && scode < DIOII_SCBASE) return DIOII_SCBASE; - /* skip the frame buffer memory on 3x2 systems */ - switch (machineid) { - case HP_362: - case HP_382: - if (scode >= DIOII_SCBASE && scode < DIOII_SCBASE + 4) - return DIOII_SCBASE + 4; - default: - break; - } - return 0; } |