summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev/if_le.c
diff options
context:
space:
mode:
authorchuck <chuck@cvs.openbsd.org>1996-05-29 17:54:14 +0000
committerchuck <chuck@cvs.openbsd.org>1996-05-29 17:54:14 +0000
commitbb0ea3c8c626dab58d9fca1820f7d7df15ced8ca (patch)
treee88eebe5e75c85df20676054f1f9b575d910bf3d /sys/arch/mvme68k/dev/if_le.c
parentef8cd5454d010b6164eee47f280096ab43424bc7 (diff)
update for new generic boot
Diffstat (limited to 'sys/arch/mvme68k/dev/if_le.c')
-rw-r--r--sys/arch/mvme68k/dev/if_le.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/dev/if_le.c b/sys/arch/mvme68k/dev/if_le.c
index 3462c189fbb..34c7aacaf9b 100644
--- a/sys/arch/mvme68k/dev/if_le.c
+++ b/sys/arch/mvme68k/dev/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.7 1996/05/10 12:42:24 deraadt Exp $ */
+/* $OpenBSD: if_le.c,v 1.8 1996/05/29 17:54:12 chuck Exp $ */
/*-
* Copyright (c) 1982, 1992, 1993
@@ -138,6 +138,10 @@ leattach(parent, self, aux)
printf(" pri %d", pri);
+ /* Are we the boot device? */
+ if (ca->ca_paddr == bootaddr)
+ bootdv = self;
+
/* connect the interrupt */
lesc->sc_ih.ih_fn = am7990_intr;
lesc->sc_ih.ih_arg = sc;