summaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/lcs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-14 21:43:44 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:23:43 -0800
commit5a5a852e45b651c71dfeb3972b30d58742f8941e (patch)
tree1471e45e6d34cc4e10689e6817f54e75f84bdc10 /drivers/s390/net/lcs.h
parent43bc0ca7eadc024e9e5b935fa5e0892df4fec9eb (diff)
downloadop-kernel-dev-5a5a852e45b651c71dfeb3972b30d58742f8941e.zip
op-kernel-dev-5a5a852e45b651c71dfeb3972b30d58742f8941e.tar.gz
[NET] driver/s390/net: Checksum annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net/lcs.h')
-rw-r--r--drivers/s390/net/lcs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/net/lcs.h b/drivers/s390/net/lcs.h
index 9314393..b5247dc 100644
--- a/drivers/s390/net/lcs.h
+++ b/drivers/s390/net/lcs.h
@@ -169,7 +169,7 @@ struct lcs_header {
} __attribute__ ((packed));
struct lcs_ip_mac_pair {
- __u32 ip_addr;
+ __be32 ip_addr;
__u8 mac_addr[LCS_MAC_LENGTH];
__u8 reserved[2];
} __attribute__ ((packed));
@@ -287,7 +287,7 @@ struct lcs_card {
enum lcs_dev_states state;
struct net_device *dev;
struct net_device_stats stats;
- unsigned short (*lan_type_trans)(struct sk_buff *skb,
+ __be16 (*lan_type_trans)(struct sk_buff *skb,
struct net_device *dev);
struct ccwgroup_device *gdev;
struct lcs_channel read;
OpenPOWER on IntegriCloud