From f45b99ef1d161786449b5791f151b25db39e5ffa Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 12 Aug 2004 04:26:06 +0000 Subject: [PATCH] Add SATA queued read/write commands. --- sys/dev/ata/atareg.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sys/dev/ata/atareg.h b/sys/dev/ata/atareg.h index fa7a49e99c61..4d6f5812cdf0 100644 --- a/sys/dev/ata/atareg.h +++ b/sys/dev/ata/atareg.h @@ -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