From: jmatthew Date: Wed, 31 May 2017 05:47:29 +0000 (+0000) Subject: fix SATA_SStatus_DET_OFFLINE value and add newer SStatus bits X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ad4aa80d2239f6910ef8b47c0a3670ae3ab94afc;p=openbsd fix SATA_SStatus_DET_OFFLINE value and add newer SStatus bits from Imre Vadasz via sf@ --- 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 @@ -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