patch-2.1.122 linux/include/linux/hdreg.h
Next file: linux/include/linux/loop.h
Previous file: linux/include/linux/cdrom.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Sep 16 13:53:25 1998
- Orig file:
v2.1.121/linux/include/linux/hdreg.h
- Orig date:
Fri Jul 31 17:05:52 1998
diff -u --recursive --new-file v2.1.121/linux/include/linux/hdreg.h linux/include/linux/hdreg.h
@@ -42,6 +42,7 @@
#define WIN_RESTORE 0x10
#define WIN_READ 0x20
#define WIN_WRITE 0x30
+#define WIN_WRITE_VERIFY 0x3C
#define WIN_VERIFY 0x40
#define WIN_FORMAT 0x50
#define WIN_INIT 0x60
@@ -62,6 +63,9 @@
#define WIN_READDMA 0xc8 /* read sectors using DMA transfers */
#define WIN_WRITEDMA 0xca /* write sectors using DMA transfers */
+#define WIN_READ_BUFFER 0xE4 /* force read only 1 sector */
+#define WIN_WRITE_BUFFER 0xE8 /* force write only 1 sector */
+
#define WIN_SMART 0xb0 /* self-monitoring and reporting */
/* Additional drive command codes used by ATAPI devices. */
@@ -85,6 +89,7 @@
#define MARK_ERR 0x01 /* Bad address mark */
#define TRK0_ERR 0x02 /* couldn't find track 0 */
#define ABRT_ERR 0x04 /* Command aborted */
+#define MCR_ERR 0x08 /* media change request */
#define ID_ERR 0x10 /* ID field not found */
#define ECC_ERR 0x40 /* Uncorrectable ECC error */
#define BBD_ERR 0x80 /* pre-EIDE meaning: block marked bad */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov