Welcome to the Linux Foundation Forum!

Network use USART


Hy I wanted to implement a Network driver that uses the USART. So first I changed the Device-Tree to acces the usart. Then I started to create My Networkdriver. In the init methode of the driver I registrate the usart and then the platform.

In the probe Methode of the Serial Driver I registerNetwork Device I also set the SET_NETDEV_DEV(my_net, &pdev->dev); but now I have no idea how to set the interrupts on the uart_ops to communicate with the networkdevice.


Upcoming Training