]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/net/ethernet/qlogic/netxen/netxen_nic.h
netxen: added miniDIMM support in driver.
[mirror_ubuntu-bionic-kernel.git] / drivers / net / ethernet / qlogic / netxen / netxen_nic.h
index b5de8a7b90f1a13b65f23d1738dca8925c42fdfc..11b4922a1781b2257d839c6519ccfcf6cfb7a858 100644 (file)
@@ -1201,6 +1201,9 @@ typedef struct {
 #define NX_FORCE_FW_RESET               0xdeaddead
 
 
+/* Fw dump levels */
+static const u32 FW_DUMP_LEVELS[] = { 0x3, 0x7, 0xf, 0x1f, 0x3f, 0x7f, 0xff };
+
 /* Flash read/write address */
 #define NX_FW_DUMP_REG1         0x00130060
 #define NX_FW_DUMP_REG2         0x001e0000
@@ -1814,6 +1817,13 @@ struct netxen_brdinfo {
        char short_name[NETXEN_MAX_SHORT_NAME];
 };
 
+struct netxen_dimm_cfg {
+       u8 presence;
+       u8 mem_type;
+       u8 dimm_type;
+       u32 size;
+};
+
 static const struct netxen_brdinfo netxen_boards[] = {
        {NETXEN_BRDTYPE_P2_SB31_10G_CX4, 1, "XGb CX4"},
        {NETXEN_BRDTYPE_P2_SB31_10G_HMEZ, 1, "XGb HMEZ"},