projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
507eebe
)
netxen: fix memory initialization
author
Amit Kumar Salecha
<amit@netxen.com>
Fri, 20 Nov 2009 15:09:32 +0000
(15:09 +0000)
committer
David S. Miller
<davem@davemloft.net>
Sat, 21 Nov 2009 19:37:32 +0000
(11:37 -0800)
Avoid resetting memory during initialization, skip this memory
block during driver probe.
Signed-off-by: Amit Kumar Salecha <amit@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_init.c
patch
|
blob
|
history
diff --git
a/drivers/net/netxen/netxen_nic_init.c
b/drivers/net/netxen/netxen_nic_init.c
index
e40b914
..
8a09043
100644
(file)
--- a/
drivers/net/netxen/netxen_nic_init.c
+++ b/
drivers/net/netxen/netxen_nic_init.c
@@
-544,6
+544,8
@@
int netxen_pinit_from_rom(struct netxen_adapter *adapter, int verbose)
continue;
if (off == (ROMUSB_GLB + 0x1c)) /* MS clock */
continue;
+ if ((off & 0x0ff00000) == NETXEN_CRB_DDR_NET)
+ continue;
if (off == (NETXEN_CRB_PEG_NET_1 + 0x18))
buf[i].data = 0x1020;
/* skip the function enable register */