beautypg.com

Avago Technologies LSI20160 User Manual

Page 231

background image

Installing Your Linux Driver

11-7

Copyright © 1993–2001 by LSI Logic Corporation. All rights reserved.

The newly created directory 2.2.13 will contain:

readme-2.2.13.ftp -

A listing of the driver version

versus patch number.

script-2.2.13 -

A shell script that can be executed to

apply the patches in the correct order.

files in the format (all on one line) -

patch-ncr53C8xx-

s-d--

.gz

These files are generated with

diff -u

and compressed

using

gzip

.Typically, all patches are applied in order

beginning with the lowest set and patch number. Some
patches have an additional extension of dri or sys to
indicate that they are patches to the driver files or the
system files. Patches with the same set and patch number
but different extension (dri or sys) may be applied in any
order.

4.

Apply the driver patches by editing the script file and
replace with the full path to the
patches. Type each command all on one line. For example,
if the full path to your patches is:

/home/myself/kernelpatches/2.2.13

then the script becomes:

echo "Patching ncr53c8xx/sym53c8xx to versions

3.3b and 1.6b - kernel 2.2.13"

cd /usr/src

ln -s /home/myself/kernelpatches/2.2.13 source

gzip -d

patch -p0

gzip -d

2.2.13.gz | patch -p0

gzip -d

2.2.13.gz | patch -p0

gzip -d

2.2.13.gz | patch -p0

This manual is related to the following products: