* Compilation of Realtek r8169-6.010.00 fails on 2.6.30
@ 2009-06-13 22:28 Torsten Mueller
2009-06-14 22:31 ` Francois Romieu
0 siblings, 1 reply; 2+ messages in thread
From: Torsten Mueller @ 2009-06-13 22:28 UTC (permalink / raw)
To: Realtek and the Linux r8169 crew
Hello,
i have problems compiling the driver for this card.
I want to test this driver to check, if it gives more
bandwidth in a gigabit network against the stock 2.6.30
vanilla kernel driver.
Can you lead me to a solution for this compilation problem ?
Thanks,
Torsten
slave:/usr/src/rtl8169/r8169-6.010.00 # make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/src/rtl8169/r8169-6.010.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags
.tmp_versions Module.symvers Modules.symvers rset modules.order
Module.markers
make[1]: Leaving directory `/usr/src/rtl8169/r8169-6.010.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/rtl8169/r8169-6.010.00/src'
make -C /lib/modules/2.6.30/build
SUBDIRS=/usr/src/rtl8169/r8169-6.010.00/src modules
make[2]: Entering directory `/usr/src/linux-2.6.30'
CC [M] /usr/src/rtl8169/r8169-6.010.00/src/r8169_n.o
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c: In function ‘rtl8169_open’:
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c:2753: warning: passing
argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c: In function
‘rtl8169_interrupt’:
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c:3682: error: implicit
declaration of function ‘netif_rx_schedule_prep’
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c:3683: error: implicit
declaration of function ‘__netif_rx_schedule’
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c:3714: error: expected
expression before ‘)’ token
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c:3714: warning: ‘return’
with a value, in function returning void
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c: In function ‘rtl8169_poll’:
/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.c:3735: error: implicit
declaration of function ‘netif_rx_complete’
make[3]: *** [/usr/src/rtl8169/r8169-6.010.00/src/r8169_n.o] Error 1
make[2]: *** [_module_/usr/src/rtl8169/r8169-6.010.00/src] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.30'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/rtl8169/r8169-6.010.00/src'
make: *** [modules] Error 2
slave:/usr/src/rtl8169/r8169-6.010.00 # uname -a
Linux slave 2.6.30 #2 Sat Jun 13 23:31:10 CEST 2009 i686 athlon i386
GNU/Linux
slave:/usr/src/rtl8169/r8169-6.010.00 #
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compilation of Realtek r8169-6.010.00 fails on 2.6.30
2009-06-13 22:28 Compilation of Realtek r8169-6.010.00 fails on 2.6.30 Torsten Mueller
@ 2009-06-14 22:31 ` Francois Romieu
0 siblings, 0 replies; 2+ messages in thread
From: Francois Romieu @ 2009-06-14 22:31 UTC (permalink / raw)
To: Torsten Mueller; +Cc: netdev
Torsten Mueller <torsten@archesoft.de> :
[...]
> i have problems compiling the driver for this card.
> I want to test this driver to check, if it gives more
> bandwidth in a gigabit network against the stock 2.6.30
> vanilla kernel driver.
>
> Can you lead me to a solution for this compilation problem ?
Check your LINUX_VERSION_CODE and analyze the output of
$ git log -p -- drivers/net/r8169.c | less +/netif_rx_schedule_prep
Do you have specific problems with the kernel included r8169 driver ?
The one in 2.6.30 should not be too bad (as long as your chipset
is supported of course).
--
Ueimor
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-14 22:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-13 22:28 Compilation of Realtek r8169-6.010.00 fails on 2.6.30 Torsten Mueller
2009-06-14 22:31 ` Francois Romieu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.