diff options
author | jkim <jkim@FreeBSD.org> | 2006-01-13 23:50:21 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2006-01-13 23:50:21 +0000 |
commit | ab38cf45fb259c683ad45977883ffc339b10e9ec (patch) | |
tree | b2a24b48da00dc4f4adb16c5f3f42a8c43eba5a6 | |
parent | 0831ea2ee53634a68952203a73daf221f7cd6be6 (diff) | |
download | FreeBSD-src-ab38cf45fb259c683ad45977883ffc339b10e9ec.zip FreeBSD-src-ab38cf45fb259c683ad45977883ffc339b10e9ec.tar.gz |
- Correct amr_enquiry3 structure[1].
- Remove redundant AMR_CONFIG_ENQ3_SOLICITED_NOTIFY from the previous
commit while I am here.
PR: kern/29727 [1]
-rw-r--r-- | sys/dev/amr/amrreg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/amr/amrreg.h b/sys/dev/amr/amrreg.h index 8056ded..cb9b83d 100644 --- a/sys/dev/amr/amrreg.h +++ b/sys/dev/amr/amrreg.h @@ -124,9 +124,8 @@ #define AMR_CMD_PASS_64 0xc3 #define AMR_CMD_EXTPASS 0xe3 -#define AMR_CONFIG_READ_NVRAM_CONFIG 0x04 -#define AMR_CONFIG_WRITE_NVRAM_CONFIG 0x0d -#define AMR_CONFIG_ENQ3_SOLICITED_NOTIFY 0x01 +#define AMR_CONFIG_READ_NVRAM_CONFIG 0x04 +#define AMR_CONFIG_WRITE_NVRAM_CONFIG 0x0d #define AMR_CONFIG_PRODUCT_INFO 0x0e #define AMR_CONFIG_ENQ3 0x0f #define AMR_CONFIG_ENQ3_SOLICITED_NOTIFY 0x01 @@ -392,8 +391,9 @@ struct amr_enquiry3 u_int16_t ae_opstatus[AMR_40LD_MAXDRIVES / 8]; /* operation status per drive */ u_int32_t ae_drivesize[AMR_40LD_MAXDRIVES]; /* logical drive size */ u_int8_t ae_driveprop[AMR_40LD_MAXDRIVES]; /* logical drive properties */ - u_int8_t ae_drivestate[AMR_40LD_MAXDRIVES]; /* physical drive state */ - u_int16_t ae_driveformat[AMR_40LD_MAXPHYSDRIVES]; + u_int8_t ae_drivestate[AMR_40LD_MAXDRIVES]; /* logical drive state */ + u_int8_t ae_pdrivestate[AMR_40LD_MAXPHYSDRIVES]; /* physical drive state */ + u_int16_t ae_pdriveformat[AMR_40LD_MAXPHYSDRIVES / 16]; u_int8_t ae_targxfer[80]; /* physical drive transfer rates */ u_int8_t res1[263]; /* pad to 1024 bytes */ |