Hello Mojtaba,

On 11/03/2020 06:44, mojtaba nadi wrote:
hello,
I'm going to write a network driver for my mac ip core that I made in vivado for zedboard. I can write and read from it with using registers but now I want to use socket programming to access the mac. I understand the first step is adding a ifconfig name for my mac but I couldn't do this with using libbsd.
Am I doing something wrong?
How can I write a network driver for my mac?

the libbsd is a port of the network stack from FreeBSD to RTEMS. You can use all the documentation which is available for FreeBSD. I would start with looking at an example network interface driver, e.g.

freebsd/sys/dev/cadence/if_cgem.c

_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to