/*********************************************************************
*   PROMISE FastTrak TX2200/4200/579 Series Linux Driver README
*
*   PROMISE Linux support team <support@promise.com.tw>   2004/06/02
*********************************************************************/
	
How to make Driver Module (UP/SMP) of FastTrak , and load it?

1.) Please make sure you have linux kernel source code at ("/usr/src/linux"),
    and gcc version is 3.x by issuing Linux command :
    # gcc -v

2.) Set Kernel Compiling Environment on Linux System
    # cd /usr/src/linux/, if no linux exist, make a symbolic link to proper linux source directory.
    # make mrproper
    # Please note and make sure the release version string in "/usr/src/linux/Makefile" is match with the kenel version string you want to build with, else the build or the insert will be NOT properly.
    # "make config" or "make menuconfig" or "make xconfig"
	To set kernel config items as you wish as below,
	Processor type and features/Processor family
	Processor type and features/High Memory Support
	Processor type and features/Symmetric multi-processing support
    # make dep clean

3.) Goto directory where PROMISE driver codes is located and edit Makefile.

4.) Choose right parameters in Makefile, default parameter is GENERIC.
#$(CC) $(GENERIC) -c $*.c 
	$(CC) $(SuSE) -c $*.c 
#$(CC) $(TURBO) -c $*.c 
#$(CC) $(MDK) -c $*.c 
     ex:	GENERIC	 for most common case
		SuSE	 for SuSE linux common case
		TURBO	 for Turbo linux common case
		MDK      for Mandrake linux common case
 
    Or modify it for suitable your system, each item only one can be used.

5.) Issue Linux command to make FastTrak(UP/SMP) driver: ftsata2.o

    	#make or #make all

    If Dual Processor system

	#make smp

6.) Be sure to load scsi_mod.o before "insmod ftsata2.o".

7.) You can copy this module to /lib/modules/2.4.x/kernel/drivers/scsi/
    as current kernel's modules location.

8.) Issue "cat /proc/scsi/ftsata2/x" (x is a SCSI host number) to get the
    RAID array status.

