diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 2002-03-08 11:33:52 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 2002-03-08 11:33:52 +0000 |
| commit | 84409b36cada7de4fa406ba76c790c02c77ed03a (patch) | |
| tree | 690fdb5526ee56fd0f9d3195b34ea749b524d5b1 /sys/dev/ata/ata-raid.h | |
| parent | b8ad1eb2703ca4064757e83a80787c24b5fcfd70 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ata/ata-raid.h')
| -rw-r--r-- | sys/dev/ata/ata-raid.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-raid.h b/sys/dev/ata/ata-raid.h index 9b10af6c04c6..03a7e16aae60 100644 --- a/sys/dev/ata/ata-raid.h +++ b/sys/dev/ata/ata-raid.h @@ -35,7 +35,7 @@ #define AR_READ 0x01 #define AR_WRITE 0x02 #define AR_WAIT 0x04 -#define AR_STRATEGY(x) (x)->bio_dev->si_disk->d_devsw->d_strategy((x)) +#define AR_STRATEGY(x) (x)->bio_dev->si_disk->d_devsw->d_strategy((x)) #define AD_SOFTC(x) ((struct ad_softc *)(x.device->driver)) struct ar_disk { @@ -137,7 +137,14 @@ struct highpoint_raid_conf { u_int8_t sectors; u_int32_t lba; } errorlog[32]; - int8_t filler2[60]; + int8_t filler2[16]; + u_int32_t magic_2; +#define HPT_MAGIC_2 0x7fffffff + u_int8_t dummy_1; + u_int8_t name_1[15]; + u_int8_t dummy_2; + u_int8_t name_2[15]; + int8_t filler3[8]; } __attribute__((packed)); |
