Using network driver from 6.4.1 to 6.2.0

Hello,

I am a newbie in this area.

The latest QNX 6.4.1 version supports my network card through the driver devnp-e1000.so which in turns is launched by binary file io-pkt-v4-hc:

pidin -P io-pkt-v4-hc mem

pid tid name               prio STATE            code  data        stack

126995 1 sbin/io-pkt-v4-hc 21o SIGWAITINFO 872K 1848K 8192(516K)*
126995 2 sbin/io-pkt-v4-hc 21o RECEIVE 872K 1848K 8192(132K)
io-pkt-v4-hc @ 8127000 4096
libc.so.3 @b0300000 452K 16K
devnp-e1000.so @b8200000 44K 8192

My question is:
How can I make my Ethernet card work on QNX 6.2.0 version using the above driver?

a) Will I have to port the driver from 6.4.1 to 6.2.0? If yes, is there any guide/resource somebody can point at?

b) How about just copying the binary (io-pkt-v4-hc), driver (devnp-speedo.so) and the library file (libc.so.3) to the 6.2.0? Will that be sufficient?

I have some experience with building .ifs files using buildfiles.

Any help will be greatly appreciated.

Techgeek,

You can’t copy the binary files from 6.4 to 6.2. They won’t run and even if they did they wouldn’t give the expected results because 6.2 handles network traffic entirely differently than 6.4 (there is no io-pkt in 6.2, there is an io-net instead).

So you are down to option A. The first step is downloading the source at foundry27 (you can also ask the network development team there for tips on doing the porting).

Tim

I’m not even sure there was network DDK for 6.2.0.

You might be able to start the i82544 driver by specifying the device id (did=…)

Thanks Tim for your reply. I just looked into the Foundry27 source code and it seems they have branches just for 6.3 and 6.4:
~/projects/svn_projects# ls -l bsp/branches/
total 8
drwxr-xr-x 4 root root 4096 2009-09-22 11:23 6.3.0
drwxr-xr-x 4 root root 4096 2009-09-22 11:24 6.4.0
~/projects/svn_projects#

So I guess I will have to ask the network development team as you suggested.

Hi mario. Just to be sure, do you mean starting the devn-82544.so driver from a recent version of QNX? Also, I would like to know why did you mention this driver. Is this driver compatible with 6.2.0 as opposed to devnp-e1000.so driver. Also on reading the utilities_reference.pdf file for 82544 it does not list my network card (82574) among the supported device list.

I apologize if my question does not make any sense.

I apologize for pasting the incorrect output of pidin which showed that my network card was using devnp-speedo. so driver. I have corrected the output in the original post and I am pasted here also:

pidin -P io-pkt-v4-hc mem

pid tid name prio STATE code data stack
126995 1 sbin/io-pkt-v4-hc 21o SIGWAITINFO 872K 1848K 8192(516K)*
126995 2 sbin/io-pkt-v4-hc 21o RECEIVE 872K 1848K 8192(132K)
io-pkt-v4-hc @ 8127000 4096
libc.so.3 @b0300000 452K 16K
devnp-e1000.so @b8200000 44K 8192

i82544 is a close cousin of e1000. e1000 is new with 6.4.1 and support more devices then i82544. i82544 was available with 6.2.0 which is why I suggested you might give it a try.

has anyone got i82574L to work in qnx 6.3.2? I would like to know before I get one in.
thanks