User`s guide
12 – Red Hat Linux Driver Installation
Installing the Driver
FC2354601-00 E 12-3
Q
Add the following lines below it:
subdir-$(CONFIG_SCSI_QLOGIC_QLA2XXX) += qla2xxx
ifeq ($(CONFIG_SCSI_QLOGIC_QLA2XXX_QLA2300),y)
SUB_DIRS += qla2xxx
MOD_IN_SUB_DIRS += qla2xxx
else
ifeq ($(CONFIG_SCSI_QLOGIC_QLA2XXX_QLA2300),m)
MOD_IN_SUB_DIRS += qla2xxx
endif
endif
ifeq ($(CONFIG_SCSI_QLOGIC_QLA2XXX_QLA2300),y)
SUB_DIRS += qla2xxx
MOD_IN_SUB_DIRS += qla2xxx
else
ifeq ($(CONFIG_SCSI_QLOGIC_QLA2XXX_QLA2300),m)
MOD_IN_SUB_DIRS += qla2xxx
endif
endif
b. Locate the following line:
obj-$(CONFIG_SCSI_QLOGIC_QLA2100) += qla2x00.o
Add the following lines below it:
obj-$(CONFIG_SCSI_QLOGIC_QLA2XXX_QLA2300)
+= qla2xxx/qla2300.o
c. Append the following lines to the end of Makefile:
qla2xxx/qla2300.o:
cd qla2xxx; make qla2300.o
3. Edit the Config.in file under the kernel /scsi directory. For example:
# cd /usr/src/linux/drivers/scsi
# vi Config.in
Locate the following lines:
dep_tristate ’Qlogic QLA 2100 FC SCSI support’
CONFIG_SCSI_QLOGIC_QLA2100 $CONFIG_SCSI
dep_tristate ’Qlogic QLA 2300 FC SCSI support’
CONFIG_SCSI_QLOGIC_QLA2300 $CONFIG_SCSI
Add the following line below these lines:
source drivers/scsi/qla2xxx/Config.in