On video devices, if we're loading non-default resource values, save the
authorbriggs <briggs@openbsd.org>
Wed, 23 Apr 1997 13:38:35 +0000 (13:38 +0000)
committerbriggs <briggs@openbsd.org>
Wed, 23 Apr 1997 13:38:35 +0000 (13:38 +0000)
resource ID.  Thanks to Paul Goyette <paul@pgoyette.bdt.com> for spotting
this one.

sys/arch/mac68k/dev/nubus.c

index 174ec6d..52b8922 100644 (file)
@@ -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;
                        }
                }