summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2006-06-06 07:31:14 +0400
committerJeff Garzik <jeff@garzik.org>2006-06-11 23:07:19 -0400
commitb47725743cc53203d275ede5c54985ad92c15f42 (patch)
tree4d8d51d660ba507acdc705fd791424fa6fa085a4 /drivers/scsi
parentfec69a97489f961026e24536dbb7b86ac663948c (diff)
downloadop-kernel-dev-b47725743cc53203d275ede5c54985ad92c15f42.zip
op-kernel-dev-b47725743cc53203d275ede5c54985ad92c15f42.tar.gz
[PATCH] sata_sil24: endian anotations
With help from Tejun Heo. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/sata_sil24.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/scsi/sata_sil24.c b/drivers/scsi/sata_sil24.c
index 97e9339..c8b477c 100644
--- a/drivers/scsi/sata_sil24.c
+++ b/drivers/scsi/sata_sil24.c
@@ -37,9 +37,9 @@
* Port request block (PRB) 32 bytes
*/
struct sil24_prb {
- u16 ctrl;
- u16 prot;
- u32 rx_cnt;
+ __le16 ctrl;
+ __le16 prot;
+ __le32 rx_cnt;
u8 fis[6 * 4];
};
@@ -47,17 +47,17 @@ struct sil24_prb {
* Scatter gather entry (SGE) 16 bytes
*/
struct sil24_sge {
- u64 addr;
- u32 cnt;
- u32 flags;
+ __le64 addr;
+ __le32 cnt;
+ __le32 flags;
};
/*
* Port multiplier
*/
struct sil24_port_multiplier {
- u32 diag;
- u32 sactive;
+ __le32 diag;
+ __le32 sactive;
};
enum {
OpenPOWER on IntegriCloud