          HPT302 UDMA/ATA133 Controller Linux Driver
Copyright (C) 2002 HighPoint Technologies, Inc. All rights reserved.


#############################################################################
Revision History:

    v1.0   27Apr2002
           Users can use this source code to generate HPT302 Linux drivers
           with current Linux kernel version. Then use it for HPT302 controller 
           installation. Please follow the detail instruction in this readme.

    v1.0   20Dec2001
           HPT302 Linux driver object code released for a limited certain Linux kernel version.      

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

1. Overview
---------------------
  This package contains Linux driver source code for HighPoint
  HPT302 UDMA/ATA133 controller.

  The source code is for kernel updating purposes - you can use this
  source code to build a driver, if you cannot find one in HighPoint
  Linux driver release package. 

  NO WARRANTY

  THE DRIVER SOURCE CODE HIGHPOINT PROVIDED IS FREE OF CHARGE, AND THERE IS
  NO WARRANTY FOR THE PROGRAM. THERE ARE NO RESTRICTIONS ON THE USE OF THIS
  FREE SOURCE CODE. HIGHPOINT DOES NOT PROVIDE ANY TECHNICAL SUPPORT IF THE
  CODE HAS BEEN CHANGED FROM ORIGINAL SOURCE CODE.

  LIMITATION OF LIABILITY

  IN NO EVENT WILL HIGHPOINT BE LIABLE FOR DIRECT, INDIRECT, SPECIAL,
  INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF OR
  INABILITY TO USE THIS PRODUCT OR DOCUMENTATION, EVEN IF ADVISED OF THE
  POSSIBILITY OF SUCH DAMAGES. IN PARTICULAR, HIGHPOINT SHALL NOT HAVE
  LIABILITY FOR ANY HARDWARE, SOFTWARE, OR DATA STORED USED WITH THE
  PRODUCT, INCLUDING THE COSTS OF REPAIRING, REPLACING, OR RECOVERING
  SUCH HARDWARE, OR DATA.

2. Files List
---------------------
   readme.txt
   hpt.c
   hptkern.h
   hptglb.h
   hpt.h
   Makefile
   rules.mak
   hpt302lib.o
   
3. Build the driver
---------------------
  1) Install kernel source package and building tools. 
  
     You shall use same configuration for the kernel and the driver.
     Otherwise the driver may be unable to load or work abnormally.
     Please refer to the documents in your Linux distribution for kernel
     configuration.
  
  2) Extract the driver files (example):

        # mount /mnt/floppy
        # mkdir /usr/src/hpt302
        # cd /usr/src/hpt302
        # tar xfz /mnt/floppy/hpt302-opensource-v10.tgz

  3) Build the driver (example for RedHat 7.2 i686 type kernel):

        # make KERNELDIR=/usr/src/linux-2.4.7-10 RH72=1
        
     Available make options:
     
        KERNELDIR=...
           Specify kernel source directory.
     
        BOOT=1
           Define __BOOT_KERNEL_BOOT.
           
        SMP=1
           Define __BOOT_KERNEL_SMP for SMP kernels.
           
        RH72=1
           Build driver on Red Hat 7.2 for i686 kernel.
           
        RH72=1 ATHLON=1
           Build driver on Red Hat 7.2 for athlon kernel.
        
     
4. Using the driver
---------------------
  1) Load module "scsi_mod" and "sd_mod" if they are not built into kernel:

        # modprobe sd_mod

  2) Load the driver.
        
        # insmod ./hpt302.o


#############################################################################
Technical support and service

  If you have questions about installing or using your HighPoint product,
  check the user's guide or readme file first, and you will find answers to
  most of your questions here. If you need further assistance, please
  contact us. We offer the following support and information services:

  1)  The HighPoint Web Site provides information on software upgrades,
      answers to common questions, and other topics. The Web Site is
      available from Internet 24 hours a day, 7 days a week, at
      http://www.highpoint-tech.com.

  2)  For technical support, send e-mail to support@highpoint-tech.com

  NOTE: Before you send an e-mail, please visit our Web Site
        (http://www.highpoint-tech.com) to check if there is a new or 
        updated device driver for your system.
