netxen: improve pci memory access

o Access on card memory through memory controller (agent)
  rather than moving small pci window around. Clean up the
  code for moving windows around.

o Restrict memory accesss to 64 bit, currently only firmware
  download uses this.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Dhananjay Phadke
2009-09-11 11:28:12 +00:00
committed by David S. Miller
parent f78c0850d2
commit ea6828b8aa
3 changed files with 93 additions and 266 deletions

View File

@ -552,8 +552,8 @@ struct netxen_hardware_context {
int qdr_sn_window;
int ddr_mn_window;
unsigned long mn_win_crb;
unsigned long ms_win_crb;
u32 mn_win_crb;
u32 ms_win_crb;
u8 cut_through;
u8 revision_id;