home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1998 October / VPR9810B.BIN / BIOS / free / BM_W95 / bm_w95.exe / ALIHDD.INF next >
INI File  |  1997-10-17  |  4KB  |  131 lines

  1. ;
  2. ;     ALi M5229 IDE Bus Master Controller INF file
  3. ;
  4. ;     Description:
  5. ;        The driver feature can be controlled by changing the registry key value.
  6. ;    The initial registry key value is set according to INF file. The following
  7. ;    are the procedures of controlling the driver feature.
  8. ;    
  9. ;     1. To change the device transfer mode, search [DrvArg.Reg] section and find
  10. ;        "HKLM,SOFTWARE\ALi\M5229,Mode,1,n,n,n,n"
  11. ;                                       | | | |
  12. ;                                       | | | + ----- Secondary channel device 1
  13. ;                                       | | + ------- Secondary channel device 0
  14. ;                                       | + --------- Primary channel device 1
  15. ;                                       + ----------- Primary channel device 0
  16. ;
  17. ;       where n represent the transfer mode :
  18. ;            0 - Auto detect, the driver decide the transfer mode of the device.
  19. ;             1 - PIO 
  20. ;             2 - DMA 
  21. ;             3 - Ultra DMA
  22. ;        
  23. ;       The user can change the value of n to decide the device transfer mode.
  24. ;
  25. ;        Note :
  26. ;            If the driver has been installed,the transfer mode can also be changed 
  27. ;        by searching the registry path : HKEY_LOCAL_MACHINE\SOFTWARE\ALi\M5229. 
  28. ;       Change the value of key 'Mode' according to the above transfer mode definition 
  29. ;        and then restart.
  30. ;
  31. ;     2. To disable the secondary channel and free its resource, please search 
  32. ;        [DUAL_MASTER_IDE.RegHW] section and find ";HKR,,ChannelOptions,1,01".
  33. ;        Remove the comment mark ';' and use this INF file to install IDE driver.
  34. ;
  35. ;        Note:
  36. ;            After the driver is installed, secondary channel enable/disable can be
  37. ;        controlled by using device manager. First, open control pannel and select
  38. ;       system item. Second, select the hardisk controller and double click the "
  39. ;        ALi Bus Master PCI to IDE Controller" to see its properity page. Channel
  40. ;        enable/disable can then be changed via the setting menu.
  41.  
  42. [version]
  43. signature="$CHICAGO$"
  44. Class=hdc
  45. Provider="ALi"
  46.  
  47. [ClassInstall]
  48. AddReg=HDC_Class
  49.  
  50. [HDC_Class]
  51. HKR,,,,%HDCClassName%
  52.  
  53. [Manufacturer]
  54. %COMPANY%=IDE_HDC
  55.  
  56. [IDE_HDC]
  57. %PCI\VEN_10B9&DEV_5229.DeviceDesc%  = DUAL_MASTER_IDE   , PCI\VEN_10B9&DEV_5229
  58. %MF\MASTERPRIMARY.DeviecDesc%       = MASTER_IDE        , MF\M5229PRIMARY
  59. %MF\MASTERSECONDARY.DeviecDesc%     = MASTER_IDE        , MF\M5229SECONDARY
  60.  
  61. [MASTER_IDE]
  62. AddReg = ESDI_MASTER_AddReg
  63.  
  64. [MASTER_IDE.HW]
  65. AddReg = ESDI_FIFO_OK_AddReg
  66.  
  67. [DUAL_MASTER_IDE]
  68. Copyfiles=@m5229.mpd
  69. AddReg=StandardMF.Reg,IDEProp.Reg,DrvArg.Reg
  70.  
  71. [DUAL_MASTER_IDE.HW]
  72. AddReg=DUAL_MASTER_IDE.RegHW
  73.  
  74. [DUAL_MASTER_IDE.RegHW]
  75. HKR,Child0000,HardwareID,,MF\M5229PRIMARY
  76. HKR,Child0000,ResourceMap,1,00,01,02,06
  77. HKR,Child0000,MFFlags,1,0C,00,00,00
  78. HKR,Child0001,HardwareID,,MF\M5229SECONDARY
  79. HKR,Child0001,ResourceMap,1,03,04,05,07
  80. HKR,Child0001,MFFlags,1,0C,00,00,00
  81. HKR,,PCIDualIDE,1,01
  82. ;HKR,,ChannelOptions,1,01
  83.  
  84. [StandardMF.Reg]
  85. HKR,,DevLoader,,*CONFIGMG
  86. HKR,,Enumerator,,*CONFIGMG
  87. HKR,,CMDrivFlags,1,03,00,00,00
  88.  
  89. [DrvArg.Reg]
  90. HKLM,SOFTWARE\ALi\M5229,UltraDMASupported,1,0,0,0,0
  91. HKLM,SOFTWARE\ALi\M5229,DMASupported,1,0,0,0,0
  92. HKLM,SOFTWARE\ALi\M5229,Mode,1,0,0,0,0
  93. HKLM,SOFTWARE\ALi\M5229,ModeNo,1,0a,0a,0a,0a
  94. HKLM,SOFTWARE\ALi\M5229,DrvSetTiming,1,0
  95.  
  96. [ESDI_FIFO_OK_AddReg]
  97. HKR,,IDENoSerialize,3,01
  98.  
  99. [IDEProp.Reg]
  100. HKR,,EnumPropPages,,"sysclass.dll,IDEEnumPropPages"
  101.  
  102. [ESDI_Master_AddReg]
  103. HKR,,DriverDesc,,"ALi Bus Master IDE Miniport Driver"
  104. HKR,,DevLoader,,*IOS
  105. HKR,,PortDriver,,M5229.mpd
  106.  
  107. [ControlFlags]
  108. CopyFilesOnly           =PCI\VEN_10B9&DEV_5215,PCI\VEN_10B9&DEV_5229
  109. ExcludeFromSelect       =MF\M5229PRIMARY,MF\M5229SECONDARY
  110.  
  111. [DestinationDirs]
  112. DefaultDestDir = 12 ;IOSubsys directory
  113.  
  114. [SourceDisksFiles]
  115. m5229.mpd       =1
  116. idehdd.mpd      =1
  117.  
  118. [SourceDisksNames]
  119. 1=%DISK_ID%,,
  120.  
  121. [Strings]                                                          
  122. DISK_ID=""
  123. HDCClassName                     = "Hard disk controllers"
  124. COMPANY                          = "Acer Labs Inc"
  125. PROVIDER                         = "Acer Labs Inc"
  126. MF\MASTERPRIMARY.DeviecDesc      = "ALi Primary IDE controller (bus master)"
  127. MF\MASTERSECONDARY.DeviecDesc    = "ALi Secondary IDE controller (bus master)"
  128. PCI\VEN_10B9&DEV_5229.DeviceDesc = "ALi Bus Master PCI to IDE Controller"
  129.  
  130.  
  131.