diff options
author | Dhananjay Phadke <dhananjay@netxen.com> | 2009-02-24 19:38:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-24 19:38:22 -0500 |
commit | ba599d4f0d2071abc049cb6345eab510a8a3643e (patch) | |
tree | e42bac74b45238e373d8d4b4de779ce83c1fd833 /drivers/net/netxen/netxen_nic.h | |
parent | 32344a394029baeca5bcc9fa839694b23a82cc64 (diff) |
netxen: firmware download support
Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netxen/netxen_nic.h')
-rw-r--r-- | drivers/net/netxen/netxen_nic.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/netxen/netxen_nic.h b/drivers/net/netxen/netxen_nic.h index f4dd9acb6877..b7261823189d 100644 --- a/drivers/net/netxen/netxen_nic.h +++ b/drivers/net/netxen/netxen_nic.h | |||
@@ -712,6 +712,15 @@ typedef enum { | |||
712 | NETXEN_FIXED_START = 0x3F0000 /* backup of crbinit */ | 712 | NETXEN_FIXED_START = 0x3F0000 /* backup of crbinit */ |
713 | } netxen_flash_map_t; | 713 | } netxen_flash_map_t; |
714 | 714 | ||
715 | #define NX_FW_VERSION_OFFSET (NETXEN_USER_START+0x408) | ||
716 | #define NX_FW_SIZE_OFFSET (NETXEN_USER_START+0x40c) | ||
717 | #define NX_BIOS_VERSION_OFFSET (NETXEN_USER_START+0x83c) | ||
718 | #define NX_FW_MAGIC_OFFSET (NETXEN_BRDCFG_START+0x128) | ||
719 | #define NX_FW_MIN_SIZE (0x3fffff) | ||
720 | #define NX_P2_MN_ROMIMAGE "nxromimg.bin" | ||
721 | #define NX_P3_CT_ROMIMAGE "nx3fwct.bin" | ||
722 | #define NX_P3_MN_ROMIMAGE "nx3fwmn.bin" | ||
723 | |||
715 | #define NETXEN_USER_START_OLD NETXEN_PXE_START /* for backward compatibility */ | 724 | #define NETXEN_USER_START_OLD NETXEN_PXE_START /* for backward compatibility */ |
716 | 725 | ||
717 | #define NETXEN_FLASH_START (NETXEN_CRBINIT_START) | 726 | #define NETXEN_FLASH_START (NETXEN_CRBINIT_START) |