  Ŀ
                Copyright (c) 1995-1998 VIA Technologies Inc.             
                                                                          
            VIA Bus Master(Ultra DMA) PCI IDE Driver ReadMe.Txt                
                                    for                                   
                              DOS/NewWare/OS2                             
                                     &                                    
                        Win31/Win9x/WinNT/Unix/Linux                      
                                                                          
   * This readme file is used to provide the information for installation,
     Enable/Disable DMA and Uninstall "VIA Bus Master PCI IDE Driver".    
  

    The VIA Bus Master IDE controller is a high performance Bus  Master  PCI 
  IDE controller.This "VIA Bus Master(Ultra DMA) PCI IDE Driver" distribution
  floppy is used to utilize the DMA operation of your Hard disk/CD-ROMs drives
  in order to release the I/O loading from the  CPU. You  could refer to the
  related section to install the driver individually.

                                CONTENTS
                        ***********************
1)  System Requirements
2)  Distribution Package Contents
3)  DOS Driver
4)  NetWare Driver
5)  OS/2 Driver
6)  Windows 3.1 Driver
7)  Windows 9x Driver
8)  Windows NT Driver
9)  Unix Driver
10) Linux Driver
11) Package Version Identify
12) Silent Install Driver
13) Verifying Installation of the Driver
14) Notes


1) System Requirements

   * This package should be installed on the VIA Bus Master IDE chipset,
     VT82C580VP or later, and others' chipset will not be supported.

   * The "VIA Bus Master PCI IDE Driver" supports the following Operation
     System.

        Operation System                Version             
     
        DOS                             5.x or above  
        NewWare                         3.x or above (Note)
        OS/2                            2.x or above
        Windows                         3.1 or above
        Windows 9x                      4.00.950 or above
        Windows NT                      3.51 or above
        Unix                            SCO 3.2.4 or above

    Note : If you want to combine the Hard disk & CD-ROM on the same channel
           above the Netware 4.x version. VIA Netware driver only  supports
           to handle the Hard disk & CD-ROM on the  separately  channel  for
           Netware 4.x. But it is no limitation for the Netware 3.x. We
           recommend that you use the Netware 4.x default driver if you want
           to have the Hard disk & CD-ROM on the same channel.

2) Distribution Package Contents  
     This distribution floppy is compress by auto uncompressing format. You 
   could uncompress it by execute it.
 
   The floppy by uncompressing includes these files are listed below. 

Root
       SETUP.EXE               "WIN31/WIN95/WINNT" Setup Program
       SETUP16.EXE             "DOS/NETWARE" Setup Program
       VIAIDE.DDP              "OS2" DDINSTAL related file
       DATA.TAG                InstallShield5 related files below
       SETUP.INI   
       DATA1.CAB   
       LANG.DAT    
       LAYOUT.BIN  
       OS.DAT      
       SETUP.BMP   
       SETUP.INS   
       SETUP.LID
       SETUP.ISS
       _INST16.EX_ 
       _INST32I.EX_
       _ISDEL.EXE  
       _SETUP.DLL  
       _SYS1.CAB   
       _USER1.CAB
       RELEASE.TXT
       README.TXT

DOS
       VIAIDE.SYS              DOS DMA/PIO device driver file
       
NETWARE
       VIAIDE.DSK              Netware DMA/PIO device driver file

OS2
       VIAIDE.ADD              OS/2 DMA/PIO device driver file
       OS2.EXE                 OS/2 preinstall program
       VIACD.FLT               OS/2 filter device driver file
       
WIN31
       VIAIDE.386              Windows 3.1 DMA/PIO device driver file
       INT13.386               Windows 3.1 INT13 device driver file

WIN9x
       VIADSK.MPD              Windows 9x DMA/PIO device driver file
       VIAIDE.INF              Windows 9x ".INF" file
       VIAIDE.VXD              Windows 9x VIA .VSD device driver file

WINNT
       VIADSK.SYS              Windows NT 3.51 or above DMA/PIO device driver file 
       VIAIDE.INF              Windows NT 3.51 or above ".INF" file

UNIX 
       INSTALL                 SCO Unix install file
       README                  SCO Unix readme file
       VIAIDE.TAR              SCO Unix DMA/PIO device driver tar file
 
