gpio: Add TC35892 GPIO driver
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / md / raid0.h
blobd724e664ca4dace9fa27fee815d84d6b7e40d946
1 #ifndef _RAID0_H
2 #define _RAID0_H
4 struct strip_zone
6 sector_t zone_end; /* Start of the next zone (in sectors) */
7 sector_t dev_start; /* Zone offset in real dev (in sectors) */
8 int nb_dev; /* # of devices attached to the zone */
9 };
11 struct raid0_private_data
13 struct strip_zone *strip_zone;
14 mdk_rdev_t **devlist; /* lists of rdevs, pointed to by strip_zone->dev */
15 int nr_strip_zones;
16 int scale_raid_disks; /* divide rdev->raid_disks by this in run()
17 * to handle conversion from raid10
21 typedef struct raid0_private_data raid0_conf_t;
23 #endif