diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-10-31 10:54:40 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2014-10-31 10:54:40 +0000 |
commit | 293febad156729395747f999389cb9d886080da6 (patch) | |
tree | 6ed4d8f8b03b53c5f8566b07f29e86eb89ee98e3 | |
parent | c6ac2552e8f58e6e45c8dfa68c6c15b93be8cb05 (diff) |
The config logic with "rl needs-flag" got
removed back in 2011. Remove code under #if NRL > 0.
ok miod@
-rw-r--r-- | sys/arch/vax/vax/autoconf.c | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/arch/vax/vax/autoconf.c b/sys/arch/vax/vax/autoconf.c index 010e306769c..45a942494c9 100644 --- a/sys/arch/vax/vax/autoconf.c +++ b/sys/arch/vax/vax/autoconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: autoconf.c,v 1.37 2014/05/17 12:08:37 miod Exp $ */ +/* $OpenBSD: autoconf.c,v 1.38 2014/10/31 10:54:39 jsg Exp $ */ /* $NetBSD: autoconf.c,v 1.45 1999/10/23 14:56:05 ragge Exp $ */ /* @@ -177,9 +177,6 @@ static int booted_de(struct device *, void *); #if NSD > 0 || NCD > 0 static int booted_sd(struct device *, void *); #endif -#if NRL > 0 -static int booted_rl(struct device *, void *); -#endif #if NRA static int booted_ra(struct device *, void *); #endif @@ -195,9 +192,6 @@ int (*devreg[])(struct device *, void *) = { #if NSD > 0 || NCD > 0 booted_sd, #endif -#if NRL > 0 - booted_rl, -#endif #if NRA booted_ra, #endif @@ -327,25 +321,6 @@ booted_sd(struct device *dev, void *aux) return 0; /* Where did we come from??? */ } #endif -#if NRL > 0 -#include <dev/qbus/rlvar.h> -int -booted_rl(struct device *dev, void *aux) -{ - struct rlc_attach_args *raa = aux; - static int ub; - - if (jmfr("rlc", dev, BDEV_RL) == 0) - ub = ubtest(aux); - if (ub) - return 0; - if (jmfr("rl", dev, BDEV_RL)) - return 0; - if (raa->hwid != rpb.unit) - return 0; /* Wrong unit number */ - return 1; -} -#endif #if NRA #include <arch/vax/mscp/mscp.h> |