]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netxen: remove sub 64-bit mem accesses
authorAmit Kumar Salecha <amit@netxen.com>
Tue, 13 Oct 2009 05:31:41 +0000 (05:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 18:48:19 +0000 (11:48 -0700)
commit1f5e055db369a5d1c74174571585a4ec2e6c40fb
treeef35e48957f02d9f1b461bd82bbd36745cf8de63
parent89d71a66c40d629e3b1285def543ab1425558cd5
netxen: remove sub 64-bit mem accesses

Sub 64-bit / unaligned access to oncard memory was only used
by old diagnostic tools, causes some intermittent issues when
memory controller agent is used.  The new access method was
added by commit ea6828b8aa3a8ebae8d7740f32f212ba1d2f0742
("netxen: improve pci memory access").  Firmware init anyway
uses 8-byte strides.

This also fixes address/offset calculation for NX2031 context
memory (SIU). For NX3031, SIU uses same register offsets
as packet memory (MIU).

Signed-off-by: Amit Kumar Salecha <amit@netxen.com>
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_hdr.h
drivers/net/netxen/netxen_nic_hw.c
drivers/net/netxen/netxen_nic_init.c