From 2d1e322738d05987bbfac7a5900b41e3ddedaf23 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Mon, 13 Nov 2023 14:36:09 -0800 Subject: [PATCH] modules/mqnic: Add board ID for AU45 Signed-off-by: Alex Forencich --- modules/mqnic/mqnic_board.c | 2 ++ modules/mqnic/mqnic_hw.h | 1 + 2 files changed, 3 insertions(+) diff --git a/modules/mqnic/mqnic_board.c b/modules/mqnic/mqnic_board.c index 1c9b8a635..cbc1594a5 100644 --- a/modules/mqnic/mqnic_board.c +++ b/modules/mqnic/mqnic_board.c @@ -904,6 +904,7 @@ static int mqnic_alveo_board_init(struct mqnic_dev *mqnic) mqnic->mod_i2c_client_count = 2; break; + case MQNIC_BOARD_ID_AU45: case MQNIC_BOARD_ID_AU50: case MQNIC_BOARD_ID_AU55: case MQNIC_BOARD_ID_AU280: @@ -1114,6 +1115,7 @@ static struct mqnic_board_ops gecko_board_ops = { int mqnic_board_init(struct mqnic_dev *mqnic) { switch (mqnic->board_id) { + case MQNIC_BOARD_ID_AU45: case MQNIC_BOARD_ID_AU50: case MQNIC_BOARD_ID_AU55: case MQNIC_BOARD_ID_AU200: diff --git a/modules/mqnic/mqnic_hw.h b/modules/mqnic/mqnic_hw.h index 2fad479df..160f4dedd 100644 --- a/modules/mqnic/mqnic_hw.h +++ b/modules/mqnic/mqnic_hw.h @@ -29,6 +29,7 @@ #define MQNIC_MAX_I2C_ADAPTERS 4 #define MQNIC_BOARD_ID_NETFPGA_SUME 0x10ee7028 +#define MQNIC_BOARD_ID_AU45 0x10ee902d #define MQNIC_BOARD_ID_AU50 0x10ee9032 #define MQNIC_BOARD_ID_AU55 0x10ee9037 #define MQNIC_BOARD_ID_AU200 0x10ee90c8