summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbriggs <briggs@NetBSD.org>1995-07-28 01:34:58 +0000
committerbriggs <briggs@NetBSD.org>1995-07-28 01:34:58 +0000
commita2f49ac9308693eb5d136383a4e04b22b5fed3e7 (patch)
treecbe2fbb48007683fe2c8eeef77f741cdf37cef39
parent34f94f0c7064efd84e161630faaeff2f924ae1a3 (diff)
Don't show up in "slot" 0xe.\n
-rw-r--r--sys/arch/mac68k/dev/grf_iv.c4
-rw-r--r--sys/arch/mac68k/obio/grf_obio.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mac68k/dev/grf_iv.c b/sys/arch/mac68k/dev/grf_iv.c
index 352acb7eca4..e5c4c722861 100644
--- a/sys/arch/mac68k/dev/grf_iv.c
+++ b/sys/arch/mac68k/dev/grf_iv.c
@@ -1,4 +1,4 @@
-/* $NetBSD: grf_iv.c,v 1.5 1995/07/06 17:13:48 briggs Exp $ */
+/* $NetBSD: grf_iv.c,v 1.6 1995/07/28 01:34:58 briggs Exp $ */
/*
* Copyright (c) 1995 Allen Briggs. All rights reserved.
@@ -65,7 +65,7 @@ grfiv_probe(sc, slotinfo)
if (int_video_start == 0 && mac68k_vidlog == 0) {
return 0;
}
- if (slotinfo->slot < 0xe) {
+ if (slotinfo->slot <= 0xe) {
if (NUBUS_SLOT_TO_BASE(slotinfo->slot) > int_video_start)
return 0;
if (NUBUS_SLOT_TO_BASE(slotinfo->slot + 1) <= int_video_start)
diff --git a/sys/arch/mac68k/obio/grf_obio.c b/sys/arch/mac68k/obio/grf_obio.c
index ff323a73520..da14f0bf888 100644
--- a/sys/arch/mac68k/obio/grf_obio.c
+++ b/sys/arch/mac68k/obio/grf_obio.c
@@ -1,4 +1,4 @@
-/* $NetBSD: grf_obio.c,v 1.5 1995/07/06 17:13:48 briggs Exp $ */
+/* $NetBSD: grf_obio.c,v 1.6 1995/07/28 01:34:58 briggs Exp $ */
/*
* Copyright (c) 1995 Allen Briggs. All rights reserved.
@@ -65,7 +65,7 @@ grfiv_probe(sc, slotinfo)
if (int_video_start == 0 && mac68k_vidlog == 0) {
return 0;
}
- if (slotinfo->slot < 0xe) {
+ if (slotinfo->slot <= 0xe) {
if (NUBUS_SLOT_TO_BASE(slotinfo->slot) > int_video_start)
return 0;
if (NUBUS_SLOT_TO_BASE(slotinfo->slot + 1) <= int_video_start)