--- zzzz-none-000/linux-5.15.111/include/linux/socket.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/linux/socket.h 2024-02-07 09:28:07.000000000 +0000 @@ -1,4 +1,8 @@ /* SPDX-License-Identifier: GPL-2.0 */ +/* + * Includes Intel Corporation's changes/modifications dated: 2017. + * Changed/modified portions - Copyright (c) 2017, Intel Corporation. + */ #ifndef _LINUX_SOCKET_H #define _LINUX_SOCKET_H @@ -227,7 +231,13 @@ * transport protocol */ +#if PUMA7_SOC_TYPE +/*should be synced together with AF_HWMBOX from hw_mbox_socket.h*/ +#define AF_HWMBOX 46 /* Intel's HW_MBOX sockets */ +#define AF_MAX 47 /* For now.. */ +#else #define AF_MAX 46 /* For now.. */ +#endif /* Protocol families, same as address families. */ #define PF_UNSPEC AF_UNSPEC @@ -278,6 +288,7 @@ #define PF_SMC AF_SMC #define PF_XDP AF_XDP #define PF_MCTP AF_MCTP +#define PF_HWMBOX AF_HWMBOX #define PF_MAX AF_MAX /* Maximum queue length specifiable by listen. */