diff options
| author | bouyer <bouyer@NetBSD.org> | 2001-12-01 00:00:29 +0000 |
|---|---|---|
| committer | bouyer <bouyer@NetBSD.org> | 2001-12-01 00:00:29 +0000 |
| commit | cd8d64fe2bac92270e186a8ba9abfe017ae1849c (patch) | |
| tree | 84abccc36f627a16a832f5afc753af52c90f7c0d /sys/dev/ic | |
| parent | 86e4569262a10afe47cad1ae4f17c72bc7dce62f (diff) | |
For ATAPI tape drives, poll for DSC (using a callout), to get the real
status of the command, and make sure the drive is ready for the next one.
Diffstat (limited to 'sys/dev/ic')
| -rw-r--r-- | sys/dev/ic/wdcvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/wdcvar.h b/sys/dev/ic/wdcvar.h index 5dc8b31100d..0f5bbe47b9e 100644 --- a/sys/dev/ic/wdcvar.h +++ b/sys/dev/ic/wdcvar.h @@ -1,4 +1,4 @@ -/* $NetBSD: wdcvar.h,v 1.30 2001/06/13 18:17:39 bjh21 Exp $ */ +/* $NetBSD: wdcvar.h,v 1.31 2001/12/01 00:00:30 bouyer Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -160,6 +160,7 @@ struct wdc_xfer { void *databuf; int c_bcount; /* byte count left */ int c_skip; /* bytes already transferred */ + int c_dscpoll; /* counter for dsc polling (ATAPI) */ TAILQ_ENTRY(wdc_xfer) c_xferchain; void (*c_start) __P((struct channel_softc *, struct wdc_xfer *)); int (*c_intr) __P((struct channel_softc *, struct wdc_xfer *, int)); |
