Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't compile KSZ9878 linux-4.19 without CONFIG_KSZ_HSR #96

Open
gilbertwaltoon opened this issue Jun 24, 2023 · 1 comment
Open

can't compile KSZ9878 linux-4.19 without CONFIG_KSZ_HSR #96

gilbertwaltoon opened this issue Jun 24, 2023 · 1 comment

Comments

@gilbertwaltoon
Copy link

ksz_sw_9897.c line 14188 needs HSR_HLEN to compile:

if (sw->features & HSR_HW)
        headlen = HSR_HLEN;

But HSR_HLEN is defined in hsr_main.h (via ksz_hsr.h) and this is only included if

#ifdef CONFIG_KSZ_HSR
#include "ksz_hsr.h"
#endif

If CONFIG_KSZ_HSR is not set, I get compilation errors. Is this a bug?

@triha2work
Copy link
Collaborator

Please try the updated switch driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants