Im currently into porting a ethernet device driver from linux to
nucleus platform. As Im new to nucleus, i have very few knowledge in
nucleus. I have just gone thro' the nucleus PLUS reference manual. I
guess this basic idea will not help me in porting. I request you to
help me in this. I have few basic questions.
1) how to connect the new ethernet driver to the nucleus kernel. Is it
in the function INC_Initialize() or Application_Initialize()
(register_netdev in LINUX)
2) How does the TCP/IP protocol know the existance of a new ethernet
driver.
3) How does the TCP/IP stack transmit its packet( which function of the
driver is called by stack to tx packet)(net_device->hard_start_xmit in
LINUX)
4) how does ethrnet driver hand-overs the received packets to the
stack.(skb_put in LINUX)
5) Is there any standard packet structure for ethernet packets.(skb
packet in linux)
6) how is ioremap, alloc_consistent for DMA, copy_from_user, procs,
netlink_kernel_create, netlink_unicast, netif_carrier_on, shared
memory, mutex semaphore (as we have only counting semaphore in Nucleus)
are handled in nucleus
7) How does the queuing the packets for transmission are controlled
(netif_start_queue, netif_stop_queue in LINUX)
I cud not find answers from the websites. please let me know the good
reference web sites too.
Thanks,
Gobinath.A