diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2017-05-31 05:47:30 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2017-05-31 05:47:30 +0000 |
commit | 5904ec7c3a1e2b41a17b91197c62665a663af1e3 (patch) | |
tree | ad5d2bd8189dff20c43ef055142058a7329baa2e /sys/dev | |
parent | b7b4c424285efbce2013ad079c10ea7ee687016b (diff) |
fix SATA_SStatus_DET_OFFLINE value and add newer SStatus bits
from Imre Vadasz via sf@
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ata/atascsi.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ata/atascsi.h b/sys/dev/ata/atascsi.h index 93e3021c8fd..d91a85fa838 100644 --- a/sys/dev/ata/atascsi.h +++ b/sys/dev/ata/atascsi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.h,v 1.50 2015/12/29 09:44:46 kettenis Exp $ */ +/* $OpenBSD: atascsi.h,v 1.51 2017/05/31 05:47:29 jmatthew Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -275,18 +275,20 @@ struct ata_log_page_10h { #define SATA_SStatus_DET_NODEV 0x000 #define SATA_SStatus_DET_NOPHY 0x001 #define SATA_SStatus_DET_DEV 0x003 -#define SATA_SStatus_DET_OFFLINE 0x008 +#define SATA_SStatus_DET_OFFLINE 0x004 #define SATA_SStatus_SPD 0x0f0 #define SATA_SStatus_SPD_NONE 0x000 #define SATA_SStatus_SPD_1_5 0x010 #define SATA_SStatus_SPD_3_0 0x020 +#define SATA_SStatus_SPD_6_0 0x030 #define SATA_SStatus_IPM 0xf00 #define SATA_SStatus_IPM_NODEV 0x000 #define SATA_SStatus_IPM_ACTIVE 0x100 #define SATA_SStatus_IPM_PARTIAL 0x200 #define SATA_SStatus_IPM_SLUMBER 0x600 +#define SATA_SStatus_IPM_DEVSLEEP 0x800 #define SATA_SIGNATURE_PORT_MULTIPLIER 0x96690101 #define SATA_SIGNATURE_ATAPI 0xeb140101 |