diff options
author | sos <sos@FreeBSD.org> | 2002-03-16 15:55:20 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2002-03-16 15:55:20 +0000 |
commit | 2b25f973e2c2bd3048b444a4bc0b5ce371dcf742 (patch) | |
tree | 4d0455c17065d175a72c3bca6983552a129777e8 /sys/dev/ata/ata-raid.h | |
parent | 7a533342ff33e5d27fc90dc03cb0469c1cbbb8bb (diff) | |
download | FreeBSD-src-2b25f973e2c2bd3048b444a4bc0b5ce371dcf742.zip FreeBSD-src-2b25f973e2c2bd3048b444a4bc0b5ce371dcf742.tar.gz |
Fix 64bit arch problems.
Diffstat (limited to 'sys/dev/ata/ata-raid.h')
-rw-r--r-- | sys/dev/ata/ata-raid.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ata/ata-raid.h b/sys/dev/ata/ata-raid.h index 474ca97..f5cd69b 100644 --- a/sys/dev/ata/ata-raid.h +++ b/sys/dev/ata/ata-raid.h @@ -178,7 +178,7 @@ struct promise_raid_conf { u_int8_t disk_number; u_int8_t channel; u_int8_t device; - u_int64_t magic_0; + u_int64_t magic_0 __attribute__((packed)); u_int32_t disk_offset; /* 0x210 */ u_int32_t disk_sectors; u_int32_t rebuild_lba; @@ -207,13 +207,13 @@ struct promise_raid_conf { u_int16_t cylinders; u_int8_t heads; u_int8_t sectors; - int64_t magic_1; + int64_t magic_1 __attribute__((packed)); struct { /* 0x240 */ u_int8_t flags; u_int8_t dummy_0; u_int8_t channel; u_int8_t device; - u_int64_t magic_0; + u_int64_t magic_0 __attribute__((packed)); } disk[8]; } raid; int32_t filler2[346]; |