i have a test board having 'n' eth ports, i am using a JTAG interface to it to send some data from each eth port.
now on the receiving end i am having a x86 PC with eCos , i want to receive the data from eth port of my x86 PC. and print it on monitor using "diag_printf". Now the data coming from test board is not having any header as tcp/ip packet have. Now before eth i was making a serial driver. at that time i found that "cyg_io_read/write/lookup" api's are there to control serial driver. i was thinking that for eth also i can use it. but then found that this is not allowed.So i was thinking that after making a eth driver using macros "ETH_DRV_SC()/NETDEVTAB_ENTRY()", can i make some equivalent "cyg_io_read/write" sort of api for my driver. Because the inbulit driver for x86 is dirctly being controlled by tcp/ip or BSD tcp/ip stack. sir please help me out. please give me some direction. regards, Ram Kumar --- Gary Thomas <[EMAIL PROTECTED]> wrote: > On Fri, 2006-01-20 at 15:23 +0000, ram kumar wrote: > > Hi all, > > > > In io/eth/doc/driver_doc > > > > Under the topic ´Calling graph for Transmit and > > Receive¡ it is written that > > > > ´Foreground task calls into network stack to send > a > > packet¡. > > > > If a user wants to do the same operation, through > its > > application code. Then what could be the way? > > > > Means in place of stack or ´Foreground task¡, I > want > > to transmit data (raw data without any format of > > tcp/ip) myself. > > > > I am asking this bÿcoz , all the test cases in > ´net¡ > > package are based on ´socket¡, and I only want to > use > > Ethernet port, without going for ´tcp/ip or BSD¡ > > stack. > > Why? What are you trying to accomplish? > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > > Send instant messages to your online friends http://in.messenger.yahoo.com -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
