Hi,
You can do this in two ways:
1) Create a net_dev API on to of your own driver, and let it look like
Ethernet, seen from TIPC. I that case you don't need to change anything in TIPC.
2) Create a new "adaptation" layer, that adapts upwards towards TIPC (the
tip_plugin_if.h API), and downwards towards your own HW. This gives more
potential for good performance, and is the way TIPC was intended to be ported
to new media.
You can start from tipc_eth_media.c as a template, and create a new e.g.
tipc_rapid_io_media.c, and the go on from there. You shouldn't need to change
any other file in TIPC.
Regards
///jon
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of hui03090402
Sent: March 12, 2008 4:39 AM
To: [email protected]
Subject: [tipc-discussion] We want to change TIPC bear usr RapidIO, how to?
Hello all,
Our team are developing RapidIO driver, now we are discussing if it is
possible that using TIPC as our RapidIO driver's upper interface? I have seen
TIPC source code about one week, I feel that the TIPC can accomplish our
purpose. Can you tell me is that so? If so, How to impliment it? There are
Tipc_coue.c ,Tipc_socket.c and Tipc_eth_media.c files which seem shoud be
change. Are there any other files we shoud change, and how to realize it?
I hope your answer, very thanks.
Best wishes.
Yinghui JI
20080312
________________________________
08年春季关注度最高的招聘信息,热门职位快来申请 <http://popme.163.com/link/004008_0304_4798.html>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
tipc-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tipc-discussion