summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorThierry Deval <tdeval@cvs.openbsd.org>2004-01-30 23:07:37 +0000
committerThierry Deval <tdeval@cvs.openbsd.org>2004-01-30 23:07:37 +0000
commita1398470e65d6b3082b2287adbd41cb7cb381c93 (patch)
treec2ef1de9a2a0d90e75a317786e63e1e7863244d2 /sys/scsi
parent8f54245edb885eecf8e343fb11284c73916080ed (diff)
Backout until we have a better implementation...
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsiconf.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index 05604b6fc41..c6b82e83ca6 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsiconf.c,v 1.83 2004/01/29 13:46:25 tdeval Exp $ */
+/* $OpenBSD: scsiconf.c,v 1.84 2004/01/30 23:07:36 tdeval Exp $ */
/* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */
/*
@@ -47,11 +47,10 @@
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*/
+#include <sys/types.h>
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/malloc.h>
-#include <sys/kernel.h>
-#include <sys/proc.h>
#include <sys/device.h>
#include <scsi/scsi_all.h>
@@ -193,10 +192,7 @@ scsibusattach(parent, self, aux)
#undef SCSI_DELAY
#define SCSI_DELAY 2
#endif /* SCSI_DELAY */
- if (cold)
- delay(1000000 * SCSI_DELAY);
- else
- tsleep(sb, PRIBIO, NULL, SCSI_DELAY * hz);
+ delay(1000000 * SCSI_DELAY);
scsi_probe_bus(sb->sc_dev.dv_unit, -1, -1);
}