diff options
author | ps <ps@FreeBSD.org> | 2003-12-08 16:07:35 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2003-12-08 16:07:35 +0000 |
commit | 3f862834e571d4eb5c6f7157b0609731b66061d0 (patch) | |
tree | 9c886691412eabcb57b8b52fe2f609c44f10e952 | |
parent | e2ed71239438074bd812f27f7694c1b6bf58f348 (diff) | |
download | FreeBSD-src-3f862834e571d4eb5c6f7157b0609731b66061d0.zip FreeBSD-src-3f862834e571d4eb5c6f7157b0609731b66061d0.tar.gz |
Define RAID 5+1 and RAID ADG fault tolerances
-rw-r--r-- | sys/dev/ciss/ciss.c | 4 | ||||
-rw-r--r-- | sys/dev/ciss/cissreg.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index b9594d0..d0583cb 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -3380,6 +3380,10 @@ ciss_name_ldrive_org(int org) return("RAID 4"); case CISS_LDRIVE_RAID5: return("RAID 5"); + case CISS_LDRIVE_RAID51: + return("RAID 5+1"); + case CISS_LDRIVE_RAIDADG: + return("RAID ADG"); } return("unkown"); } diff --git a/sys/dev/ciss/cissreg.h b/sys/dev/ciss/cissreg.h index c7844e9..f09da7f 100644 --- a/sys/dev/ciss/cissreg.h +++ b/sys/dev/ciss/cissreg.h @@ -494,6 +494,8 @@ struct ciss_bmic_id_ldrive { #define CISS_LDRIVE_RAID4 1 #define CISS_LDRIVE_RAID1 2 #define CISS_LDRIVE_RAID5 3 +#define CISS_LDRIVE_RAID51 4 +#define CISS_LDRIVE_RAIDADG 5 u_int8_t res1[2]; #if 0 /* only for identify logical drive extended (0x18) */ u_int32_t logical_drive_identifier; |