From: briggs Date: Wed, 23 Apr 1997 13:38:35 +0000 (+0000) Subject: On video devices, if we're loading non-default resource values, save the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4e78bb3de2c0eeb1056eea637dae1c7682a8e442;p=openbsd On video devices, if we're loading non-default resource values, save the resource ID. Thanks to Paul Goyette for spotting this one. --- 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; } }