diff options
author | 2007-04-10 07:57:21 +0000 | |
---|---|---|
committer | 2007-04-10 07:57:21 +0000 | |
commit | a18e7d7206c081af22d1b49346d831ff9e41427a (patch) | |
tree | dafa7e664a74f812c78ca1399fe7f6d83d26879e | |
parent | Rewrite ITITERATE macro to prevent out-of-bounds memory access. (diff) | |
download | wireguard-openbsd-a18e7d7206c081af22d1b49346d831ff9e41427a.tar.xz wireguard-openbsd-a18e7d7206c081af22d1b49346d831ff9e41427a.zip |
Sort ATA commands by value.
ok dlg@
-rw-r--r-- | sys/dev/ata/atascsi.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ata/atascsi.h b/sys/dev/ata/atascsi.h index 9df774c0afb..13ab5e773d6 100644 --- a/sys/dev/ata/atascsi.h +++ b/sys/dev/ata/atascsi.h @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.h,v 1.23 2007/04/05 11:13:05 dlg Exp $ */ +/* $OpenBSD: atascsi.h,v 1.24 2007/04/10 07:57:21 jsg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -22,17 +22,17 @@ struct atascsi; * ATA commands */ -#define ATA_C_IDENTIFY 0xec -#define ATA_C_FLUSH_CACHE 0xe7 -#define ATA_C_FLUSH_CACHE_EXT 0xea /* lba48 */ -#define ATA_C_READDMA 0xc8 -#define ATA_C_WRITEDMA 0xca #define ATA_C_READDMA_EXT 0x25 +#define ATA_C_READ_LOG_EXT 0x2f #define ATA_C_WRITEDMA_EXT 0x35 -#define ATA_C_PACKET 0xa0 #define ATA_C_READ_FPDMA 0x60 #define ATA_C_WRITE_FPDMA 0x61 -#define ATA_C_READ_LOG_EXT 0x2f +#define ATA_C_PACKET 0xa0 +#define ATA_C_READDMA 0xc8 +#define ATA_C_WRITEDMA 0xca +#define ATA_C_FLUSH_CACHE 0xe7 +#define ATA_C_FLUSH_CACHE_EXT 0xea /* lba48 */ +#define ATA_C_IDENTIFY 0xec struct ata_identify { u_int16_t config; /* 0 */ |