Skip to content

Commit

Permalink
[PATCH] sata_sil24: endian anotations
Browse files Browse the repository at this point in the history
With help from Tejun Heo.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Alexey Dobriyan authored and Jeff Garzik committed Jun 12, 2006
1 parent fec69a9 commit b477257
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions drivers/scsi/sata_sil24.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@
* 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];
};

/*
* 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 {
Expand Down

0 comments on commit b477257

Please sign in to comment.