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 ea6828b8aa
("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>
This commit is contained in:
committed by
David S. Miller
parent
89d71a66c4
commit
1f5e055db3
@@ -1180,8 +1180,8 @@ struct netxen_adapter {
|
||||
u32 (*crb_read)(struct netxen_adapter *, ulong);
|
||||
int (*crb_write)(struct netxen_adapter *, ulong, u32);
|
||||
|
||||
int (*pci_mem_read)(struct netxen_adapter *, u64, void *, int);
|
||||
int (*pci_mem_write)(struct netxen_adapter *, u64, void *, int);
|
||||
int (*pci_mem_read)(struct netxen_adapter *, u64, u64 *);
|
||||
int (*pci_mem_write)(struct netxen_adapter *, u64, u64);
|
||||
|
||||
unsigned long (*pci_set_window)(struct netxen_adapter *,
|
||||
unsigned long long);
|
||||
|
Reference in New Issue
Block a user