Tool/software:
Hello,
I am uising the DP83TC813SRHFRQ1 in out design and we found the linux driver at
https://github.com/TexasInstruments/ti-ethernet-software/blob/v2024.04/linux_drivers/dp83tc812.c
but while compiling it for kernel 6.6.40 (xilinx kernel) i am getting following error:
| CC [M] /work/dp83tc813/1.0/dp83tc812.o
| /work/dp83tc813/1.0/dp83tc812.c:709:18: error: 'struct phy_driver' has no member named 'ack_interrupt'; did you mean 'handle_interrupt'?
| 709 | .ack_interrupt = DP83TC812_ack_interrupt, \
| | ^~~~~~~~~~~~~
| /work/dp83tc813/1.0/dp83tc812.c:724:9: note: in expansion of macro 'DP83TC812_PHY_DRIVER'
| 724 | DP83TC812_PHY_DRIVER(DP83TC812_CS2_0_PHY_ID, "TI DP83TC812CS2.0"),
| | ^~~~~~~~~~~~~~~~~~~~
| /work/dp83tc813/1.0/dp83tc812.c:709:18: error: 'struct phy_driver' has no member named 'ack_interrupt'; did you mean 'handle_interrupt'?
| 709 | .ack_interrupt = DP83TC812_ack_interrupt, \
| | ^~~~~~~~~~~~~
| /work/dp83tc813/1.0/dp83tc812.c:725:9: note: in expansion of macro 'DP83TC812_PHY_DRIVER'
| 725 | DP83TC812_PHY_DRIVER(DP83TC813_CS2_0_PHY_ID, "TI DP83TC813CS2.0"),
| | ^~~~~~~~~~~~~~~~~~~~
| /work/dp83tc813/1.0/dp83tc812.c:709:18: error: 'struct phy_driver' has no member named 'ack_interrupt'; did you mean 'handle_interrupt'?
| 709 | .ack_interrupt = DP83TC812_ack_interrupt, \
| | ^~~~~~~~~~~~~
/work/dp83tc813/1.0/dp83tc812.c:726:9: note: in expansion of macro 'DP83TC812_PHY_DRIVER'
| 726 | DP83TC812_PHY_DRIVER(DP83TC814_CS2_0_PHY_ID, "TI DP83TC814CS2.0"),
| | ^~~~~~~~~~~~~~~~~~~~
can you help me here.