aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic_init.c
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2009-01-14 23:47:30 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-14 23:47:30 -0500
commit2edbb454428729f450f7a0aabbf95ac62b46b78a (patch)
tree392ae07f3448897ceff4717663af7584eccbd375 /drivers/net/netxen/netxen_nic_init.c
parentd1d5e6b1cead3df6f722d1d458874bd7f93da8d6 (diff)
netxen: fix endianness in firmware commands
o Set restricted (little endian) data types in firmware command requests and responses. o Remove unnecessary conversion to LE when writing registers. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic_init.c')
-rw-r--r--drivers/net/netxen/netxen_nic_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic_init.c b/drivers/net/netxen/netxen_nic_init.c
index d924468e506e..c0e06a653170 100644
--- a/drivers/net/netxen/netxen_nic_init.c
+++ b/drivers/net/netxen/netxen_nic_init.c
@@ -1277,7 +1277,7 @@ static void netxen_process_rcv(struct netxen_adapter *adapter, int ctxid,
1277 1277
1278 dev_kfree_skb_any(skb); 1278 dev_kfree_skb_any(skb);
1279 for (i = 0; i < nr_frags; i++) { 1279 for (i = 0; i < nr_frags; i++) {
1280 index = frag_desc->frag_handles[i]; 1280 index = le16_to_cpu(frag_desc->frag_handles[i]);
1281 skb = netxen_process_rxbuf(adapter, 1281 skb = netxen_process_rxbuf(adapter,
1282 rds_ring, index, cksum); 1282 rds_ring, index, cksum);
1283 if (skb) 1283 if (skb)