DMATOOL
        SETDMA.EXE              Utility for Windows 9x/NT

3)  DOS Driver

    *************************
    ** Driver Installation **
    *************************
      DOS device driver could be installed by using the "SETUP16.EXE" setup 
    program.
    
        	C> SETUP16
                        
    It will add the following line to CONFIG.SYS,
        
        DEVICE=C:\VIAIDE\DOS\VIAIDE.SYS /SET_DMAM=Y,Y,Y,Y
    
    and copy the VIAIDE.SYS to the \VIAIDE directory.

    ************************
    ** Enable/Disable DMA **
    ************************
      If you want to disable the DMA, you could change the "Y"  to  "N".  For 
    example, you want to disable the PM DMA mode.
        
        /SET_DMAM=N,Y,Y,Y                 : DMA mode for PM, PS, SM, SS.
        
        * PM - Primary Channel Master drive
          PS - Primary Channel Slave drive
          SM - Second Channel Master drive
          SS - Second Channel Slave drive

    ***************************
    ** Driver Uninstallation **
    ***************************
      If you want to remove  the  "VIA Bus Master PCI IDE driver"  from  your 
    system then you could remove the \VIAIDE\VIAIDE.SYS  file  and delete
    the DEVICE item from the CONFIG.SYS. After the reboot, the VIA Bus Master
    PCI IDE Driver is not existing in your system.

4)  NetWare Driver

    *************************
    ** Driver Installation **
    *************************
      NetWare  device  driver  could  be installed by using the "SETUP16.EXE" 
    setup program.

        	C> SETUP16

      It will add the following line to the STARTUP.NCF file, 

        LOAD C:\VIAIDE\VIAIDE.DSK /SET_DMAM=Y,Y,Y,Y

    and copy the VIAIDE.DSK to the \VIAIDE directory.
    
    ************************
    ** Enable/Disable DMA **
    ************************
      If you want to disable the DMA, you could change the "Y"  to  "N".  For 
    example, you want to disable the PM DMA mode.
        
        /SET_DMAM=N,Y,Y,Y                 : DMA mode for PM, PS, SM, SS.
        
        * PM - Primary Channel Master drive
          PS - Primary Channel Slave drive
          SM - Second Channel Master drive
          SS - Second Channel Slave drive

    ***************************
    ** Driver Uninstallation **
    ***************************
      If you want to remove  the  "VIA Bus Master PCI IDE driver"  from  your 
    system then you could remove the \VIAIDE\VIAIDE.SYS file and  delete  the 
    LOAD item from the  STARTUP.NCF. After the reboot, the VIA Bus Master PCI
    IDE Driver is not existing in your system.

5)  OS/2 Driver

    *************************
    ** Driver Installation **
    *************************
      Boot from the OS/2 hard disk and type the "DDINSTAL" command to install
    the device driver. 

        	C> DDINSTAL

      After  the  "DDINSTAL",  the  original  CONFIG.SYS  will  be renamed to 
    CONFIG.VIA and add two lines into the CONFIG.SYS. 

        BASEDEV=VIAIDE.ADD 
        BASEDEV=VIACD.FLT  

    ************************
    ** Enable/Disable DMA **
    ************************
      The default setting for the hard disk is DMA enabled and for the CD-ROM
    is DMA disabled. You can enable or disable a single device by setting the 
    following parameters after VIAIDE.ADD in CONFIG.SYS.

      /A:[0|1]    Select primary or secondary channel.
      /U:[0|1]    Select master or slave device in the same channel.
      /BM         Enable DMA mode.
      /!BM        Disable DMA mode.

    Example:

         BASEDEV=VIAIDE.ADD /A:0 /U:0 /BM /A:1 /!BM

      This setting will enable the DMA mode for the device connected
    under primary channel master position and disable the DMA mode
    for the entire secondary channel.

    Note: The undefined position in above, primary channel slave position,
          is using the default setting.

      After the changing, you should shutdown the OS/2 Wrap and reboot again 
    to active the change.

    ***************************
    ** Driver Uninstallation **
    ***************************
      You could remove the "VIA Bus Master PCI IDE Device Driver for OS/2" by
    removing above two lines from the config.sys file and  deleting  the  VIA
    drivers named "VIAIDE.ADD" and "VIACD.FLT" located in the \OS2  directory
    by  manual   operations. After  the  reboot, the "VIA Bus  Master PCI IDE
    Driver" is not existing in your system.

