diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/sata_sil24.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c index 97e93392f928..c8b477c67247 100644 --- a/drivers/scsi/sata_sil24.c +++ b/drivers/scsi/sata_sil24.c | |||
@@ -37,9 +37,9 @@ | |||
37 | * Port request block (PRB) 32 bytes | 37 | * Port request block (PRB) 32 bytes |
38 | */ | 38 | */ |
39 | struct sil24_prb { | 39 | struct sil24_prb { |
40 | u16 ctrl; | 40 | __le16 ctrl; |
41 | u16 prot; | 41 | __le16 prot; |
42 | u32 rx_cnt; | 42 | __le32 rx_cnt; |
43 | u8 fis[6 * 4]; | 43 | u8 fis[6 * 4]; |
44 | }; | 44 | }; |
45 | 45 | ||
@@ -47,17 +47,17 @@ struct sil24_prb { | |||
47 | * Scatter gather entry (SGE) 16 bytes | 47 | * Scatter gather entry (SGE) 16 bytes |
48 | */ | 48 | */ |
49 | struct sil24_sge { | 49 | struct sil24_sge { |
50 | u64 addr; | 50 | __le64 addr; |
51 | u32 cnt; | 51 | __le32 cnt; |
52 | u32 flags; | 52 | __le32 flags; |
53 | }; | 53 | }; |
54 | 54 | ||
55 | /* | 55 | /* |
56 | * Port multiplier | 56 | * Port multiplier |
57 | */ | 57 | */ |
58 | struct sil24_port_multiplier { | 58 | struct sil24_port_multiplier { |
59 | u32 diag; | 59 | __le32 diag; |
60 | u32 sactive; | 60 | __le32 sactive; |
61 | }; | 61 | }; |
62 | 62 | ||
63 | enum { | 63 | enum { |