Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c15561f0 authored by Al Viro's avatar Al Viro Committed by Jeff Garzik
Browse files

sbni endian fixes



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 44b1e77a
Loading
Loading
Loading
Loading
+9 −3
Original line number Original line Diff line number Diff line
@@ -44,9 +44,15 @@ enum {
#define PR_RES 0x80
#define PR_RES 0x80


struct sbni_csr1 {
struct sbni_csr1 {
	unsigned rxl	: 5;
#ifdef __LITTLE_ENDIAN_BITFIELD
	unsigned rate	: 2;
	u8 rxl	: 5;
	unsigned 	: 1;
	u8 rate	: 2;
	u8 	: 1;
#else
	u8 	: 1;
	u8 rate	: 2;
	u8 rxl	: 5;
#endif
};
};


/* fields in frame header */
/* fields in frame header */