Patching Driver Into Kernel (Optional)

Patch files are included for patching the driver into some of the latest 2.4.x kernel source trees. This step is optional and should only be done by users familiar with configuring and building the kernel. The patch will modify the orginal kernel's source code.

Follow the following steps to patch the driver into kernel:

1. Select the patch file that matches your kernel and apply the patch:

patch -p1 -d <>-2.4..patch



where is the version of the bcm5700 driver and 2.4. is the version of the kernel to patch (e.g. 2.4.10).

Note: is usually /usr/src/linux or /usr/src/linux-2.4.

2. Configure the kernel to include the bcm5700 driver. It can be found
under Network Device Support ---> Ethernet (1000 Mbit) ---> Broadcom BCM5700
support when make menuconfig is run. Select built-in or module for the driver:

cd
make menuconfig

3. Compile the kernel:

make dep
make clean
....
....
Patching Driver Into Kernel (Optional) Patching Driver Into Kernel (Optional) Reviewed by Sitakom Blog on 4:47 PM Rating: 5

No comments: