Commit 4aa567b1 authored by Shannon Nelson's avatar Shannon Nelson Committed by Paolo Abeni
Browse files

ionic: add asic codes to firmware interface file



Now that the firmware has learned how to properly report
the asic type id, add the values to our interface file.

The sharp-eyed reviewers will catch that the CAPRI value
changed here from 0 to 1.  This comes with the FW actually
defining it correctly.  This is safe for us to change as
nothing actually uses that value yet.

Signed-off-by: default avatarShannon Nelson <shannon.nelson@amd.com>
Reviewed-by: default avatarJacob Keller <jacob.e.keller@intel.com>
Reviewed-by: default avatarKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 96b6fcc0
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@ struct ionic_lif;
#define PCI_DEVICE_ID_PENSANDO_IONIC_ETH_PF	0x1002
#define PCI_DEVICE_ID_PENSANDO_IONIC_ETH_VF	0x1003

#define IONIC_ASIC_TYPE_ELBA	2

#define DEVCMD_TIMEOUT			5
#define IONIC_ADMINQ_TIME_SLICE		msecs_to_jiffies(100)

+5 −1
Original line number Diff line number Diff line
@@ -3209,7 +3209,11 @@ union ionic_adminq_comp {
#define IONIC_BAR0_INTR_CTRL_OFFSET		0x2000
#define IONIC_DEV_CMD_DONE			0x00000001

#define IONIC_ASIC_TYPE_CAPRI			0
#define IONIC_ASIC_TYPE_NONE			0
#define IONIC_ASIC_TYPE_CAPRI			1
#define IONIC_ASIC_TYPE_ELBA			2
#define IONIC_ASIC_TYPE_GIGLIO			3
#define IONIC_ASIC_TYPE_SALINA			4

/**
 * struct ionic_doorbell - Doorbell register layout