diff options
author | Amit S. Kale <amitkale@netxen.com> | 2006-12-18 05:53:59 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-26 16:46:39 -0500 |
commit | ed33ebe464d973ab656cfc9ff0ca40a4c1e38238 (patch) | |
tree | 659beb4a19c9d04d395a1285c15e1f958be17c02 /drivers/net/netxen/netxen_nic_main.c | |
parent | 6c5866441669ab71f6297556ea281a6bcbfd13db (diff) | |
download | kernel_samsung_smdk4412-ed33ebe464d973ab656cfc9ff0ca40a4c1e38238.zip kernel_samsung_smdk4412-ed33ebe464d973ab656cfc9ff0ca40a4c1e38238.tar.gz kernel_samsung_smdk4412-ed33ebe464d973ab656cfc9ff0ca40a4c1e38238.tar.bz2 |
NetXen: Fix for PPC machines.
Signed-off-by: Amit S. Kale <amitkale@netxen.com>
netxen_nic.h | 2 +-
netxen_nic_init.c | 12 ++++++------
netxen_nic_main.c | 4 ++--
3 files changed, 9 insertions(+), 9 deletions(-)
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_main.c')
-rw-r--r-- | drivers/net/netxen/netxen_nic_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/netxen/netxen_nic_main.c b/drivers/net/netxen/netxen_nic_main.c index bc08d21..aecc07d 100644 --- a/drivers/net/netxen/netxen_nic_main.c +++ b/drivers/net/netxen/netxen_nic_main.c @@ -822,8 +822,8 @@ static int netxen_nic_xmit_frame(struct sk_buff *skb, struct net_device *netdev) /* Take skb->data itself */ pbuf = &adapter->cmd_buf_arr[producer]; if ((netdev->features & NETIF_F_TSO) && skb_shinfo(skb)->gso_size > 0) { - pbuf->mss = skb_shinfo(skb)->gso_size; - hwdesc->mss = skb_shinfo(skb)->gso_size; + pbuf->mss = cpu_to_le16(skb_shinfo(skb)->gso_size); + hwdesc->mss = cpu_to_le16(skb_shinfo(skb)->gso_size); } else { pbuf->mss = 0; hwdesc->mss = 0; |