Re: [RTnet-users] ioctl: Invalid argument

2010-04-12 Thread Jan Kiszka
Cyril Wallois wrote: > Hi Jan, > > I found where my problem comes from, it is a strange alignment in the > tdma_config structure. > > In user mode the offsets in the struct are : > > id : 16 > offset : > 20 > period : > 28 > phasing : > 32 > size: 36 > > In kernel mode the offsets are : >

[RTnet-users] ioctl: Invalid argument

2010-04-08 Thread Cyril Wallois
Hi Jan, I found where my problem comes from, it is a strange alignment in the tdma_config structure. In user mode the offsets in the struct are : id : 16 offset : 20 period : 28 phasing : 32 size: 36 In kernel mode the offsets are : id : 16 offset : 24 period : 32 phasing : 36 size

[RTnet-users] ioctl: Invalid argument

2010-04-08 Thread Cyril Wallois
Thanks for all Jan. -- Download IntelĀ® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio

Re: [RTnet-users] ioctl: Invalid argument

2010-04-07 Thread Jan Kiszka
Cyril Wallois wrote: > Hi all, > > I'm using rtnet on an embedded system with an ARM processor. > > During the tdma configuration with tdmacfg script on the master, several > error appears : > > # ./tdmacfg rteth0 master 5000 > vnic0 (): not using net_device_ops yet (maybe not important) Use gi

[RTnet-users] ioctl: Invalid argument

2010-04-06 Thread Cyril Wallois
Hi all, I'm using rtnet on an embedded system with an ARM processor. During the tdma configuration with tdmacfg script on the master, several error appears : # ./tdmacfg rteth0 master 5000 vnic0 (): not using net_device_ops yet (maybe not important) The transmition begin successfully, then I hav