diff options
author | delphij <delphij@FreeBSD.org> | 2009-04-07 16:38:25 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-04-07 16:38:25 +0000 |
commit | 5758952badba891b949bd0a1bb5257023b91845c (patch) | |
tree | 9183bf09fd6f0d8e1af06cb8a8fae4e4e12d601b /sys/dev/hptmv/array.h | |
parent | 74bdada6279a90d684771a7421cd53c5f2eeeae7 (diff) | |
download | FreeBSD-src-5758952badba891b949bd0a1bb5257023b91845c.zip FreeBSD-src-5758952badba891b949bd0a1bb5257023b91845c.tar.gz |
Update driver to vendor's version 1.16 plus some local changes:
- override_kernel_driver() has been removed since this is an
in-tree version of driver.
- __DATE__ and __TIME__ removed from version string to make
binary update builders happy.
- Utilize pause(9) for __FreeBSDversion >= 700033 (redo 167086).
- Utilize kproc_suspend_check() for __FreeBSDversion >= 800002.
(redo 172836).
- Don't read past end of pVDevice (redo 143787).
- Make sure that controller and channel are initialized (redo 169823).
- Don't include cam/cam_xpt_periph.h (redo 158177).
MFC After: 3 days
Diffstat (limited to 'sys/dev/hptmv/array.h')
-rw-r--r-- | sys/dev/hptmv/array.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/hptmv/array.h b/sys/dev/hptmv/array.h index 14d627a..7b50774 100644 --- a/sys/dev/hptmv/array.h +++ b/sys/dev/hptmv/array.h @@ -62,7 +62,7 @@ typedef struct _RaidArray UCHAR reserve1; ULONG dArStamp; /* array ID. all disks in a array has same ID */ - ULONG failedStamp; /* stamp for failed member */ + ULONG failedStamps[4]; /* stamp for failed members */ USHORT bStripeWitch; /* = (1 << BlockSizeShift) */ USHORT rf_broken: 1; @@ -84,7 +84,7 @@ typedef struct _RaidArray USHORT CriticalMembers; /* tell which member is critial */ UCHAR last_read; /* for RAID 1 load banlancing */ - UCHAR PrivateFlag1; + UCHAR alreadyBroken; LBA_T RebuildSectors; /* how many sectors is OK (LBA on member disk) */ @@ -152,8 +152,8 @@ typedef struct _ArrayDescript #define ArrayDescript_3_1_size 512 UCHAR bCheckSum31; /* new check sum */ - UCHAR PrivateFlag1; /* private */ - UCHAR reserve1; + UCHAR PrivateFlag1; /* private */ + UCHAR alreadyBroken; /* last stamp has been saved to failedStamps */ #ifdef __BIG_ENDIAN_BITFIELD UCHAR df_read_ahead: 1; /* enable read ahead */ @@ -181,7 +181,7 @@ typedef struct _ArrayDescript } levelex[2]; - ULONG failedStamp; /* array stamp for failed memebr */ + ULONG failedStamps[4]; /* failed memebrs's stamps */ } ArrayDescript; |