From 2dcc33d32c3942299594bfc20b863252c16456fc Mon Sep 17 00:00:00 2001 From: Constantine Sapuntzakis Date: Sat, 8 Apr 2000 19:19:34 +0000 Subject: These days, attach can occur outside the tsleep-restricted world of BSD autoconf. Don't use POLL & NOSLEEP mode if attaching after autoconf --- sys/scsi/ch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/scsi/ch.c') diff --git a/sys/scsi/ch.c b/sys/scsi/ch.c index c9208ca2f36..8aae1578307 100644 --- a/sys/scsi/ch.c +++ b/sys/scsi/ch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ch.c,v 1.8 1998/03/22 20:19:59 tholo Exp $ */ +/* $OpenBSD: ch.c,v 1.9 2000/04/08 19:19:33 csapuntz Exp $ */ /* $NetBSD: ch.c,v 1.26 1997/02/21 22:06:52 thorpej Exp $ */ /* @@ -188,7 +188,7 @@ chattach(parent, self, aux) * Get information about the device. Note we can't use * interrupts yet. */ - if (ch_get_params(sc, SCSI_AUTOCONF)) + if (ch_get_params(sc, scsi_autoconf)) printf("%s: offline\n", sc->sc_dev.dv_xname); else { #define PLURAL(c) (c) == 1 ? "" : "s" -- cgit v1.2.3