diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2000-04-08 19:19:34 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 2000-04-08 19:19:34 +0000 |
commit | 2dcc33d32c3942299594bfc20b863252c16456fc (patch) | |
tree | d0996a515240ca3f08f75cf2bd64957fbc598f3e /sys/scsi/ch.c | |
parent | 8fb48f6fc6c6ae0cac2eeef44d83896b0e12a87b (diff) |
These days, attach can occur outside the tsleep-restricted world of
BSD autoconf.
Don't use POLL & NOSLEEP mode if attaching after autoconf
Diffstat (limited to 'sys/scsi/ch.c')
-rw-r--r-- | sys/scsi/ch.c | 4 |
1 files changed, 2 insertions, 2 deletions
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" |