diff options
Diffstat (limited to 'drivers/block/aoe/aoe.h')
-rw-r--r-- | drivers/block/aoe/aoe.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index cb5dca3ce9f5..d3b0e2ca151a 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h | |||
@@ -39,13 +39,13 @@ enum { | |||
39 | struct aoe_hdr { | 39 | struct aoe_hdr { |
40 | unsigned char dst[6]; | 40 | unsigned char dst[6]; |
41 | unsigned char src[6]; | 41 | unsigned char src[6]; |
42 | unsigned char type[2]; | 42 | __be16 type; |
43 | unsigned char verfl; | 43 | unsigned char verfl; |
44 | unsigned char err; | 44 | unsigned char err; |
45 | unsigned char major[2]; | 45 | __be16 major; |
46 | unsigned char minor; | 46 | unsigned char minor; |
47 | unsigned char cmd; | 47 | unsigned char cmd; |
48 | unsigned char tag[4]; | 48 | __be32 tag; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | struct aoe_atahdr { | 51 | struct aoe_atahdr { |
@@ -63,8 +63,8 @@ struct aoe_atahdr { | |||
63 | }; | 63 | }; |
64 | 64 | ||
65 | struct aoe_cfghdr { | 65 | struct aoe_cfghdr { |
66 | unsigned char bufcnt[2]; | 66 | __be16 bufcnt; |
67 | unsigned char fwver[2]; | 67 | __be16 fwver; |
68 | unsigned char res; | 68 | unsigned char res; |
69 | unsigned char aoeccmd; | 69 | unsigned char aoeccmd; |
70 | unsigned char cslen[2]; | 70 | unsigned char cslen[2]; |