Installing the SCSI Miniport Driver
42
Host Bus Adapter for Windows and Linux Installation Guide
Building the Driver Into the Kernel
SCSI Functionality
Once you have installed the source files, you can build the driver into the kernel.
1. Enter the following commands:
# mkdir /usr/src/linus/scsi/lpfc
# find . -print | cpio -pdumv /usr/src/linux/drivers/scsi/lpfc
# cd /usr/src/linux/drivers/scsi/lpfc
# cp Makefile.kernel Makefile
2. Edit the Makefile and the lpfc.conf.c files, if needed.
3. Enter the following command to change the directory to the Linux source:
# cd /usr/src/linux/
4. Edit Rules.make and remove “$(sort and the matching closing parenthesis
from this line:
subdir-list = $(sort $(patsubst %,_subdir_%,$(SUB_DIRS)))
The edited line should now display as follows:
subdir-list = $(patsubst %,_subdir_%,$(SUB_DIRS))
Note:
For some 2.4 based kernels, this will allow the scsi/lpfc Makefile to be
invoked BEFORE the scsi Makefile.
5. Edit the Makefile under the drivers directory:
# cd /usr/src/linux/drivers
# vi Makefile
6. Add a check for $(CONFIG_SCSI_LPFC) to add scsi/lpfc to the directory
lists before $(CONFIG_SCSI) adds scsi to the directory lists. The scsi/lpfc
Makefile should be invoked BEFORE the scsi Makefile. Edit the following
lines:
subdir-$(CONFIG_IDE) += ide
subdir-$(CONFIG_SCSI) += scsi
7. Add the following line:
subdir-$(CONFIG_SCSI_LPFC) += scsi/lpfc
Содержание StorageWorks A7298A
Страница 6: ...Contents 6 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 14: ...About this Guide 14 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 22: ...Introduction 22 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 30: ...Installation 30 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 48: ...Installing the SCSI Miniport Driver 48 Host Bus Adapter for Windows and Linux Installation Guide ...
Страница 92: ...Index 92 Host Bus Adapter for Windows and Linux Installation Guide ...