diff options
author | julian <julian@FreeBSD.org> | 1998-07-13 08:23:05 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1998-07-13 08:23:05 +0000 |
commit | 1dc298263b8472c42f06ae8d53d88b88d443c895 (patch) | |
tree | f7b039cefef35b7038646d2a611116206a1c3f50 /sys/scsi | |
parent | 1805fa7aa872b21ea42eaf5c8226a0739bc9f86f (diff) | |
download | FreeBSD-src-1dc298263b8472c42f06ae8d53d88b88d443c895.zip FreeBSD-src-1dc298263b8472c42f06ae8d53d88b88d443c895.tar.gz |
SLICE probing becomes asynchronous. It can now be triggered by
interupt level events. This needs a lot of cleanup, but has been working
here for a month or two.. originally needed for CAM integration
but that hasn't happenned yet. The probing state machines for each
handler should be replaced by a more generic state-service. It's
still quite messy in there..
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/sd.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 697fe4a..f9e7b68 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -14,7 +14,7 @@ * * Ported to run under 386BSD by Julian Elischer (julian@dialix.oz.au) Sept 1992 * - * $Id: sd.c,v 1.132 1998/07/04 22:30:24 julian Exp $ + * $Id: sd.c,v 1.133 1998/07/11 07:45:59 bde Exp $ */ #include "opt_bounce.h" @@ -323,7 +323,6 @@ sdattach(struct scsi_link *sc_link) sd, &sd->limit, &sd->slice, - NULL, namebuf); /* Allow full probing */ sd->slice->probeinfo.typespecific = NULL; @@ -359,10 +358,9 @@ sds_init(void *arg) struct scsi_data *sd = arg; sh_p tp; - if ((tp = slice_probeall(sd->slice)) != NULL) { - (*tp->constructor)(sd->slice); - } + slice_start_probe(sd->slice); config_intrhook_disestablish(&sd->ich); + DELAY(2000000); /* XXX */ } #endif /* SLICE */ |