From f65d9e31467729916923e469c27f001951bb4eb0 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Sat, 15 Dec 2007 15:04:59 +0900 Subject: [PATCH] --- yaml --- r: 75003 b: refs/heads/master c: ce2e0abbd31b047ac7be740d28ef710f5bbdb105 h: refs/heads/master i: 75001: bcabee35d0271a7f11d6ac6aba70e38dfe8a2979 74999: 815e95be7b79b8a0c86b65739cfd874e2f39f96a v: v3 --- [refs] | 2 +- trunk/include/linux/ata.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d5114d5da8d3..fbe41301215c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c2e366a107e511ad00c2181c52e4150fc086ec0f +refs/heads/master: ce2e0abbd31b047ac7be740d28ef710f5bbdb105 diff --git a/trunk/include/linux/ata.h b/trunk/include/linux/ata.h index 5c4e54a2a8d6..72ab80801ef6 100644 --- a/trunk/include/linux/ata.h +++ b/trunk/include/linux/ata.h @@ -190,6 +190,8 @@ enum { ATA_CMD_READ_LOG_EXT = 0x2f, ATA_CMD_PMP_READ = 0xE4, ATA_CMD_PMP_WRITE = 0xE8, + ATA_CMD_CONF_OVERLAY = 0xB1, + ATA_CMD_SEC_FREEZE_LOCK = 0xF5, /* READ_LOG_EXT pages */ ATA_LOG_SATA_NCQ = 0x10, @@ -239,6 +241,19 @@ enum { SATA_AN = 0x05, /* Asynchronous Notification */ SATA_DIPM = 0x03, /* Device Initiated Power Management */ + /* feature values for SET_MAX */ + ATA_SET_MAX_ADDR = 0x00, + ATA_SET_MAX_PASSWD = 0x01, + ATA_SET_MAX_LOCK = 0x02, + ATA_SET_MAX_UNLOCK = 0x03, + ATA_SET_MAX_FREEZE_LOCK = 0x04, + + /* feature values for DEVICE CONFIGURATION OVERLAY */ + ATA_DCO_RESTORE = 0xC0, + ATA_DCO_FREEZE_LOCK = 0xC1, + ATA_DCO_IDENTIFY = 0xC2, + ATA_DCO_SET = 0xC3, + /* ATAPI stuff */ ATAPI_PKT_DMA = (1 << 0), ATAPI_DMADIR = (1 << 2), /* ATAPI data dir: