projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bda76dd
)
synclink_gt endianness annotations
author
Al Viro
<
[email protected]
>
Sun, 14 Oct 2007 18:34:30 +0000
(19:34 +0100)
committer
Linus Torvalds
<
[email protected]
>
Sun, 14 Oct 2007 19:41:51 +0000
(12:41 -0700)
Signed-off-by: Al Viro <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/synclink_gt.c
patch
|
blob
|
history
diff --git
a/drivers/char/synclink_gt.c
b/drivers/char/synclink_gt.c
index 2f97d2f8f916fbd3b003e717e16e9d021632a1bc..64e835f62438d3bb6b629224355403c14681927a 100644
(file)
--- a/
drivers/char/synclink_gt.c
+++ b/
drivers/char/synclink_gt.c
@@
-206,10
+206,10
@@
static void flush_cond_wait(struct cond_wait **head);
*/
struct slgt_desc
{
-
unsigned short
count;
-
unsigned short
status;
-
unsigned int
pbuf; /* physical address of data buffer */
-
unsigned int
next; /* physical address of next descriptor */
+
__le16
count;
+
__le16
status;
+
__le32
pbuf; /* physical address of data buffer */
+
__le32
next; /* physical address of next descriptor */
/* driver book keeping */
char *buf; /* virtual address of data buffer */