aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netxen/netxen_nic.h
diff options
context:
space:
mode:
authorDhananjay Phadke <dhananjay@netxen.com>2008-08-08 03:08:39 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-08-14 04:43:05 -0400
commit9dc28efeee98a4f81d5469d3576f55c5e6d1a5db (patch)
treea2b856eceadcd954fd8a8fad699143e848a44b29 /drivers/net/netxen/netxen_nic.h
parent8d792cd990938c4d06b86141465ff8d52a946a0a (diff)
netxen: fix mac addr setup
For NX3031 mac addr should be read from firmware. mac addr in flash is still valid, but can be overridden by firmware if running in virtualization environment. For old revisions, mac addr is retrieved directly from flash. Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r--drivers/net/netxen/netxen_nic.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h
index 93a7b9b668d5..2cf6e41291e6 100644
--- a/drivers/net/netxen/netxen_nic.h
+++ b/drivers/net/netxen/netxen_nic.h
@@ -1615,7 +1615,8 @@ dma_watchdog_wakeup(struct netxen_adapter *adapter)
1615 1615
1616 1616
1617int netxen_is_flash_supported(struct netxen_adapter *adapter); 1617int netxen_is_flash_supported(struct netxen_adapter *adapter);
1618int netxen_get_flash_mac_addr(struct netxen_adapter *adapter, __le64 mac[]); 1618int netxen_get_flash_mac_addr(struct netxen_adapter *adapter, __le64 *mac);
1619int netxen_p3_get_mac_addr(struct netxen_adapter *adapter, __le64 *mac);
1619extern void netxen_change_ringparam(struct netxen_adapter *adapter); 1620extern void netxen_change_ringparam(struct netxen_adapter *adapter);
1620extern int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr, 1621extern int netxen_rom_fast_read(struct netxen_adapter *adapter, int addr,
1621 int *valp); 1622 int *valp);