README file for the arcmsr RAID controller SCSI driver
======================================================
History

        REV#         DATE	       NAME	         DESCRIPTION
     1.00.00.00    3/31/2004         Erich Chen        First release
     1.10.00.04    7/28/2004         Erich Chen        modify for ioctl
     1.10.00.06    8/28/2004         Erich Chen        modify for 2.6.x
     1.10.00.08    9/28/2004         Erich Chen        modify for x86_64
     1.10.00.10   10/10/2004         Erich Chen        bug fix for SMP & ioctl
     1.20.00.00   11/29/2004         Erich Chen        bug fix with arcmsr_bus_reset when PHY error
     1.20.00.02   12/09/2004         Erich Chen        bug fix with over 2T bytes RAID Volume
     1.20.00.04    1/09/2005         Erich Chen        fits for Debian linux kernel version 2.2.xx

Support

        Linux SCSI RAID driver technical support

        mail address: erich@areca.com.tw
                 Tel: 886-2-8797-4060 Ext.203
                 Fax: 886-2-8797-5970
            Web site: http:www.areca.com.tw (We support Linux RAID config tool)
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
If your linux kernel version lower than 2.3.x
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/drivers/scsi/Makefile
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

           ifeq ($(CONFIG_SCSI_AIC7XXX),y)
           L_OBJS += aic7xxx.o
           else
             ifeq ($(CONFIG_SCSI_AIC7XXX),m)
             M_OBJS += aic7xxx.o
             endif
           endif

           ifeq ($(CONFIG_SCSI_ARCMSR),y)              <----new
           L_OBJS += arcmsr.o                          <----new
           else                                        <----new
             ifeq ($(CONFIG_SCSI_ARCMSR),m)            <----new
             M_OBJS += arcmsr.o                        <----new
             endif                                     <----new
           endif                                       <----new

           ifeq ($(CONFIG_SCSI_DC390T),y)
           L_OBJS += tmscsim.o
           else
             ifeq ($(CONFIG_SCSI_DC390T),m)
             M_OBJS += tmscsim.o
             endif
           endif

         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/drivers/scsi/Config.in
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

           if [ "$CONFIG_PCI" = "y" ]; then
             dep_tristate 'Qlogic ISP SCSI support' CONFIG_SCSI_QLOGIC_ISP $CONFIG_SCSI
             dep_tristate 'Qlogic ISP FC SCSI support' CONFIG_SCSI_QLOGIC_FC $CONFIG_SCSI
           fi
           dep_tristate 'Seagate ST-02 and Future Domain TMC-8xx SCSI support' CONFIG_SCSI_SEAGATE $CONFIG_SCSI
           dep_tristate 'ARECA (ARC1110/1120/1130/1160/1210/1220/1230/1260) SATA RAID HOST Controller' CONFIG_SCSI_ARCMSR $CONFIG_SCSI       <----new
           ....
           ..
           .
           dep_tristate 'Trantor T128/T128F/T228 SCSI support' CONFIG_SCSI_T128 $CONFIG_SCSI
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/drivers/scsi/hosts.c
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
           #ifdef CONFIG_SCSI_SYM53C416
           #include "sym53c416.h"
           #endif

           #ifdef CONFIG_SCSI_ARCMSR             <----new
           #include "arcmsr.h"                   <----new
           #endif                                <----new

           #ifdef CONFIG_SCSI_DC390T
           #include "dc390.h"
           #endif

           #ifdef CONFIG_SCSI_AM53C974
           #include "AM53C974.h"
           #endif
           -----------------------
               ----
                ---
                 --
           -----------------------

           #ifdef CONFIG_SCSI_IBMMCA
               IBMMCA,
           #endif
           #ifdef CONFIG_SCSI_EATA
               EATA,
           #endif
           #ifdef CONFIG_SCSI_ARCMSR             <----new
               ARCMSR,                           <----new
           #endif                                <----new
           #ifdef CONFIG_SCSI_DC390T
               DC390_T,
           #endif
           #ifdef CONFIG_SCSI_AM53C974
               AM53C974,
           #endif
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/include/linux/proc_fs.h
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

         	PROC_SCSI_FD_MCS,
         	PROC_SCSI_EATA2X,
         	PROC_SCSI_ARCMSR,                     <----new
         	PROC_SCSI_DC390T,
         	PROC_SCSI_AM53C974,

         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
If your linux kernel version between 2.5.x and 2.3.x
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/drivers/scsi/Makefile
	 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
	  ...
	  ....

	  subdir-$(CONFIG_SCSI_ARCMSR)	+= arcmsr
	  obj-$(CONFIG_SCSI_ARCMSR)	+= arcmsr/arcmsr.o

	  ....
	  ...
	 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/drivers/scsi/Config.in
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
	  ...
	  ....

	  if [ "$CONFIG_PCI" = "y" ]; then
	  dep_tristate 'ARECA (ARC1110/1120/1130/1160/1210/1220/1230/1260) SATA RAID HOST Controller SCSI support' CONFIG_SCSI_ARCMSR $CONFIG_SCSI
	  fi

	  ....
	  ...
	 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
If your linux kernel version higher than 2.6.0
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/drivers/scsi/Makefile
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
	  ...
	  ....

	  obj-$(CONFIG_SCSI_ARCMSR)	+= arcmsr/

	  ....
	  ...
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

     linux/drivers/scsi/Kconfig
         @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
	  ...
	  ....

	  config SCSI_ARCMSR

              tristate "ARECA (ARC1110/1120/1130/1160/1210/1220/1230/1260) SATA RAID HOST Controller"
              depends on  PCI && SCSI
	      help
	        This driver supports all of ARECA's SATA RAID controllers cards.
	        This is an ARECA maintained
	        driver by Erich Chen.  <If you have any problems, please mail to: erich@areca.com.tw >.

	        To compile this driver as a module, choose M here: the
	        module will be called arcmsr (modprobe arcmsr) .

	  ....
	  ...
	 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

###############################################################################

Make new Linux kernel......


Copyright
---------
************************************************************************
** Copyright (C) 2002 - 2005, Areca Technology Corporation All rights reserved.
**
**     Web site: www.areca.com.tw
**       E-mail: erich@areca.com.tw
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License version 2 as
** published by the Free Software Foundation.
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
************************************************************************
** Redistribution and use in source and binary forms,with or without
** modification,are permitted provided that the following conditions
** are met:
** 1. Redistributions of source code must retain the above copyright
**    notice,this list of conditions and the following disclaimer.
** 2. Redistributions in binary form must reproduce the above copyright
**    notice,this list of conditions and the following disclaimer in the
**    documentation and/or other materials provided with the distribution.
** 3. The name of the author may not be used to endorse or promote products
**    derived from this software without specific prior written permission.
**
** THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
** IMPLIED WARRANTIES,INCLUDING,BUT NOT LIMITED TO,THE IMPLIED WARRANTIES
** OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
** IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,INDIRECT,
** INCIDENTAL,SPECIAL,EXEMPLARY,OR CONSEQUENTIAL DAMAGES(INCLUDING,BUT
** NOT LIMITED TO,PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA,OR PROFITS; OR BUSINESS INTERRUPTION)HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY,WHETHER IN CONTRACT,STRICT LIABILITY,OR TORT
**(INCLUDING NEGLIGENCE OR OTHERWISE)ARISING IN ANY WAY OUT OF THE USE OF
** THIS SOFTWARE,EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
**************************************************************************

