summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/bussw.c
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-12-19 07:04:43 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-12-19 07:04:43 +0000
commit8130d56a7bb2e09e2c8b782f3f4a54133a0bb161 (patch)
tree1dd36d374c7d72391551b03ca96630523b33efe7 /sys/arch/mvme88k/dev/bussw.c
parent0941b7f1f3dcc38dc20d2613943aa615d5b3c25b (diff)
Introduce brdtyp and change what cputyp means.
Diffstat (limited to 'sys/arch/mvme88k/dev/bussw.c')
-rw-r--r--sys/arch/mvme88k/dev/bussw.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/dev/bussw.c b/sys/arch/mvme88k/dev/bussw.c
index 91989db7b58..53c9fe1f0d1 100644
--- a/sys/arch/mvme88k/dev/bussw.c
+++ b/sys/arch/mvme88k/dev/bussw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bussw.c,v 1.3 2001/12/19 04:02:25 smurph Exp $ */
+/* $OpenBSD: bussw.c,v 1.4 2001/12/19 07:04:41 smurph Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
@@ -79,8 +79,8 @@ bussw_match(parent, vcf, args)
{
struct confargs *ca = args;
struct bussw_reg *bussw;
- /* Don't match if wrong cpu */
- if (cputyp != CPU_197) return (0);
+ /* Don't match if wrong cpu */
+ if (brdtyp != BRD_197) return (0); /* The only one... */
bussw = (struct bussw_reg *)(IIOV(ca->ca_paddr));
if (badvaddr((vm_offset_t)bussw, 4)) {