[PATCH] if_stmac: fix compilation error (related to crc32_raw move in FreeBSD)
Joel Sherrill
joel at rtems.org
Sat Apr 23 12:27:52 UTC 2022
Looks good.
On Sat, Apr 23, 2022, 2:36 AM Karel Gardas <karel at functional.vision> wrote:
> FreeBSD in 2019 moved crc32 function into separate gsb_crc32.h header
> file and probably after libbsd sync with this change if_stmac got broken.
> ---
> rtemsbsd/sys/dev/stmac/if_stmac.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/rtemsbsd/sys/dev/stmac/if_stmac.c
> b/rtemsbsd/sys/dev/stmac/if_stmac.c
> index 614c51b9..7e3e07c7 100644
> --- a/rtemsbsd/sys/dev/stmac/if_stmac.c
> +++ b/rtemsbsd/sys/dev/stmac/if_stmac.c
> @@ -40,6 +40,7 @@
> #include <sys/module.h>
> #include <sys/socket.h>
> #include <sys/sockio.h>
> +#include <sys/gsb_crc32.h>
>
> #include <net/if.h>
> #include <net/ethernet.h>
> --
> 2.25.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
More information about the devel
mailing list