From e3879d11eccffabfba39aa8ee491af8f28e986a9 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 24 Mar 2002 15:29:57 +0000 Subject: [PATCH] Set feature register for atapi commands. svn path=/trunk/; revision=2776 --- reactos/drivers/storage/atapi/atapi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/storage/atapi/atapi.c b/reactos/drivers/storage/atapi/atapi.c index e072ed0adb1..85fece9f474 100644 --- a/reactos/drivers/storage/atapi/atapi.c +++ b/reactos/drivers/storage/atapi/atapi.c @@ -16,7 +16,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* $Id: atapi.c,v 1.16 2002/03/22 23:05:13 ekohl Exp $ +/* $Id: atapi.c,v 1.17 2002/03/24 15:29:57 ekohl Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS ATAPI miniport driver @@ -1443,6 +1443,9 @@ AtapiSendAtapiCommand(IN PATAPI_MINIPORT_EXTENSION DeviceExtension, ByteCountHigh = 0xFF; } + /* Set feature register */ + IDEWritePrecomp(DeviceExtension->CommandPortBase, 0); + /* Set command packet length */ IDEWriteCylinderHigh(DeviceExtension->CommandPortBase, ByteCountHigh); IDEWriteCylinderLow(DeviceExtension->CommandPortBase, ByteCountLow);