[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>
This commit is contained in:
parent
fec69a9748
commit
b47725743c
|
@ -37,9 +37,9 @@
|
||||||
* Port request block (PRB) 32 bytes
|
* Port request block (PRB) 32 bytes
|
||||||
*/
|
*/
|
||||||
struct sil24_prb {
|
struct sil24_prb {
|
||||||
u16 ctrl;
|
__le16 ctrl;
|
||||||
u16 prot;
|
__le16 prot;
|
||||||
u32 rx_cnt;
|
__le32 rx_cnt;
|
||||||
u8 fis[6 * 4];
|
u8 fis[6 * 4];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -47,17 +47,17 @@ struct sil24_prb {
|
||||||
* Scatter gather entry (SGE) 16 bytes
|
* Scatter gather entry (SGE) 16 bytes
|
||||||
*/
|
*/
|
||||||
struct sil24_sge {
|
struct sil24_sge {
|
||||||
u64 addr;
|
__le64 addr;
|
||||||
u32 cnt;
|
__le32 cnt;
|
||||||
u32 flags;
|
__le32 flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Port multiplier
|
* Port multiplier
|
||||||
*/
|
*/
|
||||||
struct sil24_port_multiplier {
|
struct sil24_port_multiplier {
|
||||||
u32 diag;
|
__le32 diag;
|
||||||
u32 sactive;
|
__le32 sactive;
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|
Loading…
Reference in New Issue