Add SATA queued read/write commands.

This commit is contained in:
thorpej 2004-08-12 04:26:06 +00:00
parent 77cc762658
commit f45b99ef1d
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: atareg.h,v 1.18 2004/05/03 20:11:40 bouyer Exp $ */
/* $NetBSD: atareg.h,v 1.19 2004/08/12 04:26:06 thorpej Exp $ */
/*
* Copyright (c) 1998, 2001 Manuel Bouyer.
@ -141,6 +141,10 @@
#define WDCC_READDMA_EXT 0x25 /* read 48-bit addressing with DMA */
#define WDCC_WRITEDMA_EXT 0x35 /* write 48-bit addressing with DMA */
/* Native SATA command queueing */
#define WDCC_READ_FPDMA_QUEUED 0x60 /* SATA native queued read (48bit) */
#define WDCC_WRITE_FPDMA_QUEUED 0x61 /* SATA native queued write (48bit) */
/* Subcommands for SET_FEATURES (features register) */
#define WDSF_WRITE_CACHE_EN 0x02
#define WDSF_SET_MODE 0x03