summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/vax/boot/xxboot/bootxx.c14
-rw-r--r--sys/arch/vax/stand/xxboot/bootxx.c14
2 files changed, 2 insertions, 26 deletions
diff --git a/sys/arch/vax/boot/xxboot/bootxx.c b/sys/arch/vax/boot/xxboot/bootxx.c
index 7c57b7267fa..9ad7d725e1d 100644
--- a/sys/arch/vax/boot/xxboot/bootxx.c
+++ b/sys/arch/vax/boot/xxboot/bootxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootxx.c,v 1.5 2002/06/11 09:36:24 hugh Exp $ */
+/* $OpenBSD: bootxx.c,v 1.6 2002/06/11 13:10:03 hugh Exp $ */
/* $NetBSD: bootxx.c,v 1.16 2002/03/29 05:45:08 matt Exp $ */
/*-
@@ -305,19 +305,7 @@ devopen(f, fname, file)
*/
unit_init(initfn, rpb, bootregs[12]);
}
-#ifdef LIBSA_TOO_OLD_FOO
- /* currently only one dev in devsw; this must change if we add more */
- dp = devsw;
- i = 0;
- if(dp != NULL && dp->dv_open != NULL) {
- i = (*dp->dv_open)(f, B_ADAPTOR(bootdev), B_CONTROLLER(bootdev),
- B_UNIT(bootdev), B_PARTITION(bootdev));
- }
-
- return i;
-#else
return 0;
-#endif
}
extern struct disklabel romlabel;
diff --git a/sys/arch/vax/stand/xxboot/bootxx.c b/sys/arch/vax/stand/xxboot/bootxx.c
index 7c57b7267fa..9ad7d725e1d 100644
--- a/sys/arch/vax/stand/xxboot/bootxx.c
+++ b/sys/arch/vax/stand/xxboot/bootxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootxx.c,v 1.5 2002/06/11 09:36:24 hugh Exp $ */
+/* $OpenBSD: bootxx.c,v 1.6 2002/06/11 13:10:03 hugh Exp $ */
/* $NetBSD: bootxx.c,v 1.16 2002/03/29 05:45:08 matt Exp $ */
/*-
@@ -305,19 +305,7 @@ devopen(f, fname, file)
*/
unit_init(initfn, rpb, bootregs[12]);
}
-#ifdef LIBSA_TOO_OLD_FOO
- /* currently only one dev in devsw; this must change if we add more */
- dp = devsw;
- i = 0;
- if(dp != NULL && dp->dv_open != NULL) {
- i = (*dp->dv_open)(f, B_ADAPTOR(bootdev), B_CONTROLLER(bootdev),
- B_UNIT(bootdev), B_PARTITION(bootdev));
- }
-
- return i;
-#else
return 0;
-#endif
}
extern struct disklabel romlabel;