qlnxe: Remove #ifdef ECORE_PACKAGE

I do not know why this is here but it blocks compilation.
Removing it makes the builtin option the same as the module build

Signed-off-by: Mark O'Donovan <shiftee@posteo.net>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/779
This commit is contained in:
Mark O'Donovan 2023-07-01 11:06:50 -06:00 committed by Warner Losh
parent c1be7151d5
commit b75c387a66
2 changed files with 0 additions and 4 deletions

View File

@ -93,7 +93,6 @@ extern int qlnx_pf_vf_msg(void *p_hwfn, uint16_t relative_vf_id);
extern void qlnx_vf_flr_update(void *p_hwfn);
#define nothing do {} while(0)
#ifdef ECORE_PACKAGE
/* Memory Types */
#define u8 uint8_t
@ -542,6 +541,4 @@ OSAL_CRC8(u8 * cdu_crc8_table, u8 * data_to_crc, int data_to_crc_len, u8 init_va
#define OSAL_VF_FLR_UPDATE(p_hwfn) qlnx_vf_flr_update(p_hwfn)
#define OSAL_IOV_VF_VPORT_STOP(p_hwfn, vf)
#endif /* #ifdef ECORE_PACKAGE */
#endif /* #ifdef __BCM_OSAL_ECORE_PACKAGE */

View File

@ -65,7 +65,6 @@ SRCS+= ${LINUXKPI_GENSRCS}
.include <bsd.kmod.mk>
#CFLAGS += -DQLNX_DEBUG
CFLAGS += -DECORE_PACKAGE
CFLAGS += -DCONFIG_ECORE_L2
CFLAGS += -DECORE_CONFIG_DIRECT_HWFN