summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorbriggs <briggs@cvs.openbsd.org>1997-04-23 13:38:36 +0000
committerbriggs <briggs@cvs.openbsd.org>1997-04-23 13:38:36 +0000
commitd761d42c1b72901509c9084e6e913a9f0b08c567 (patch)
tree795ead202a1fb3c5fbfdec2951498ab0a58110cb /sys
parent4a9e68c0e27f9d78c7c86e95b01e42d204b80cca (diff)
On video devices, if we're loading non-default resource values, save the
resource ID. Thanks to Paul Goyette <paul@pgoyette.bdt.com> for spotting this one.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/mac68k/dev/nubus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mac68k/dev/nubus.c b/sys/arch/mac68k/dev/nubus.c
index 174ec6d0960..52b89222806 100644
--- a/sys/arch/mac68k/dev/nubus.c
+++ b/sys/arch/mac68k/dev/nubus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nubus.c,v 1.10 1997/04/08 04:14:46 briggs Exp $ */
+/* $OpenBSD: nubus.c,v 1.11 1997/04/23 13:38:35 briggs Exp $ */
/* $NetBSD: nubus.c,v 1.32 1997/02/28 07:54:02 scottr Exp $ */
/*
@@ -202,6 +202,8 @@ nubus_attach(parent, self, aux)
(caddr_t) &slottype,
sizeof(nubus_type)) <= 0)
continue;
+
+ rsrcid = r;
}
}