[PATCH 1/3] WIN_* -> ATA_CMD_* conversion (take #2): add new entries to ata.h
From: Chris Wedgwood
Date: Sun Nov 07 2004 - 01:08:46 EST
===== include/linux/ata.h 1.19 vs edited =====
--- 1.19/include/linux/ata.h 2004-11-02 11:32:44 -08:00
+++ edited/include/linux/ata.h 2004-11-06 21:39:38 -08:00
@@ -1,4 +1,3 @@
-
/*
Copyright 2003-2004 Red Hat, Inc. All rights reserved.
Copyright 2003-2004 Jeff Garzik
@@ -121,6 +120,26 @@
ATA_CMD_PIO_WRITE_EXT = 0x34,
ATA_CMD_SET_FEATURES = 0xEF,
ATA_CMD_PACKET = 0xA0,
+ ATA_CMD_NOP = 0x00,
+ ATA_CMD_SMART = 0xB0,
+ ATA_CMD_DEVICE_RESET = 0x08,
+ ATA_CMD_READ_MULTIPLE_EXT = 0x29,
+ ATA_CMD_WRITE_MULTIPLE_EXT= 0x39,
+ ATA_CMD_READ_MULTIPLE = 0xC4,
+ ATA_CMD_WRITE_MULTIPLE = 0xC5,
+ ATA_CMD_SET_MULTIPLE_MODE = 0xC6,
+ ATA_CMD_MEDIA_LOCK = 0xDE,
+ ATA_CMD_MEDIA_UNLOCK = 0xDF,
+ ATA_CMD_STANDBY_IMMEDIATE = 0xE0,
+ ATA_CMD_IDLE_IMMEDIATE = 0xE1,
+ ATA_CMD_READ_NATIVE_MAX_ADDRESS = 0xF8,
+ ATA_CMD_READ_NATIVE_MAX_ADDRESS_EXT = 0x27,
+ ATA_CMD_SET_MAX_ADDRESS = 0xF9,
+ ATA_CMD_SET_MAX_ADDRESS_EXT = 0x37,
+
+ /* marked obsolete in the ATA/ATAPI-7 spec */
+ ATA_CMD_RESTORE = 0x10,
+ ATA_CMD_SPECIFY = 0x91,
/* SETFEATURES stuff */
SETFEATURES_XFER = 0x03,
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/