6)  Windows 3.1 Driver

    *************************
    ** Driver Installation **
    *************************
      Windows  device  driver  could be installed by using  the  "SETUP.EXE" 
    setup program. It will add the following lines and  one  section to  the 
    SYSTEM.INI. 
        
        [386Enh]
        device=C:\WINDOWS\SYSTEM\INT13.386
        device=C:\WINDOWS\SYSTEM\VIAIDE.386
        VIRTUALHDIRQ=OFF
        32BITDISKACCESS=ON

        [VIAIDE]
        SET_DMAM=Y,Y,Y,Y

    ************************
    ** Enable/Disable DMA **
    ************************
      If you want to disable the DMA, you could run the SETUP.EXE again  and
    select the "Enable/Disable DMA" button to enable or disable DMA of those 
    drives. The parameter of the SET_DMAM will be modified in the SYSTEM.INI
    to reflect those changes. For example, if you select to disable the  DMA
    of the PM drive then the SET_DMAM will be modified as   
       
        SET_DMAM=N,Y,Y,Y                 : DMA mode for PM, PS, SM, SS.
        
        * PM - Primary Channel Master drive
          PS - Primary Channel Slave drive
          SM - Second Channel Master drive
          SS - Second Channel Slave drive

    ***************************
    ** Driver Uninstallation **    
    ***************************
      You could remove the "VIA Bus Master PCI IDE Device Driver" by  running
    the "SETUP.EXE" again to uninstall the driver. All of the related setting
    and driver will be removed from the system.

7)  Windows 9x Driver

    *************************
    ** Driver Installation **
    *************************
      Click the SETUP.EXE program and select "Install"  button  then it will
    install the "VIA IDE Bus Master Driver" automatically on your Windows 9x
    system. It will copy the driver to the \WINDOWS\SYSTEM\IOSUBSYS and  set
    the related registry tree.

    ************************
    ** Enable/Disable DMA **
    ************************
      The default setting is the DMA mode. You could turn off the DMA setting
    by running the VIADMATool.

    ***************************
    ** Driver Uninstallation **
    ***************************
      You  could remove the "VIA Bus Master PCI IDE Driver" by selecting the
    "Uninstall" button. It will completely remove the driver from the sytsem.
    
8)  Windows NT Driver

    *************************
    ** Driver Installation **
    *************************
      Click the SETUP.EXE program and select "Install"  button  then it will
    install the "VIA IDE Bus Master Driver" automatically on your Windows NT
    system. It will copy the driver to the \WINNT\SYSTEM32\DRIVERS  and  set
    the related registry tree.

    ************************
    ** Enable/Disable DMA **
    ************************
      The default setting is the DMA mode. You could turn off the DMA setting
    by running the VIADMATool.

    ***************************
    ** Driver Uninstallation **
    ***************************
      You  could remove the "VIA Bus Master PCI IDE Driver" by selecting the
    "Uninstall" button. It will completely remove the driver from the sytsem.


