
Build the Driver Into the Kernel
Configure SCSI Functionality
Once you have installed the source files, you can build the driver into the kernel.
Note
We recommend building the driver as a module as
opposed to building the driver into the kernel.
Note
Driver installation or removal does not save the
configuration files (i.e. lpfc.conf, lpfc.conf.c or lpfc.conf.
defs) from previous installations. If you customized any of
these files, we recommend that you copy them to a another
location so that you have a record of the changes.
1. Change to the driver installation directory. Type:
cd_driver_installation_directory
2. Edit the /etc/lpfc.conf file and BASEINCLUDE variable in Makefile, if needed. See Build
the Driver as a Module for details.
3. Change to the Linux source directory:
# cd /usr/src/linux/
or
/usr/src/<kernelsource>
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
or
/usr/src/<kernelsource>/drivers
Before $(CONFIG_SCSI) adds scsi to the directory lists, add a check for
$(CONFIG_SCSI_LPFC) to add scsi/lpfc to the directory lists. The scsi/lpfc Makefile
Emulex Documentation, Drivers and Software
Comentários a estes Manuais