USB Lan Adapter
poma
pomidorabelisima at gmail.com
Tue Jul 16 15:15:40 UTC 2013
On 16.07.2013 16:02, Ranjan Maitra wrote:
>>
>> BuildRequires: kernel-devel
>>
>> $ ls
>> dm9620.c Makefile
>> $ make
>> $ su
>> # make install
>>
>>
>> poma
>>
>>
>> Ref.
>> http://marc.info/?l=linux-netdev&m=137173085617601
>>
>
> Trying this out, it appears that I fail right away:
>
> $ make
> make -C /lib/modules/3.9.9-302.fc19.x86_64/build M=/home/maitra/9620
> make[1]: Entering directory `/usr/src/kernels/3.9.9-302.fc19.x86_64'
> CC [M] /home/maitra/9620/dm9620.o
> /home/maitra/9620/dm9620.c: In function ‘dm9620_status’:
> /home/maitra/9620/dm9620.c:725:3: error: implicit declaration of
> function ‘usbnet_link_change’ [-Werror=implicit-function-declaration]
> usbnet_link_change(dev, link, 1); ^
> cc1: some warnings being treated as errors
> make[2]: *** [/home/maitra/9620/dm9620.o] Error 1
> make[1]: *** [_module_/home/maitra/9620] Error 2
> make[1]: Leaving directory `/usr/src/kernels/3.9.9-302.fc19.x86_64'
> make: *** [default] Error 2
>
> Some searching gets me here:
>
> http://www.spinics.net/lists/netdev/msg232521.html
>
> OK, so perhaps I need this:
>
> /include/linux/usb/usbnet.h
>
> So I look at the repos and come up with the following:
>
> kcbench-data-3.9-0.1-12.fc19.noarch : Kernel sources from 3.9 to be
> used by : kcbench
> Repo : fedora
>
> Also, the file is in kernel-devel but the usbnet_link_change is not
> list.
>
> What are my options here?
>
> Thanks,
> Ranjan
$ modinfo dm9620
filename:
/lib/modules/3.10.0-707.fc19.x86_64/kernel/drivers/net/usb/dm9620.ko
license: GPL
description: Davicom DM9620 USB 2.0 ethernet devices
author: Peter Korsgaard <jacmet at sunsite.dk>
alias: usb:v0A46p1269d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0A46p0269d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0A46p9622d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0A46p9621d*dc*dsc*dp*ic*isc*ip*in*
alias: usb:v0A46p9620d*dc*dsc*dp*ic*isc*ip*in*
depends: usbnet,mii
vermagic: 3.10.0-707.fc19.x86_64 SMP mod_unload
kernel >= 3.10 ;)
http://kojipkgs.fedoraproject.org/packages/kernel/3.10.0/1.fc20/x86_64/
- kernel-3.10.0-1.fc20.x86_64.rpm
- kernel-devel-3.10.0-1.fc20.x86_64.rpm
- kernel-headers-3.10.0-1.fc20.x86_64.rpm
poma
More information about the users
mailing list