summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-tape.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1999-03-07 21:49:14 +0000
committersos <sos@FreeBSD.org>1999-03-07 21:49:14 +0000
commitb16da6db457a4fb8f9ff205d41ba7f148df56ced (patch)
tree3aeb315e1614a9d5f1459c276a7112b3ab7d3db1 /sys/dev/ata/atapi-tape.c
parent65b8ae094477c6bee23ab43fa32dba44f3b9fd75 (diff)
downloadFreeBSD-src-b16da6db457a4fb8f9ff205d41ba7f148df56ced.zip
FreeBSD-src-b16da6db457a4fb8f9ff205d41ba7f148df56ced.tar.gz
ZIP drives should now be working, I'm not sure about LS120 drives,
reports on those most welcome! Fixed problems: Hang on probe on "fantom" devices. The probe now use a timeout to avoid hangs if no interrupt is recevied. There has also been more general code clenaups, and some reorgs.
Diffstat (limited to 'sys/dev/ata/atapi-tape.c')
-rw-r--r--sys/dev/ata/atapi-tape.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c
index d938cc2..ba963e8 100644
--- a/sys/dev/ata/atapi-tape.c
+++ b/sys/dev/ata/atapi-tape.c
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: atapi-tape.c,v 1.2 1999/03/03 21:10:29 sos Exp $
+ * $Id: atapi-tape.c,v 1.3 1999/03/05 09:43:30 sos Exp $
*/
#include "ata.h"
@@ -65,7 +65,9 @@ static struct cdevsw ast_cdevsw = {
astopen, astclose, astread, astwrite,
astioctl, nostop, nullreset, nodevtotty,
seltrue, nommap, aststrategy, "ast",
- NULL, -1 };
+ NULL, -1, nodump, nopsize,
+ D_TAPE, 0, -1
+};
static u_int32_t ast_total = 0;
OpenPOWER on IntegriCloud