Hi Julien, please don't drop the CC to the RTnet-users mailing list.
LEBRETON, Julien wrote: > > Hello wolfgang, > > >> Hi Julien, >> LEBRETON, Julien wrote: >>> Hello, >>> >>> I want to port a driver 10/100 Mb to RTnet. I'm working on a platform >>> MPC85xx and I use this configuration : >>> linux kernel 2.6.18 > >> Any chance to switch to a more recent version of Linux based on the >> arch/powerpc tree? This would allow for a more generic RTnet driver. As >> you might know, arch/ppc is almost dead and will be removed from the >> kernel later this year. > > > It's not plan actually. I'm a trainee and my person in charge wants to work > on kernel 2.6.18 and 2.6.14 (for another BSP). You are using MPC8560ADS boards? IIRC, these are already supported by the arch/powerpc tree which should make migration a piece of cake. >>> xenomai 2.3.4 >>> rtnet 0.9.8 >>> >>> I want to know which driver should I port. I began with the source >>> fs_enet-main.c in directory linux/drivers/net/fs_enet, is it good? >>> I see some others drivers in arch/ppc/8260_io or 8xx_io, should I port one >>> of these? >> You should port the driver Linux uses for your ethernet interface. The >> MPC 85xx has Gianfar and, if a CPM is present, also FCC ethernet >> interfaces, IIRC. >> > > perhaps you'll found my next question a little silly, but I'm not sure about > FCC ethernet interface. Which source files must I port? fs_enet-main.c, > mac-fcc.c mii-bitbang.c in the directory drivers/fs_enet ? > > I'm trying already to port fs_enet-main.c using README.drvporting.. but if > it's not the good source file I'm porting, it's silly to continu in this way. I don't know. Check which one get's compiled (check for the *.o) file or search for the corresponding boot log message. Do you want to use the FCC or der Gigabit-Ethernet-Interface of the MPC85xx? >>> I see also three drivers (rt_mpc82xx_fcc_enet.c, rt_mpc8xx_enet.c, >>> rt_mpc8xx_fec.c) in drivers' directory of RTnet tree. Can I use one on >>> these on my >board? >>> Is there lot of differences between driver for mpc82xx and mpc85xx? >> These driver are for Linux 2.4 and it does make little sense to use them. >> >>> Can you give me some information about my task? is it hard or easy to port >>> this driver? >> It's not that hard and there is also a README on driver porting: >> >> http://www.rts.uni-hannover.de/rtnet/lxr/source/Documentation/README.drvporting >> >> Wolfgang. > > Julien > > The information in this e-mail is confidential. The contents may not be > disclosed or used by anyone other then the addressee. Access to this e-mail > by anyone else is unauthorised. > If you are not the intended recipient, please notify Airbus immediately and > delete this e-mail. > Airbus cannot accept any responsibility for the accuracy or completeness of > this e-mail as it has been sent over public networks. If you have any > concerns over the content of this message or its Accuracy or Integrity, > please contact Airbus immediately. > All outgoing e-mails from Airbus are checked using regularly updated virus > scanning software but you should take whatever measures you deem to be > appropriate to ensure that this message and any attachments are virus free. And please don't send confidential e-mails to public mailing lists! Wolfgang ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users