mirror of
https://github.com/torvalds/linux
synced 2024-09-06 09:51:23 +00:00
net/ncsi: add dummy response handler for Intel boards
Add the dummy response handler for Intel boards to prevent incorrect handling of OEM commands. Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
abd2fddc94
commit
163f5de509
|
@ -699,12 +699,19 @@ static int ncsi_rsp_handler_oem_bcm(struct ncsi_request *nr)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Response handler for Intel card */
|
||||
static int ncsi_rsp_handler_oem_intel(struct ncsi_request *nr)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct ncsi_rsp_oem_handler {
|
||||
unsigned int mfr_id;
|
||||
int (*handler)(struct ncsi_request *nr);
|
||||
} ncsi_rsp_oem_handlers[] = {
|
||||
{ NCSI_OEM_MFR_MLX_ID, ncsi_rsp_handler_oem_mlx },
|
||||
{ NCSI_OEM_MFR_BCM_ID, ncsi_rsp_handler_oem_bcm }
|
||||
{ NCSI_OEM_MFR_BCM_ID, ncsi_rsp_handler_oem_bcm },
|
||||
{ NCSI_OEM_MFR_INTEL_ID, ncsi_rsp_handler_oem_intel }
|
||||
};
|
||||
|
||||
/* Response handler for OEM command */
|
||||
|
|
Loading…
Reference in a new issue