EIDE2300 Beta Driver for OS/2 2.x Documentation ----------------------------------------------------- Summary of Changes ------------------ - Improved Drive Speed Support - Update drive speed table - Access to drive by DMA mode support Please follow the steps below in installing the driver for the EIDE2300PLUS disk controller. 1. Install the OS/2 driver. Copy EIDE2300.ADD to the OS/2 directory of your system. Use a text editor to edit the CONFIG.SYS file. Add the following line: BASEDEV = EIDE2300.ADD [/switches] Note: This line must not contain neither drive nor path information. Parameters: A: adapter number U: drive number PIOSPEED: Set the drive PIO speed The PIO speed of drive is from 0 to 8 or A. DMASPEED: Set the drive DMA speed The DMA speed of drive is from 0 to 8. If the drive does not have this feature, the switch will be ignored and the driver will automatically detect and set the speed of drive. NOTES: Only one speed mode can be specified per drive. Do not set a speed setting for the driver higher than the speed setting that the EIDE2300.EXE Install utility reported for your drive(s). The driver will automatically detect and set the speed of drive if user doesn't specify it. Example: If you want your EIDE2300PLUS controller to run with drive 0 at DMA speed 7 and drive 1 at PIO speed 5, add the follow- ing statement to the file CONFIG.SYS - BASEDEV = EIDE2300.ADD /A:0 /U:0 /DMASPEED:7 /U:1 /PIOSPEED:5 2. Delete the "BASEDEV = IBM1S506.ADD" device setting. Delete the command line "BASEDEV = IBM1S506.ADD" from the CONFIG.SYS file, if it exists. 3. Reboot the system. About ATAPI Devices --------------------- This driver does not support ATAPI devices (like IDE CD-ROM) on the secondary ISA connector. If you want to use an IDE CD-ROM on the secondary ISA connector in OS/2 2.x : HDD(s) on VL-IDE as primary controller IDE CD-ROM on secondary controller Edit the CONFIG.SYS as follows: BASEDEV=EIDE2300.ADD /V /A:1 /I (In addition to any other switches you may be using) BASEDEV=IBM1S506.ADD /V /A:0 /I (You need the updated IBM1S506.ADD driver which supp- orts ATAPI devices) Enhanced IDE Hard Drive ------------------------- If you have an Enhanced IDE hard drive that has a capacity of greater than 528M (greater than 1024 cylinders), note the following restrictions : o The FAT file system is limited to partition sizes of less than 1024 cylinders. o The HPFS file system can support data partition that are greater than 1024 cylinders. Howerver the partition from which OS/2 is started cannot be greater than 1024 cylinders. The HPFS file system can support drives up to 2GB. To overcome these restrictions, you can enable the drive LBA mode in BIOS (EIDE2300 BIOS or motherboard BIOS with this support). BIOS will perform LBA translation for this drive, then the translated number of cylinders will be less than 1024. The following switches are valid with the EIDE2300.ADD driver- /V = Verbose Mode Displays controller status and drive geometry informa- tion during OS/2 initialization. /A:0 = Adapter number Adapter 0 has default parameters for a primary adapter. Adapter 1 has default parameters for a secondary adapter. /U:0 = Unit Id Unit 0 indicates parameters apply to the master unit. Unit 1 indicates parameters apply to the slave unit. /T:10 = Error retry time in seconds. (dec) Indicates the total allowable error recover time for a request. Error recovery times < 5 seconds will be ignored. This parameter defaults to 30 seconds. A shorter interval may be desirable for fault tolerant applications. /GEO:(1314,7,26,-1) or /GEO:20 = Drive geometry override (dec) Indicates the Cylinder/Head/Sector geometry for the drive. The fourth parameter is the Write Precompensation Cylinder which may be omitted for drives which do not require precompensation. As an alternate format standard BIOS drive types may be used. Types (0-47) are supported. User defined types 48, 49 should be entered directly by in the previous format. When specified, this parameter overrides other geometry sources. If this parameter is absent, other geometry sources discussed above will be used. /I = Ignore adapter The driver automatically attempts to locate and initialize both the primary and secondary adapters. In some cases other DASD controllers may appear between the primary and secondary IDE controllers. In these cases the system should be config- ured as follows: BASEDEV=EIDE2300.ADD /V /A:1 /I BASEDEV=MOREDASD.ADD BASEDEV=EIDE2300.ADD /V /A:0 /I /!R = Disable adapter resets Disables adapter resets. In most cases resets are beneficial to assist in recovering from transient hardware problems such as lost interrupts, timeouts, or commands a particular adapter may not support. However, for some ESDI adapters, options set by vendor unique commands such as 'Sector Sparing' may be lost after after a reset. Setting this switch is recommended for ESDI adapters with disks formatted using 'Sector Sparing'. /!SMS = Disable Set Multiple Mode support This switch disables Set Multiple Support which the improves performance of some IDE drives. The /V - (Verbose) option will indicate whether this feature has been enabled on a particular drive. The Set Multiple Support is default enabled if the drive have this feature. /LBA = OS/2 access the drive using LBA addressing. This switch enables the OS/2 write commands with LBA-address- ing to the drive. If the drive does not have this feature, this switch will be ignored. The /V - (Verbose) option will indicate whether this feature has been enabled on a partic- ular drive. Sample Command Lines: BASEDEV=EIDE2300.ADD /V /A:0 /U:0 /T:10 /GEO:(1314,7,26,-1) /A:1 /I BASEDEV=EIDE2300.ADD /V /A:1 /U:0 /GEO:20 BASEDEV=EIDE2300.ADD /V /A:0 /U:0 /!SMS BASEDEV=EIDE2300.ADD /V /A:0 /U:0 /LBA BASEDEV=EIDE2300.ADD /V /A:0 /!R BASEDEV=EIDE2300.ADD /V /A:0 /U:0 /DMASPEED:7 BASEDEV=EIDE2300.ADD /V /A:0 /U:0 /PIOSPEED:5 /U:1 /PIOSPEED:6 END