I'm trying to build the driver for support of MV88E2010/TN9710Q
make MV88E2010=YES
make -C /lib/modules/5.10.0-21-amd64/build M=/home/router/tehuti2 clean
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-21-amd64'
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-21-amd64'
Building kernel 5.10.0-21-amd64 resume supported
make -C /lib/modules/5.10.0-21-amd64/build M=/home/router/tehuti2 modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.0-21-amd64'
CC [M] /home/router/tehuti2/tn40.o
CC [M] /home/router/tehuti2/CX4.o
CC [M] /home/router/tehuti2/CX4_Linux.o
CC [M] /home/router/tehuti2/MV88X3310_phy.o
/home/router/tehuti2/MV88X3310_phy.c:6:10: fatal error: MV88E2010_phy.h: No such file or directory
6 | #include "MV88E2010_phy.h"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [/usr/src/linux-headers-5.10.0-21-common/scripts/Makefile.build:291: /home/router/tehuti2/MV88X3310_phy.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.10.0-21-common/Makefile:1861: /home/router/tehuti2] Error 2
make[1]: *** [/usr/src/linux-headers-5.10.0-21-common/Makefile:185: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.0-21-amd64'
make: *** [Makefile:147: all] Error 2
I have searched everywhere for a MV88E2010_phy.h file, and it's nowhere; not even in the original vendor source. Am I SoL on trying to build a Linux driver for the TN9710Q card?
Please uses below instruction to install xxd module, the mvidtoh.sh needs the xxd to translate the hdr and generate MV88xxxx_phy.h file:
apt install xxd
I'm trying to build the driver for support of MV88E2010/TN9710Q
I have searched everywhere for a MV88E2010_phy.h file, and it's nowhere; not even in the original vendor source. Am I SoL on trying to build a Linux driver for the TN9710Q card?
THANKS! -Zac