mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Set feature register for atapi commands.
svn path=/trunk/; revision=2776
This commit is contained in:
parent
7f0bfc685d
commit
e3879d11ec
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue