diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-04-28 17:21:17 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-04-28 17:21:17 +0000 |
commit | 2c422548d376c232b55e017e05ccd18533154769 (patch) | |
tree | ec2c20188c2cf555d351d45c67313b45bad41a60 /sys | |
parent | 9ffb9db292bf3712445ecff0014ab911a43093ce (diff) |
Add FLUSH CACHE EXT command from ATA/ATAPI-6 spec.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/wdcreg.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/wdcreg.h b/sys/dev/ic/wdcreg.h index a58a54368fe..96207c17904 100644 --- a/sys/dev/ic/wdcreg.h +++ b/sys/dev/ic/wdcreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: wdcreg.h,v 1.11 2004/01/23 20:48:33 grange Exp $ */ +/* $OpenBSD: wdcreg.h,v 1.12 2004/04/28 17:21:16 grange Exp $ */ /* $NetBSD: wdcreg.h,v 1.22 1999/03/07 14:02:54 bouyer Exp $ */ /*- @@ -114,6 +114,8 @@ #define WDCC_READDMA_EXT 0x25 /* read 48-bit addressing with DMA */ #define WDCC_WRITEDMA_EXT 0x35 /* write 48-bit addressing with DMA */ +#define WDCC_FLUSHCACHE_EXT 0xea /* 48-bit addressing flush cache */ + /* Subcommands for SET_FEATURES (features register ) */ #define WDSF_8BIT_PIO_EN 0x01 /* Enable 8bit PIO (CFA featureset) */ #define WDSF_EN_WR_CACHE 0x02 |