|
一个inf文件,想通过F6解决IDE驱动问题,不知下面的服务怎样添加到txtsetup.oem中的[config.*]段落中:
[AMDIDE_Inst]
CopyFiles = @AMDIDE.sys
CopyFiles = @pciidex.sys
;CopyFiles = @atapi.sys
AddReg = intelChannelEnableCheck_AddReg
[AMDIDE_Inst.Services]
AddService = AMDIDE, %SPSVCINST_ASSOCSERVICE%, AMDIDE_Service_Inst
[AMDIDE_Service_Inst]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_BOOT_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
LoadOrderGroup = System Bus Extender
ServiceBinary = %12%\AMDIDE.SYS
[intelChannelEnableCheck_AddReg]
HKR,,MasterOnMask,%REG_DWORD%,0x00000080
HKR,,MasterOnConfigOffset,%REG_DWORD%,0x00000041
HKR,,SlaveOnMask,%REG_DWORD%,0x00000080
HKR,,SlaveOnConfigOffset,%REG_DWORD%,0x00000043
[AMDIDE_Inst.PosDup]
*PNP0600
[ControlFlags]
ExcludeFromSelect=*
[Strings]
ITL = "Advanced Micro Devices"
PCI_IDE = "AMD PCI IDE Controller"
DiskDesc = "Installation Disk for amd PCI SATA/IDE Controller"
MS-Drivers = "(Standard IDE ATA/ATAPI controllers)"
HDCClassName = "IDE ATA/ATAPI controllers"
REG_DWORD = 0x00010001
SPSVCINST_ASSOCSERVICE = 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START = 0
SERVICE_ERROR_NORMAL = 1
[ 本帖最后由 zhaohj 于 2010-12-1 17:02 编辑 ] |
|