pdcraid.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:1k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

  1. struct promise_raid_conf {
  2.     char                promise_id[24];
  3.     u32             dummy_0;
  4.     u32             magic_0;
  5.     u32             dummy_1;
  6.     u32             magic_1;
  7.     u16             dummy_2;
  8.     u8              filler1[470];
  9.     struct {
  10.         u32 flags;                          /* 0x200 */
  11.         u8          dummy_0;
  12.         u8          disk_number;
  13.         u8          channel;
  14.         u8          device;
  15.         u32         magic_0;
  16.         u32         dummy_1;
  17.         u32         dummy_2;                /* 0x210 */
  18.         u32         disk_secs;
  19.         u32         dummy_3;
  20.         u16         dummy_4;
  21.         u8          status;
  22.         u8          type;
  23.         u8        total_disks;            /* 0x220 */
  24.         u8        raid0_shift;
  25.         u8        raid0_disks;
  26.         u8        array_number;
  27.         u32       total_secs;
  28.         u16       cylinders;
  29.         u8        heads;
  30.         u8        sectors;
  31.         u32         magic_1;
  32.         u32         dummy_5;                /* 0x230 */
  33.         struct {
  34.             u16     dummy_0;
  35.             u8      channel;
  36.             u8      device;
  37.             u32     magic_0;
  38.             u32     disk_number;
  39.         } disk[8];
  40.     } raid;
  41.     u32             filler2[346];
  42.     u32            checksum;
  43. };
  44. #define PR_MAGIC        "Promise Technology, Inc."