From da77194a02ceeccb61000832ea37ac4c1fa8255d Mon Sep 17 00:00:00 2001 From: bouyer Date: Mon, 22 Oct 2001 16:16:00 +0000 Subject: [PATCH] We can't have XS_CTL_DATA_OUT and XS_CTL_DATA_IN at the same time. Pointed out by Bernd Ernesti. --- sys/dev/scsipi/cd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/scsipi/cd.c b/sys/dev/scsipi/cd.c index 0698fc4643de..201822a312cd 100644 --- a/sys/dev/scsipi/cd.c +++ b/sys/dev/scsipi/cd.c @@ -1,4 +1,4 @@ -/* $NetBSD: cd.c,v 1.157 2001/09/02 13:11:53 tsutsui Exp $ */ +/* $NetBSD: cd.c,v 1.158 2001/10/22 16:16:00 bouyer Exp $ */ /*- * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc. @@ -1860,7 +1860,7 @@ dvd_auth(cd, a) dvd_copy_challenge(&buf[4], a->hsc.chal); error = scsipi_command(cd->sc_periph, &cmd, 12, buf, 16, CDRETRIES, 30000, NULL, - XS_CTL_DATA_OUT|XS_CTL_DATA_IN|XS_CTL_DATA_ONSTACK); + XS_CTL_DATA_OUT|XS_CTL_DATA_ONSTACK); if (error) return (error); a->type = DVD_LU_SEND_KEY1; @@ -1874,7 +1874,7 @@ dvd_auth(cd, a) dvd_copy_key(&buf[4], a->hsk.key); error = scsipi_command(cd->sc_periph, &cmd, 12, buf, 12, CDRETRIES, 30000, NULL, - XS_CTL_DATA_OUT|XS_CTL_DATA_IN|XS_CTL_DATA_ONSTACK); + XS_CTL_DATA_OUT|XS_CTL_DATA_ONSTACK); if (error) { a->type = DVD_AUTH_FAILURE; return (error);