Download Latest Version cpqfc_2.1.1.tar.gz (129.3 kB)
Email in envelope

Get an email when there's a new version of CPQFC

Home / OldFiles
Name Modified Size InfoDownloads / Week
Parent folder
cpqfc_history.txt 2002-04-11 12.1 kB
README.cpqfc 2002-04-11 2.9 kB
Totals: 2 Items   15.1 kB 0
This directory contains the necessary files to build the drivers from source 
for a 2.4.6 or greater kernel.

Makefile  	  Makefile to build/install driver.
cpqfcTScontrol.c   Routines to control the hba and process the IMQ.
cpqfcTSi2c.c	   Routines to handle i2c interfaces.
cpqfcTSinit.c      Routines to initialize the Tachyon TS and driver structs.
cpqfcTSworker.c	   Worker functions to handle things like logins.
cpqfc_history.txt  Revision information about the Compaq 64Bit/66Mhz FC driver.
cpqfc.Config.In    Configuration information to enable driver.
README.cpqfc	   This file.

include:        Contains header files used by the Compaq 64Bit/66Mhz FC driver
cpqfcTS.h
cpqfcTSchip.h
cpqfcTSioctl.h
cpqfcTSstructs.h
cpqfcTStrigger.h

Building the driver locally
===========================

Before running the Makefile, make sure /usr/src/linux is linked
to the source tree desired and /lib/modules/kernel_version exists.
Also make sure, uname -r, gives the desired kernel version.

If your system has multiple processors (SMP support) the makefile *should* 
detect it and set the __SMP__ flag. If it doesn't simply add SMP=1 to the 
command line when building the driver.

To create the cpqfc directory and extract the source code type:
	tar zxvf cpqfc_2.1.1.tar.gz
Change to the directory and build the driver.
	cd cpqfc; make all

LOCAL BUILD OPTIONS
====================
make all       Builds the Compaq Tachyon/TS FC driver
make install   Installs the driver in /lib/modules/kernel_version

Adding the driver to the Kernel
===============================
If you want to build the driver in your source tree:

Copy the cpqfc source files to /usr/src/linux/drivers/scsi
  ( cpqfcTScontrol.c cpqfcTSi2c.c cpqfcTSinit.c cpqfcTStrigger.c cpqfcTSworker.c cpqioctl.c cpqfcTS.h cpqfcTSchip.h cpqfcTSioctl.h cpqfcTSstructs.h cpqfcTStrigger.h )

Please Note: I've included line numbers are a rough reference point. A patch 
file would be more appropriate.

Add the following line to the file /usr/src/linux/drivers/scsi/Makefile around 
line 127
*************************** (Makefile) ****************************************
obj-$(CONFIG_SCSI_CPQFCTS)	+= cpqfc.o
**************************** (end) *******************************************

Around line 129 in /usr/src/linux/drvers/scsi/Makfile add:
cpqfc-objs	:= cpqfcTSinit.o cpqfcTScontrol.o cpqfcTSi2c.o \
		   cpqfcTSworker.o cpqfcTStrigger.o

And around line 170:
cpqfc.o: $(cpqfc-objs)
	$(LD) -r -o $@ $(cpqfc-objs)

If you want the Compaq Tachyon/TS FC driver added as a choice in 
"make config", "make menuconfig", or "make xconfig"  add the following line 
to the /usr/src/linux/drivers/scsi/Config.in file around line 71.

if [ "$CONFIG_PCI" = "y" ]; then
   dep_tristate 'Compaq Fibre Channel 64-bit/66Mhz HBA support' CONFIG_SCSI_CPQFCTS $CONFIG_SCSI
fi

Now you are ready to build the kernel.

Refer to Release Notes for configuration instructions
Source: README.cpqfc, updated 2002-04-11