[Iprdd-commit] iprutils iprlib.h,1.101,1.102
Brought to you by:
brking
From: Wayne B. <wb...@us...> - 2008-08-20 23:04:39
|
Update of /cvsroot/iprdd/iprutils In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv24974/iprutils Modified Files: iprlib.h Log Message: Fixed a problem that caused a compile failure on small endian systems. Index: iprlib.h =================================================================== RCS file: /cvsroot/iprdd/iprutils/iprlib.h,v retrieving revision 1.101 retrieving revision 1.102 diff -u -d -r1.101 -r1.102 --- iprlib.h 14 Aug 2008 01:12:54 -0000 1.101 +++ iprlib.h 20 Aug 2008 22:59:29 -0000 1.102 @@ -637,19 +637,19 @@ struct ipr_array_cap_entry { u8 prot_level; #define IPR_DEFAULT_RAID_LVL "5" + #if defined (__BIG_ENDIAN_BITFIELD) u8 include_allowed:1; u8 reserved:5; u8 format_overlay_type:2; - -#define IPR_FORMAT_ADD_DEVICES 1 -#define IPR_FORMAT_REMOVE_DEVICES 2 - #elif defined (__LITTLE_ENDIAN_BITFIELD) u8 format_overlay_type:2; u8 reserved:5; u8 include_allowed:1; #endif +#define IPR_FORMAT_ADD_DEVICES 1 +#define IPR_FORMAT_REMOVE_DEVICES 2 + u16 reserved2; u8 reserved3; u8 max_num_array_devices; |