Hello Frederik and Jan!
I have a RTL8101E/RTL8102E Realtek board. Yesterday a got the last version
of rtnet avaible from git. I took a look on the rt_r8169.c code and it
looks like the modification suggested by Frederik was not yet incorporated
in the rtnet newest version, is that correct?
Then I replaced the rt_r8169.c by the file attached by Frederik and tried
to compile the code and I got some errors listed bellow.
I would like to now if Frederick successfully compile this file with the
rtnet and if there is a plan in short term to upgrade the r8169 driver.
Any help will be appreciated.
Thank you very much!
Renato M. Monaro
make[1]: Entrando no diretório `/usr/src/rtnet/drivers/experimental'
make[2]: Entrando no diretório `/usr/src/linux-2.6.37.6'
CC [M] /usr/src/rtnet/drivers/experimental/rt_r8169.o
<linha-de-comando>:0:0: aviso: "_FORTIFY_SOURCE" redefinido [habilitado por
padrão]
<embutido>:0:0: nota: este é a localização da definição anterior
/usr/src/rtnet/drivers/experimental/rt_r8169.c: Na função ‘rtl_set_rx_mode’:
/usr/src/rtnet/drivers/experimental/rt_r8169.c:4353:17: erro: ‘struct
rtnet_device’ has no member named ‘mc_count’
/usr/src/rtnet/drivers/experimental/rt_r8169.c:4364:27: erro: ‘struct
rtnet_device’ has no member named ‘mc_list’
/usr/src/rtnet/drivers/experimental/rt_r8169.c:4364:55: erro: ‘struct
rtnet_device’ has no member named ‘mc_count’
/usr/src/rtnet/drivers/experimental/rt_r8169.c:4365:26: erro: dereferencing
pointer to incomplete type
/usr/src/rtnet/drivers/experimental/rt_r8169.c:4366:17: erro: dereferencing
pointer to incomplete type
make[3]: ** [/usr/src/rtnet/drivers/experimental/rt_r8169.o] Erro 1
make[2]: ** [_module_/usr/src/rtnet/drivers/experimental] Erro 2
make[2]: Saindo do diretório `/usr/src/linux-2.6.37.6'
make[1]: ** [all-local.ko] Erro 2
make[1]: Saindo do diretório `/usr/src/rtnet/drivers/experimental'
make: ** [all-recursive] Erro 1
On Mon, Feb 28, 2011 at 12:38 PM, Jan Kiszka <jan.kis...@web.de> wrote:
> Hi Frederik,
>
> thanks for posting this work, and sorry for my late reply!
>
> On 2011-02-18 14:49, Frederik Bayart wrote:
> >
> > Hallo Jan,
> >
> > In rtnet 0.9.12, there is an experimental rt_r8169 driver, based on a
> 2.4 kernel.
> >
> > Because this driver doesn't work on a Realtek 8168 card, my colleague
> ported the RTL8169 driver from the 2.6.30.8 kernel to rtnet.
>
> Hmm, 2.6.30 is also seriously old... :)
>
> > We tried this driver on a RLT8168 card and it seems to work. At the
> moment we have no rtl8169 card available tot test.
> >
> > In attachment you find the original kernel source and our rtnet version
> of it. Can you have a look at it, and if it seems ok to you, can you add it
> to the repository ?
>
> I will have a look the next days. Just poke me if you don't receive a
> feedback.
>
> To prepare your contribution for a merge, olease follow [1] as close as
> technically feasible for you. At least I need that formal declaration in
> form of the signed-off that you and/or your colleague are allowed to
> contribute this work under the GPL to RTnet (if done privately, it's no
> problem, but when done for your employer, they first of all hold the
> rights of your work).
>
> Even nicer would be if you could integrate the driver into RTnet's build
> system. Pick e.g. the addition of rt_igb and transfer that pattern to
> your even simpler (single file) driver.
>
> Thanks,
> Jan
>
>
> [1] http://article.gmane.org/gmane.linux.real-time.rtnet.devel/388
>
>
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT
> data
> generated by your applications, servers and devices whether physical,
> virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> RTnet-users mailing list
> RTnet-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rtnet-users
>
>
--
Renato Machado Monaro
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users