Skip to contentSkip to conversation

Compile third-party module into the kernel

DISCUSSION Jouke Witteveen 1 participant 3 messages May 9, 2005 – May 12, 2005 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

I'm about to compile my new 2.4.27 (Debian Sarge) kernel. There is only one hurdle left to take.
For my 3C905C-TX-M I wan't to use the latest vendor driver since I heard the famous 3c59x is not optimal for that card. The driver of choice is: http://support.3com.com/infodeli/tools/nic/linux/3c90x-102.tar.gz.
How do I compile this source (3c90x.c and 3c90x.h) directly into the kernel (not as a module)? And how as a module inside a my-kernel_modules.deb like ALSA
get's compiled?

Kind regards,
Jouke

#3 lore raw
In reply to a message not in the archive

Can I use this patch:
http://developer.momonga-linux.org/viewcvs/trunk/pkgs/kernel/momonga-linux-2.4.20-3c90x.patch?rev=3
on the Debianized source 2.4.27 (rev 8)?

- Jouke

Quoted 46 lines · Jouke Witteveen

In the readme file from the drivers in question is stated:
---

Quoted 3 lines

To load the 3C90x driver module on a Kernel 2.4 (or above) system, place an "alias" in the file named /etc/modules.conf. For older systems, the file name may be conf.modules.

---
This is the only time the 2.4 branch gets metioned.
From this I can conclude that the driver does support the 2.4 branch but it is not build for this specific linux kernel.
How to compile it into the kernel is not described however.

In an older version of the driver
(http://support.3com.com/infodeli/tools/nic/linux/3c90x-1.0.0i.tar.gz)
a patch for the 2.2 series kernel source is included. How should I patch the 2.4.27 kernel source to include the 3c90x?

Quoted 27 lines · kylin

is third party soft writen for the specific linux kernnel ?

Quoted 12 lines · Jouke Witteveen

Hello,

I'm about to compile my new 2.4.27 (Debian Sarge) kernel. There is only one hurdle left to take.
For my 3C905C-TX-M I wan't to use the latest vendor driver since I heard the famous 3c59x is not optimal for that card. The driver of choice is: http://support.3com.com/infodeli/tools/nic/linux/3c90x-102.tar.gz.
How do I compile this source (3c90x.c and 3c90x.h) directly into the kernel (not as a module)? And how as a module inside a my-kernel_modules.deb like ALSA
get's compiled?

Quoted 8 lines

Kind regards,
Jouke
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

--
we who r about to die,salute u!

#4 lore raw

Oops:
The right address of the patch is:
http://developer.momonga-linux.org/viewcvs/trunk/pkgs/kernel24/momonga-linux-2.4.20-3c90x.patch

I see now that it is designed for 3com driver version 1.0.0i. Does that mean I cannot use it with version 1.0.2?

- Jouke

Quoted 54 lines · Jouke Witteveen

Can I use this patch:
http://developer.momonga-linux.org/viewcvs/trunk/pkgs/kernel/momonga-linux-2.4.20-3c90x.patch?rev=3
on the Debianized source 2.4.27 (rev 8)?

- Jouke

Quoted 46 lines · Jouke Witteveen

In the readme file from the drivers in question is stated:
---

Quoted 3 lines

To load the 3C90x driver module on a Kernel 2.4 (or above) system, place an "alias" in the file named /etc/modules.conf. For older systems, the file name may be conf.modules.

---
This is the only time the 2.4 branch gets metioned.
From this I can conclude that the driver does support the 2.4 branch but it is not build for this specific linux kernel.
How to compile it into the kernel is not described however.

In an older version of the driver
(http://support.3com.com/infodeli/tools/nic/linux/3c90x-1.0.0i.tar.gz)
a patch for the 2.2 series kernel source is included. How should I patch the 2.4.27 kernel source to include the 3c90x?

Quoted 27 lines · kylin

is third party soft writen for the specific linux kernnel ?

Quoted 12 lines · Jouke Witteveen

Hello,

I'm about to compile my new 2.4.27 (Debian Sarge) kernel. There is only one hurdle left to take.
For my 3C905C-TX-M I wan't to use the latest vendor driver since I heard the famous 3c59x is not optimal for that card. The driver of choice is: http://support.3com.com/infodeli/tools/nic/linux/3c90x-102.tar.gz.
How do I compile this source (3c90x.c and 3c90x.h) directly into the kernel (not as a module)? And how as a module inside a my-kernel_modules.deb like ALSA
get's compiled?

Quoted 8 lines

Kind regards,
Jouke
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

--
we who r about to die,salute u!