Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Yesterday, I installed Fedora 16 and found no wireless connection available.

Then I found the ar81family driver

But it seems like it does not work with kernel 3. I changed the makefile to ignore the kernel version, but it doesn't compile. It complains:

asm/linkage.h not found

How can I compile this module for my kernel?

share|improve this question
    
There may be something wrong with the file you linked to. It seems to contain a driver for a PCI/E ethernet (wired) adapter. Take a look at the readme file. –  Kristof Provost Nov 24 '11 at 16:02

1 Answer 1

up vote 1 down vote accepted

In general Linux drivers needs to closely match the version of the kernel they were developed for. The driver API changes frequently.

It's one of the many reasons Linux kernel developers very strongly encourage people to submit their drivers.

Usually it's not too hard to update the driver to match the current kernel, especially if the version difference isn't too big. It does require some knowledge of C though.

The easiest solution will be to find out what kernel version the driver was intended to work with and use that one.

share|improve this answer
    
Hm,Actually I am a Java Developer, It is hard for me to modify the driver. But, anyway, I will give a try. –  jilen Nov 25 '11 at 1:03
    
It's too hard to modify a driver. I think I would pay a lot of to have this done. –  jilen Dec 11 '11 at 4:14
    
@jilen Have you tried this: unknownimous.blogspot.com/2010/08/… ? –  Kristof Provost Dec 11 '11 at 10:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.