diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-08-22 21:37:46 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:51:58 -0400 |
commit | ee41a82fa362449e608c4dab7df261058ffd52c0 (patch) | |
tree | 9345eae60266edba9e694eb2aec86b080238614f /drivers/net/amd8111e.h | |
parent | cc2d6596ca79667830a90ca177ba53b0d83262de (diff) |
amd8111e: trivial endianness annotations, NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/amd8111e.h')
-rw-r--r-- | drivers/net/amd8111e.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/amd8111e.h b/drivers/net/amd8111e.h index 612e653610e1..28c60a71ed50 100644 --- a/drivers/net/amd8111e.h +++ b/drivers/net/amd8111e.h | |||
@@ -655,32 +655,32 @@ typedef enum { | |||
655 | 655 | ||
656 | struct amd8111e_tx_dr{ | 656 | struct amd8111e_tx_dr{ |
657 | 657 | ||
658 | u16 buff_count; /* Size of the buffer pointed by this descriptor */ | 658 | __le16 buff_count; /* Size of the buffer pointed by this descriptor */ |
659 | 659 | ||
660 | u16 tx_flags; | 660 | __le16 tx_flags; |
661 | 661 | ||
662 | u16 tag_ctrl_info; | 662 | __le16 tag_ctrl_info; |
663 | 663 | ||
664 | u16 tag_ctrl_cmd; | 664 | __le16 tag_ctrl_cmd; |
665 | 665 | ||
666 | u32 buff_phy_addr; | 666 | __le32 buff_phy_addr; |
667 | 667 | ||
668 | u32 reserved; | 668 | __le32 reserved; |
669 | }; | 669 | }; |
670 | 670 | ||
671 | struct amd8111e_rx_dr{ | 671 | struct amd8111e_rx_dr{ |
672 | 672 | ||
673 | u32 reserved; | 673 | __le32 reserved; |
674 | 674 | ||
675 | u16 msg_count; /* Received message len */ | 675 | __le16 msg_count; /* Received message len */ |
676 | 676 | ||
677 | u16 tag_ctrl_info; | 677 | __le16 tag_ctrl_info; |
678 | 678 | ||
679 | u16 buff_count; /* Len of the buffer pointed by descriptor. */ | 679 | __le16 buff_count; /* Len of the buffer pointed by descriptor. */ |
680 | 680 | ||
681 | u16 rx_flags; | 681 | __le16 rx_flags; |
682 | 682 | ||
683 | u32 buff_phy_addr; | 683 | __le32 buff_phy_addr; |
684 | 684 | ||
685 | }; | 685 | }; |
686 | struct amd8111e_link_config{ | 686 | struct amd8111e_link_config{ |