9)  Unix Driver 
    
    **********************
    ** Before You Start **   
    **********************
      "VIA Bus Master PCI IDE Driver" is compressed to fix them in only one
    floppy. Before you install the Unix Driver. You  should  uncompress  it 
    first under the DOS prompt and only need to copy the \unix directory to 
    the floppy and follow the "Driver Installation" to setup your system.

    *************************
    ** Driver Installation **
    *************************
      The following steps are used to convert the diskette prepared with DOS
    format  to  a SCO UNIX "custom" installable diskette. You should prepare 
    an extra blank diskette, 1.2MB (5.25") or 1.44MB (3.5"), to 
    complete the installation.

        1. Login to the SCO UNIX with "root" supper user account.
        2. Insert our diskette into the 3.5" disk drive.
        3. Type the following commands under the SCO UNIX prompt "#":

                # doscp /dev/fd0135ds18:/unix/install   /tmp
                # sh /tmp/install

      You could change the device name according to your system configuration.
    You could also copy it to 5.25" diskette and install from it. 

      It will require you to insert a new blank diskette. After this "install" 
    command, you will get a  SCO UNIX "custom" installable diskette.

      Insert the "custom" installable diskette to the floppy drive and type :

                # custom

      If you have installed the IDE drives on the 17x channel, you should 
    execute the following command to attach those drives.
                
                # /usr/bin/attachhd 

    ************************
    ** Enable/Disable DMA **
    ************************
      You could enable and disable  the  DMA  operation  by  changing  the   
    "/etc/conf/pack.d/vth1/space.c". The DMA_Supp[4] is defined for the 
    enable/disable parameters ordering by the PM, PS, SM and SS. After the
    changing, you should relink the unix kernel and reboot again to active
    the change.
       
                int DMA_Supp[4] = {1,1,1,1};

        * PM - Primary Channel Master drive
          PS - Primary Channel Slave drive
          SM - Second Channel Master drive
          SS - Second Channel Slave drive

    ***************************
    ** Driver Uninstallation **
    ***************************
      You could remove the "VIA Bus Master PCI IDE Device Driver" by using

                # custom
        
    command and by selecting the "Remove" item. After the reboot, the "VIA
    Bus Master PCI IDE Device Driver" will be removed from the system.

10)  Linux Driver

    Please read README.TXT in directory .\Linux


11)  Package Version Identify

      You could check this distribuation version and release date by using 
    the DATE\TIME displayed by using dir/p command, e.g :
    
      SETUP    EXE        59,392  mm-dd-yy  hh:mi a SETUP.EXE

    The version number reads as 2.hh.mi, which was released on the date of mm/dd/yy.

12)  Silent Install Driver (For Windows 9X/NT)

    Available parameters: -b, -u, -s

       Parameter       Description

       -b              Causes Setup.exe automatically to reboot after
                       the silent mode install successfully.

       -u              Uninstall driver. This parameter must works with
                       the '-s' parameter.

       -s              Silent install driver.

     Note:
       - A dash(-) must precede the command line parameters.
       - The parameters '-b' and '-u' must be specified before the '-s'
         parameter.

     Examples:
       setup.exe -b -s      Silent install driver and reboot the computer.
       setup.exe -u -b -s   Silent uninstall driver and reboot the computer.
       setup.exe -s         Silent install driver but not reboot the computer.
       setup.exe -u -s      Silent uninstall driver but not reboot the computer.


13)  Verifying Installation of the Driver

    For Windows 9x:
        1. Open "Control Panel" from "Start Menu -> Settings".
        2. Open "System" in "Control Panel" and select the "Device Manager".
        3. Select "Hard disk controllers" and check if the "VIA Bus Master
           PCI IDE Controller(Ultra DMA)" controller is existing or not.
        4  If it is then your installation is successful. 

    For Windows NT:
        1. Open "Control Panel" from "Start Menu -> Settings"
        2. Select "SCSI Adapters" from "Control Panel".
        3. Check the "Devices" is "VIA bus master IDE drivers" or not.
        4  If it is then your installation is successful.

    For OS/2:
        Add command line parameter "/v" for VIAIDE.ADD in config.sys to
        enable verbose mode. If you install driver correctlly, you will
        see the following string when starting OS/2.

                 "VIA Chip XXX [---] Series"

    For SCO UNIX:
        When you boot from a SCO UNIX hard disk, you can verify the driver
        by the booting message which is similar to the following one.

    "%disk  0x01F0 - 0x01F7  14 -  type=VTH0  unit=0 cyls=1652 hds=16 secs=63"

        The "type=VTH0" means you are running VIA Bus Master driver.

14) Notes
   *   It is recommended to install the CD-ROM which is not on the same
     channel with the hard drive for the performance issue.

       If you play VCD or DVD abnormally on some CD-ROM or DVD-ROM which
     is on the same channel with hard drive, we recommand you to setup
     the CD-ROM or DVD-ROM on the separatly channel.

   *   You should run the ATAPI ZIP 100MB setup program first for the 
     WinNT 3.51/4.0 in order to use ZIP ATAPI 100MB normally on your 
     system. 
