;
; Racore 10/100TX Ethernet CardBus Adapter
;
[Identification]
OptionType = NetAdapter
[PlatformsSupported]
ISA
EISA
MCA
PCMCIA
PCI
[Options]
RCPTXN3I
;*******************************************************************
;
; Constants for using dialogs
;
;*******************************************************************
[FileConstants]
;
; Product Information
;
Manufacturer = "Racore Technology Corp."
ProductMajorVersion = "4"
ProductMinorVersion = "00"
ProductVersion = $(ProductMajorVersion)"."$(ProductMinorVersion)
;
; Filenames
;
UtilityInf = "UTILITY.INF"
ParamInf = "NCPARAM.INF"
subroutineinf = "SUBROUTN.INF"
SoftwareType = "driver"
Exit_Code = 0
HelpFile = "RCPTXN3I.hlp"
;
; Software Configuration Registry Information
;
ProductSoftwareName = "RCPTXN3I"
ProductSoftwareImagePath = "%SystemRoot%\System32\drivers\RCPTXN3I.sys"
NetRuleSoftwareType = "RCPTXN3ISys ndisDriver RCPTXN3IDriver"
NetRuleSoftwareUse = $(SoftwareType)
NetRuleSoftwareBindForm = """RCPTXN3ISys"" yes no container"
NetRuleSoftwareClass = {"RCPTXN3IDriver basic"}
NetRuleSoftwareBindable = {"RCPTXN3IDriver RCPTXN3IAdapter non exclusive 100"}
;
; Hardware Configuration Registry Information
;
ProductHardwareName = "RCPTXN3I"
NetRuleHardwareType = "RCPTXN3I RCPTXN3IAdapter"
NetRuleHardwareBindForm = " yes yes container"
NetRuleHardwareClass = {"RCPTXN3IAdapter basic"}
;
; Registry Keys
;
ProductKeyName = $(!NTN_SoftwareBase)"\"$(Manufacturer)"\"$(ProductSoftwareName)"\CurrentVersion"
ParamKeyName = $(!NTN_ServiceBase)"\"$(ProductHardwareName)"\Parameters"
;
; Message files
;
NetEventDLL = "%SystemRoot%\System32\netevent.dll"
IoLogMsgDLL = "%SystemRoot%\System32\IoLogMsg.dll"
[GeneralConstants]
;
; Program flow variables
;
from = ""
to = ""
;
; Exit codes
;
ExitCodeOk = 0
ExitCodeCancel = 1
ExitCodeFatal = 2
;
; Misc. global variables
;
KeyNull = ""
MAXIMUM_ALLOWED = 33554432
RegistryErrorIndex = NO_ERROR
KeyProduct = ""
KeyParameters = ""
VendorPcmciaKey = ""
TRUE = 1
FALSE = 0
NoTitle = 0
ExitState = "Active"
OldVersionExisted = $(FALSE)
DriverPath = $(!STF_NTPATH)\drivers
;
; Adapter Bus & Card type etc...
;
RCPTXCFID = 1642513 ;; 0x00191011
BusNumberValue = 0
PCICARD = 5
UNKNOWN = 0
PCIBUS = 5
[date]
Now = {} ? $(!LIBHANDLE) GetSystemDate
;---------------------------------------------------------------------------
; 1. Identify
;
; DESCRIPTION: To verify that this INF deals with the same type of options
; as we are choosing currently.
;
; INPUT: None
;
; OUTPUT: $($R0): STATUS: STATUS_SUCCESSFUL
; $($R1): Option Type (COMPUTER ...)
; $($R2): Diskette description
;---------------------------------------------------------------------------
[Identify]
Set !G:DebugOutputControl = 1
read-syms Identification
set Status = STATUS_SUCCESSFUL
set Identifier = $(OptionType)
set Media = #("Source Media Descriptions", 1, 1)
Debug-Output "*********************Identify Section *****************"
Return $(Status) $(Identifier) $(Media)
;------------------------------------------------------------------------
; 2. ReturnOptions:
;
; DESCRIPTION: To return the option list supported by this INF and the
; localised text list representing the options.
;
;
; INPUT: $($0): Language used. ( ENG | FRN | ... )
;
; OUTPUT: $($R0): STATUS: STATUS_SUCCESSFUL |
; STATUS_NOLANGUAGE
; STATUS_FAILED
; STATUS_NOTSUPPORTED
;
; $($R1): Option List
; $($R2): Option Text List
;------------------------------------------------------------------------
[ReturnOptions]
Set !G:DebugOutputControl = 1
Debug-Output "*********************Return Options *****************"
set Status = STATUS_FAILED
set OptionList = {}
set OptionTextList = {}
;
; Determine if requested language is supported.
;
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) in $(LanguageList)
ifstr(i) $($1) == ""
goto returnoptions
endif
;
; Determine if requested platform is supported
;
set PlatformList = ^(PlatformsSupported, 1)
Ifcontains(i) $($1) in $(PlatformList)
goto returnoptions
else
set Status = STATUS_NOTSUPPORTED
goto finish_ReturnOptions
endif
else
set Status = STATUS_NOLANGUAGE
goto finish_ReturnOptions
endif
returnoptions = +
set OptionList = ^(Options, 1)
set OptionTextList = ^(OptionsText$($0), 1)
set Status = STATUS_SUCCESSFUL
finish_ReturnOptions = +
Return $(Status) $(OptionList) $(OptionTextList)
;------------------------------------------------------------------------
;
; InstallOption:
;
; This section is shelled to by main installation processing
; or by NCPASHEL.INF during reconfig, removal, update, etc.
;
;
; FUNCTION: To copy files representing Options
; To configure the installed option
; To update the registry for the installed option
;
; INPUT: $($0): Language to use
; $($1): OptionID to install
; $($2): SourceDirectory
; $($3): AddCopy (YES | NO)
; $($4): DoCopy (YES | NO)
; $($5): DoConfig (YES | NO)
;
; OUTPUT: $($R0): STATUS: STATUS_SUCCESSFUL |
; STATUS_NOLANGUAGE |
; STATUS_USERCANCEL |
; STATUS_FAILED
;
;------------------------------------------------------------------------
[InstallOption]
Set !G:DebugOutputControl = 1
Debug-Output "*********************InstallOption*****************"
set Status = STATUS_FAILED
;
; get parameters
;
set Option = $($1)
set SrcDir = $($2)
set AddCopy = $($3)
set DoCopy = $($4)
set DoConfig = $($5)
;
; Check for language support
;
set LanguageList = ^(LanguagesSupported, 1)
Ifcontains(i) $($0) NOT-IN $(LanguageList)
Return STATUS_NOLANGUAGE
endif
read-syms GeneralConstants
read-syms FileConstants
read-syms DialogConstants$(!STF_LANGUAGE)
ifstr(i) $(!NTN_Origination) == "NCPA"
set Continue = $(OK)
endif
read-syms FileConstants$(!STF_LANGUAGE)
detect date
set-title $(FunctionTitle)
set to = Begin
set from = Begin
;
; so far, so good
;
set CommonStatus = STATUS_SUCCESSFUL
EndWait
;
;
Begin = +
Debug-Output "begin"
Ifstr(i) $(!NTN_InstallMode) == deinstall
set StartLabel = removeadapter
else-Ifstr(i) $(!NTN_InstallMode) == Update
set StartLabel = UpgradeSoftware
else-Ifstr(i) $(!NTN_InstallMode) == bind
set StartLabel = bindingadapter
else-Ifstr(i) $(!NTN_InstallMode) == configure
set CommonStatus = STATUS_REBOOT
set StartLabel = configureadapter
Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
Debug-Output "Cannot configure the RCPTXN3I driver software."
Shell $(UtilityInf),RegistryErrorString,CANNOT_CONFIGURE_SOFTWARE
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error: cannot get an error string."
goto ShellCodeError
endif
set Error = $($R0)
set from = end
set to = end
goto nonfatalinfo
endif
else
set StartLabel = installadapter
set OEM_ABANDON_OPTIONS = {}
set OEM_ABANDON_SOFTWARE = FALSE
set OEM_ABANDON_ON = TRUE
endif
;
; Go to the request operation
;
Set from = $(fatal)
Set to = $(fatal)
Goto $(StartLabel)
;-----------------------------------------------
; Installation Section
;-----------------------------------------------
installadapter = +
OpenRegKey $(!REG_H_LOCAL) "" $(ProductKeyName) $(MAXIMUM_ALLOWED) KeyProduct
;
; Determine if same version is already installed
;
Ifstr $(KeyProduct) != $(KeyNull)
;
; Same version already installed
;
CloseRegKey $(KeyProduct)
ifstr(i) !(NTN_RegBase) == $(ProductKeyName)
;
; Can not install same software again
;
Shell $(UtilityInf), VerExistedDlg, $(ProductSoftwareTitle),+
$(ProductVersion)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error: cannot get an error string."
goto ShellCodeError
endif
goto end
else
;
; Add a new adapter card?
;
Shell $(UtilityInf), CardExistedDlg
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error: cannot get an error string."
goto ShellCodeError
endif
ifstr(i) $($R1) != "OK"
set CommonStatus = STATUS_USERCANCEL
goto end
endif
set OldVersionExisted = $(TRUE)
endif
endif
;
; Copy files
;
ifint $(OldVersionExisted) != $(TRUE)
Shell $(UtilityInf), DoAskSource, $(!STF_CWDDIR), ""
Ifint $($ShellCode) != $(!SHELL_CODE_OK)
Goto fatal
Else-Ifstr(i) $($R0) == STATUS_FAILED
Goto fatal
Else-Ifstr(i) $($R0) == STATUS_USERCANCEL
Goto nonfatalinfo
Endif
; Set SrcDir = $($R1)
Debug-Output "DllLoad: SrcDir <"$(SrcDir)">"
install "Install-Option"
endif
;
; Get the bus type
;
; ifint $(BusInterfaceType) == 0
; Shell $(UtilityInf),GetBusTypeDialog,$(ProductHardware$(Option)Description) $(BusInterfaceType) $(BusNumber)
; ifint $($ShellCode) != $(!SHELL_CODE_OK)
; Debug-Output "ShellCode error."
; goto ShellCodeError
; endif
;
; set BusInterfaceType = $($R1)
; set BusNumber = $($R2)
; endif
;
; set BusTypeValue = $(BusInterfaceType)
; set BusNumberValue = $(BusNumber)
;
; Debug-Output "INF: Bus Type $(BusTypeValue)"
;
; Set default values for adapter paramters
;
Debug-Output "INF: Setup default values"
set ConnectionValue = *($(ConnectionList), 1)
set PortValue = *($(PortList), 1)
set IrqValue = *($(IrqList), 1)
set MemoryValue = *($(MemoryList), 1)
set SocketValue = *($(SocketList), 1)
set NetworkAddressValue = ""
goto adapteroptions
;-----------------------------------------------
; Configuration Section
;-----------------------------------------------
;
; Get the current values of all the parameters
;
configureadapter = +
Debug-Output "INF: Configure Adapter"
Ifstr $(KeyProduct) == $(KeyNull)
OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_RegBase) $(MAXIMUM_ALLOWED) KeyProduct
Ifstr $(KeyProduct) == $(KeyNull)
set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
Debug-Output "Cannot find component product key"
goto fatalregistry
Endif
Endif
;
; Get the other paramters
;
Debug-Output "INF: Shelling to FindService"
Shell $(UtilityInf) FindService, $(KeyProduct)
Ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "INF: FindService shell failure"
Goto ShellCodeError
Endif
Ifstr(i) $($R0) != NO_ERROR
Debug-Output "INF: FindService Shell error: "$($R0)
Goto fatalregistry
endif
Set KeyParameters = $($R2)
CloseRegKey $($R1)
Ifstr $(KeyParameters) == $(KeyNull)
Debug-Output "Cannot find component service"
set RegistryErrorIndex = CANNOT_FIND_COMPONENT_SERVICE
goto fatalregistry
endif
set OldVersionExisted = $(TRUE)
set ValueName = ""
set ValueData = ""
set ValueList = {}
;
; Get the old values
;
EnumRegValue $(KeyParameters) ValueList
ForListDo $(ValueList)
set ValueItem = $($)
set ValueName = *($(ValueItem),1)
set ValueData = *($(ValueItem),4)
Debug-Output "ForListDo = $(ValueName)"
Ifstr(i) $(ValueName) == "ConnectionType"
set ConnectionIndex = $(ValueData)
Debug-Output "Read Registry ConnectionType = $(ConnectionIndex)"
else-ifstr(i) $(ValueName) == "IoBaseAddress"
set PortIndex = $(ValueData)
Debug-Output "Read Registry IoBaseAddress = $(PortIndex)"
else-ifstr(i) $(ValueName) == "InterruptNumber"
set IrqIndex = $(ValueData)
Debug-Output "Read Registry InterruptNumber = $(IrqIndex)"
else-ifstr(i) $(ValueName) == "MemoryBaseAddress"
set MemoryIndex = $(ValueData)
Debug-Output "Read Registry MemoryBaseAddress = $(MemoryIndex)"
else-ifstr(i) $(ValueName) == "CBSlot"
set SocketIndex = $(ValueData)
Debug-Output "Read Registry SocketIndex = $(SocketIndex)"
else-ifstr(i) $(ValueName) == "NetworkAddress"
set NetworkAddressValue = $(ValueData)
Debug-Output "Read Registry NetworkAddressValue = $(NetworkAddressValue)"
endif
EndForListDo
;
; Set the parameter list so they have the current values at the top
; of the list. This will allow the display of the current values not
; the default values in the input dialog.
;
LoadLibrary "Disk 1" $(DialogDllName) hLib
;
; Setup the first dialog
;
read-syms FileConfigDlg$(!STF_LANGUAGE)
set ConnectionHex = *($(ConnectionList), ~($(ConnectionValues), $(ConnectionIndex) ))
set PortHex = *($(PortList), ~($(PortValues), $(PortIndex) ))
set IrqHex = *($(IrqList), ~($(IrqValues), $(IrqIndex) ))
set MemoryHex = *($(MemoryList), ~($(MemoryValues), $(MemoryIndex) ))
set SocketHex = *($(SocketList), ~($(SocketValues), $(SocketIndex) ))
Debug-Output "&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&"
Debug-Output "INF: ConnectionIndex <"$(ConnectionIndex)"> ConnectionHex <"$(ConnectionHex)">"
Debug-Output "INF: PortIndex <"$(PortIndex)"> PortHex <"$(PortHex)">"
Debug-Output "INF: IrqIndex <"$(IrqIndex)"> IrqHex <"$(IrqHex)">"
Debug-Output "INF: MemoryIndex <"$(MemoryIndex)"> MemoryHex <"$(MemoryHex)">"
Debug-Output "INF: SocketIndex <"$(SocketIndex)"> SocketHex <"$(SocketHex)">"
Debug-Output "INF: NetworkAddressValue <"$(NetworkAddressValue)">"
Debug-Output "&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&"
;
; build combo1list and combo1out "Connection Type"
;
set NewListHex = $(ConnectionHex)
set NewListValues = $(ConnectionIndex)
ForListDo $(ConnectionValues)
set CurrVal = $($)
ifint $(CurrVal) != $(ConnectionIndex)
set HexValue = *($(ConnectionList), ~($(ConnectionValues), $(CurrVal) ))
set NewListHex = >($(NewListHex), $(HexValue))
set NewListValues = >($(NewListValues), $(CurrVal) )
endif
EndForListDo
set Combo1List = $(NewListHex)
set Combo1Out = $(NewListValues)
Debug-Output "INF: Finished setting up Connection Type "
;
; build combo2list and combo2out "Port"
;
set NewListHex = $(PortHex)
set NewListValues = $(PortIndex)
ForListDo $(PortValues)
set CurrVal = $($)
ifint $(CurrVal) != $(PortIndex)
set HexValue = *($(PortList), ~($(PortValues), $(CurrVal) ))
set NewListHex = >($(NewListHex), $(HexValue))
set NewListValues = >($(NewListValues), $(CurrVal) )
endif
EndForListDo
set Combo2List = $(NewListHex)
set Combo2Out = $(NewListValues)
Debug-Output "INF: Finished setting up Port "
;
; build combo3list and combo3out "Irq"
;
set NewIntList = $(IrqHex)
set NewListValues = $(IrqIndex)
ForListDo $(IrqValues)
set CurrVal = $($)
ifint $(CurrVal) != $(IrqIndex)
set NewValue = *($(IrqList), ~($(IrqValues), $(CurrVal) ))
set NewIntList = >($(NewIntList), $(NewValue))
set NewListValues = >($(NewListValues), $(CurrVal) )
endif
EndForListDo
set Combo3List = $(NewIntList)
set Combo3Out = $(NewListValues)
Debug-Output "INF: Finished setting up Irq "
;
; build combo4list and combo4out "Memory"
;
set NewList = $(MemoryHex)
set NewListValues = $(MemoryIndex)
ForListDo $(MemoryValues)
set CurrVal = $($)
ifint $(CurrVal) != $(MemoryIndex)
set NewValue = *($(MemoryList), ~($(MemoryValues), $(CurrVal) ))
set NewList = >($(NewList), $(NewValue))
set NewListValues = >($(NewListValues), $(CurrVal) )
endif
EndForListDo
set Combo4List = $(NewList)
set Combo4Out = $(NewListValues)
Debug-Output "INF: Finished setting up Memory"
;
; build combo5list and combo5out "Socket"
;
set NewList = $(SocketHex)
set NewListValues = $(SocketIndex)
ForListDo $(SocketValues)
set CurrVal = $($)
ifint $(CurrVal) != $(SocketIndex)
set NewValue = *($(SocketList), ~($(SocketValues), $(CurrVal) ))
set NewList = >($(NewList), $(NewValue))
set NewListValues = >($(NewListValues), $(CurrVal) )
endif
EndForListDo
set Combo5List = $(NewList)
set Combo5Out = $(NewListValues)
Debug-Output "INF: Finished setting up Socket"
set ComboListItemsIn = {Combo1List, Combo2List, Combo3List, Combo4List, Combo5List}
set ComboListItemsOut = {Combo1Out, Combo2Out, Combo3Out, Combo4Out, Combo5Out}
Debug-Output "INF: Finished setting up dialog "
goto adapterdialog
adapteroptions = +
Debug-Output "Reading dialog for RCPTXN3I"
;
; Load the RCPTXN3I dll
;
LoadLibrary "Disk 1" $(DialogDllName) hLib
Debug-Output "INF: hLib = $(hLib)"
;
; Setup the first dialog
;
read-syms FileDependentDlg$(!STF_LANGUAGE)
;
; Display the dialog
;
adapterdialog = +
Debug-Output "Starting dialog for RCPTXN3I"
;
; Determine if CardWizard is installed, and if so, disable the
; combo boxes that CardWizard sets for us.
;
set CardWizardInstalled = 0
OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\resman" $(MAXIMUM_ALLOWED) CardWizardHandle
Ifstr $(CardWizardHandle) != $(KeyNull)
set CardWizardInstalled = 1
CloseRegKey $(CardWizardHandle)
set Combo2List = {"CardWizard"}
set Combo3List = {"CardWizard"}
set Combo4List = {"CardWizard"}
set Combo5List = {"CardWizard"}
endif
set EditTextIn = {$(NetworkAddressValue)}
SetHelpFile $(!STF_WINDOWSSYSPATH)"\"$(HelpFile) 99 99 99
ui start "InputDlg" $(hLib)
Debug-Output "$(DLGEVENT)"
ifstr(i) $(DLGEVENT) == "CONTINUE"
;
; Set config parameters
;
set ConnectionIndex = $(Combo1Out)
set PortIndex = $(Combo2Out)
set IrqIndex = $(Combo3Out)
set MemoryIndex = $(Combo4Out)
set SocketIndex = $(Combo5Out)
;
; Save network address, it maybe null
;
set NetworkAddressValue = *($(EditTextOut),1)
Debug-Output "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
Debug-Output "******Connect Index****<"$(ConnectionIndex)">*****"
Debug-Output "******Port Index ****<"$(PortIndex)">*****"
Debug-Output "******IRQ Index ****<"$(IrqIndex)">*****"
Debug-Output "******Memory Index ****<"$(MemoryIndex)">*****"
Debug-Output "******Socket Index ****<"$(SocketIndex)">*****"
Debug-Output "******Network Addr ****<"$(NetworkAddressValue)">*****"
Debug-Output "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
;
; clear the dialog from the screen
;
ui pop 1
FreeLibrary $(hLib)
else-ifstr(i) $(DLGEVENT) == "EXIT"
FreeLibrary $(hLib)
set CommonStatus = STATUS_USERCANCEL
Debug-Output "Action: cancel Bye."
ui pop 1
goto end
else
FreeLibrary $(hLib)
Debug-Output "Action: unknown. Bye."
ui pop 1
goto end
endif
;
; If installing, go create the necessary keys;
; if configuring, they're already open.
;
skipoptions =+
Debug-Output "Skipoptions"
ifint $(OldVersionExisted) == $(TRUE)
ifstr(i) $(!NTN_InstallMode) == configure
goto writeparameters
endif
goto installhardware
endif
StartWait
;
; Add Software Component
;
Debug-Output "Invoking AddSoftwareComponent"
Shell $(UtilityInf), AddSoftwareComponent, $(Manufacturer), +
$(ProductSoftwareName), +
$(ProductSoftwareName), +
$(ProductSoftwareTitle), $(STF_CONTEXTINFNAME), +
$(ProductSoftwareImagePath), "kernel", "NDIS" , {}, "",+
$(NetEventDLL)
Set OEM_ABANDON_SOFTWARE = TRUE
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error"
goto ShellCodeError
endif
;
; At this point:
; $R1 contains the product version key handle;
; $R2 contains the NetRules subkey handle;
; $R3 contains the new Services key handle; and
; $R4 contains the Parameters key
; $R5 contains the Linkage Key
;
set RegistryErrorIndex = $($R0)
set KeyProduct = $($R1)
Set SoftNetRulesKey = $($R2)
CloseRegKey $($R3)
CloseRegKey $($R4)
CloseRegKey $($R5)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
EndWait
Debug-Output "Registry error: add software components"
CloseRegKey $(KeyProduct)
CloseRegKey $(SoftNetRulesKey)
goto fatalregistry
endif
set NewValueList = {{SoftwareType,$(NoTitle),$(!REG_VT_SZ),$(SoftwareType)},+
{MajorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMajorVersion)},+
{MinorVersion,$(NoTitle),$(!REG_VT_DWORD),$(ProductMinorVersion)},+
{Title,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareTitle)},+
{Description,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareDescription)},+
{ServiceName,$(NoTitle),$(!REG_VT_SZ),$(ProductSoftwareName)},+
{InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
Shell $(UtilityInf), AddValueList, $(KeyProduct), $(NewValueList)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error."
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
EndWait
Debug-Output "Registry error: add value list."
CloseRegKey $(KeyProduct)
CloseRegKey $(SoftNetRulesKey)
goto fatalregistry
endif
set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareType)},+
{use,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareUse)}, +
{bindform,$(NoTitle),$(!REG_VT_SZ),$(NetRuleSoftwareBindForm)}, +
{class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareClass)}, +
{bindable,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleSoftwareBindable)}, +
{InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
Shell $(UtilityInf), AddValueList, $(SoftNetRulesKey), $(NewValueList)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error."
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
CloseRegKey $(KeyProduct)
CloseRegKey $(SoftNetRulesKey)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
EndWait
Debug-Output "Resgitry error: add value list."
goto fatalregistry
endif
endif
;
; Create the hardware entries and its corresponding service
;
installhardware =+
Debug-Output "Invoking AddHardwareComponent <"$(STF_CONTEXTINFNAME)">"
Shell $(UtilityInf), AddHardwareComponent, $(ProductHardwareName),$(STF_CONTEXTINFNAME),$(ProductKeyName)
ifint $($R4) != -1
Set OEM_ABANDON_OPTIONS = >($(OEM_ABANDON_OPTIONS), $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards\"$($R4))
endif
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "Cannot add hardware component"
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
EndWait
Debug-Output "Registry error: add hardware component"
CloseRegKey $($R1)
CloseRegKey $($R2)
CloseRegKey $($R3)
goto fatalregistry
endif
;
; At this point:
; $R1 Registry key variable for HARDWARE\Netcard\(n)
; $R2 Registry key variable for HARDWARE\Netcard\(n)\\NetRules
; $R3 Registry key handle for <service>\Parameters key
; $R4 Adapter number assigned to adapter
; $R5 Service name generated by combining svc name with adapter number
;
set KeyParameters = $($R3)
set KeyAdapterRules = $($R2)
set AdapterNumber = $($R4)
set NewValueList = {{Manufacturer,$(NoTitle),$(!REG_VT_SZ),$(Manufacturer)},+
{Title,$(NoTitle),$(!REG_VT_SZ),"["$($R4)"] "$(ProductHardwareTitle)},+
{Description,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareDescription)},+
{ProductName,$(NoTitle),$(!REG_VT_SZ),$(ProductHardwareName)},+
{ServiceName,$(NoTitle),$(!REG_VT_SZ),$($R5)},+
{InstallDate,$(NoTitle),$(!REG_VT_DWORD),*($(Now),1)}}
Shell $(UtilityInf), AddValueList, $($R1), $(NewValueList)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error"
goto ShellCodeError
endif
CloseRegKey $($R1)
set TempProdName = """"$(ProductHardwareName)$(AdapterNumber)""""
set TempBindForm = $(TempProdName)$(NetRuleHardwareBindForm)
set NewValueList = {{type,$(NoTitle),$(!REG_VT_SZ),$(NetRuleHardwareType)},+
{bindform,$(NoTitle),$(!REG_VT_SZ),$(TempBindForm)}, +
{class,$(NoTitle),$(!REG_VT_MULTI_SZ),$(NetRuleHardwareClass)}, +
{InfOption,$(NoTitle),$(!REG_VT_SZ),$(Option)}}
Shell $(UtilityInf), AddValueList, $(KeyAdapterRules), $(NewValueList)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error."
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
EndWait
Debug-Output "Resgitry error: add value list."
CloseRegKey $(KeyParameters)
CloseRegKey $(KeyAdapterRules)
goto fatalregistry
endif
CloseRegKey $(KeyAdapterRules)
goto writeparameters
;
; REQUIRED: $(KeyParameters) contains service Parameters key handle
;
writeparameters = +
set ConnectionValue = *($(ConnectionValues), ~($(ConnectionList),$(ConnectionIndex)))
set PortValue = *($(PortValues), ~($(PortList),$(PortIndex)))
set IrqValue = *($(IrqValues), ~($(IrqList),$(IrqIndex)))
set MemoryValue = *($(MemoryValues), ~($(MemoryList),$(MemoryIndex)))
set SocketValue = *($(SocketValues), ~($(SocketList),$(SocketIndex)))
ifint $(CardWizardInstalled) == 1
OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\RACORE\100TX_CardBus" $(MAXIMUM_ALLOWED) MyPcmciaHandle
Ifstr $(MyPcmciaHandle) == $(KeyNull)
OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase\RACORE" $(MAXIMUM_ALLOWED) ManufacturerKey
Ifstr $(ManufacturerKey) == $(KeyNull)
OpenRegKey $(!REG_H_LOCAL) "" "SYSTEM\CurrentControlSet\Services\Pcmcia\DataBase" $(MAXIMUM_ALLOWED) DatabaseKey
CreateRegKey $(DatabaseKey) {"RACORE",0,GenericClass} "" $(MAXIMUM_ALLOWED) "" ManufacturerKey
CloseRegKey $(DatabaseKey)
endif
CreateRegKey $(ManufacturerKey) {"100TX_CardBus",0,GenericClass} "" $(MAXIMUM_ALLOWED) "" MyPcmciaHandle
CloseRegKey $(ManufacturerKey)
endif
set NewValueList = {{Driver,$(NoTitle),$(!REG_VT_SZ),"RCPTXN3I"}}
Shell $(UtilityInf), AddValueList, $(MyPcmciaHandle), $(NewValueList)
CloseRegKey $(MyPcmciaHandle)
endif
Set AdapterType = $(PCICARD)
set BusTypeValue = 1
set BusNumberValue = 0
set TxmThreshold100 = 1024
set SnoozeModeValue = 0
set MediaTypeValue = 1
set BurstLengthValue = 16
set InterruptMitigationValue = 0
set MemoryReadMultipleValue = 0
set ReceiveBuffersValue = 16
set StoreAndForwardValue = 1
Debug-Output "*****************************************************"
Debug-Output "Configuration set for Registry"
Debug-Output " Connection Type <"$(ConnectionIndex)">"
Debug-Output " Port <"$(PortIndex)">"
Debug-Output " Irq <"$(IrqIndex)">"
Debug-Output " Memory <"$(MemoryIndex)">"
Debug-Output " Socket <"$(SocketIndex)">"
Debug-Output "*****************************************************"
set NewValueList = {+
{AdapterType,$(NoTitle),$(!REG_VT_DWORD),$(AdapterType)},+
{MediaType,$(NoTitle),$(!REG_VT_DWORD),$(MediaTypeValue)},+
{CBSlot,$(NoTitle),$(!REG_VT_DWORD),$(SocketValue)},+
{IoBaseAddress,$(NoTitle),$(!REG_VT_DWORD),$(PortValue)},+
{InterruptNumber,$(NoTitle),$(!REG_VT_DWORD),$(IrqValue)},+
{MemoryBaseAddress,$(NoTitle),$(!REG_VT_DWORD),$(MemoryValue)},+
{ConnectionType,$(NoTitle),$(!REG_VT_DWORD),$(ConnectionValue)},+
{SnoozeMode,$(NoTitle),$(!REG_VT_DWORD),$(SnoozeModeValue)},+
{BusType,$(NoTitle),$(!REG_VT_DWORD),$(BusTypeValue)},+
{BusNumber,$(NoTitle),$(!REG_VT_DWORD),$(BusNumberValue)},+
{TransmitThreshold100,$(NoTitle),$(!REG_VT_DWORD),$(TxmThreshold100)},+
{BurstLength,$(NoTitle),$(!REG_VT_DWORD),$(BurstLengthValue)},+
{InterruptMitigation,$(NoTitle),$(!REG_VT_DWORD),$(InterruptMitigationValue)},+
{MemoryReadMultiple,$(NoTitle),$(!REG_VT_DWORD),$(MemoryReadMultipleValue)},+
{ReceiveBuffers,$(NoTitle),$(!REG_VT_DWORD),$(ReceiveBuffersValue)},+
{StoreAndForward,$(NoTitle),$(!REG_VT_DWORD),$(StoreAndForwardValue)},+
{AdapterCFID,$(NoTitle),$(!REG_VT_DWORD),$(RCPTXCFID)}}
Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
ifint $(CardWizardInstalled) == 1
set NewValueList = {{PCMCIA,$(NoTitle),$(!REG_VT_DWORD),1}}
Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
else
DeleteRegValue $(KeyParameters) PCMCIA
endif
ifstr $(NetworkAddressValue) == ""
Debug-Output "Deleting NetworkAddress Key"
DeleteRegValue $(KeyParameters) NetworkAddress
else
set NewValueList = {{NetworkAddress,$(NoTitle),$(!REG_VT_SZ),$(NetworkAddressValue)}}
Shell $(UtilityInf), AddValueList, $(KeyParameters), $(NewValueList)
endif
CloseRegKey $(KeyParameters)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error."
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
Debug-Output "Registry error: Add value list"
goto fatalregistry
endif
EndWait
goto successful
bindingadapter =+
set Error = "Binding: Sorry, not yet implemented."
goto fatal
;-----------------------------------------------
; Removeadapter section
;-----------------------------------------------
removeadapter = +
Ifstr(i) $(ProductKeyName) == $(!NTN_RegBase)
;
; Remove Software Componet
;
Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
$(ProductSoftwareName)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error"
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
goto fatalregistry
endif
else
Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
$(ProductSoftwareName), $(!NTN_RegBase)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error"
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
goto fatalregistry
endif
endif
goto end
;-----------------------------------------------
; Upgrade Software section
;-----------------------------------------------
UpgradeSoftware = +
Debug-Output "*******************UpGrade Software********************"
Debug-Output "*******************UpGrade Software********************"
Debug-Output "*******************UpGrade Software********************"
Debug-Output "*******************UpGrade Software********************"
Debug-Output "*******************UpGrade Software********************"
set Error = "UpgradeSoftware: Not implemented, Remove and Install"
goto fatal
;
; Escape hatches
;
successful = +
Debug-Output "Successful!!"
goto end
abandon = +
ForListDo $(OEM_ABANDON_OPTIONS)
Shell $(UtilityInf), RemoveHardwareComponent, $(Manufacturer), +
$(ProductSoftwareName), $($)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error"
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
goto fatalregistry
endif
EndForListDo
Ifstr(i) $(OEM_ABANDON_SOFTWARE) == TRUE
Shell $(UtilityInf), RemoveSoftwareComponent, $(Manufacturer), +
$(ProductSoftwareName), FALSE
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error"
goto ShellCodeError
endif
set RegistryErrorIndex = $($R0)
Ifstr(i) $(RegistryErrorIndex) != NO_ERROR
goto fatalregistry
endif
endif
goto end
warning = +
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "WARNING", $(Error)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
ifstr(i) $($R1) == "OK"
goto $(to)
else-ifstr(i) $($R1) == "CANCEL"
goto $(from)
else
goto "end"
endif
nonfatalinfo = +
Set Severity = STATUS
Set CommonStatus = STATUS_USERCANCEL
goto nonfatalmsg
nonfatal = +
Set Severity = NONFATAL
goto nonfatalmsg
nonfatalmsg = +
ifstr(i) $(Error) == ""
Set Severity = NONFATAL
Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
endif
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), $(Severity), $(Error)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
ifstr(i) $($R1) == "OK"
goto $(from)
else
goto "end"
endif
;
; Registry is broken.... very bad if this happens
;
fatalregistry = +
Shell $(UtilityInf) RegistryErrorString $(RegistryErrorIndex)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
goto fatal
fataldetect = +
Shell $(UtilityInf),RegistryErrorString,CANNOT_DETECT
ifint $($ShellCode) != $(!SHELL_CODE_OK)
Debug-Output "ShellCode error: cannot get an error string."
goto ShellCodeError
endif
set Error = $($R0)
Goto fatal
fatal = +
ifstr(i) $(Error) == ""
Shell $(UtilityInf) RegistryErrorString "SETUP_FAIL"
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
set Error = $($R0)
endif
Shell $(subroutineinf) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(Error)
ifint $($ShellCode) != $(!SHELL_CODE_OK)
goto ShellCodeError
endif
goto setfailed
ShellCodeError = +
set DlgType = "MessageBox"
set STF_MB_TITLE = $(ShellCodeErrorTitle)
set STF_MB_TEXT = $(ShellCodeErrorText)
set STF_MB_TYPE = 1
set STF_MB_ICON = 3
set STF_MB_DEF = 1
ui start "Error Message"
goto setfailed
setfailed = +
set CommonStatus = STATUS_FAILED
ifstr(i) $(OEM_ABANDON_ON) == TRUE
set OEM_ABANDON_ON = FALSE
goto abandon
endif
goto end
end = +
goto term
term = +
Return $(CommonStatus)
[Install-Option]
Debug-Output "Install Option"
;
; Copy files from diskette
; Files to copy: RCPTXN3I.sys and RCPTXN3I.dll
set STF_VITAL = 1
set STF_OVERWRITE = ALWAYS
AddSectionFilesToCopyList Files-RCPTXN3I $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
AddSectionFilesToCopyList Files-Dll $(SrcDir) $(!STF_WINDOWSSYSPATH)
AddSectionFilesToCopyList Files-Help $(SrcDir) $(!STF_WINDOWSSYSPATH)
set !STF_NCPA_FLUSH_COPYLIST = TRUE
CopyFilesInCopyList
[Install-Update]
Debug-Output "Install Update"
set STF_VITAL = ""
set STF_OVERWRITE = "VERIFYSOURCEOLDER"
AddSectionFilesToCopyList Files-RCPTXN3I $(SrcDir) $(!STF_WINDOWSSYSPATH)\drivers
AddSectionFilesToCopyList Files-Dll $(SrcDir) $(!STF_WINDOWSSYSPATH)
AddSectionFilesToCopyList Files-Help $(SrcDir) $(!STF_WINDOWSSYSPATH)
set !STF_NCPA_FLUSH_COPYLIST = TRUE
CopyFilesInCopyList
exit
[Source Media Descriptions]
1 = "RCPTXN3I Install Disk"
[ProductType]
STF_PRODUCT = Winnt
STF_PLATFORM = I386
[Files-Inf]
2, oemsetup.inf, SIZE=60000, RENAME=$(!UG_Filename)
[Files-RCPTXN3I]
1, RCPTXN3I.SYS, SIZE=45000
[Files-Dll]
1, RCPTXN3I.dll, SIZE=5000
[Files-Help]
1, RCPTXN3I.hlp, SIZE=12473
[LanguagesSupported]
ENG
[OptionsTextENG]
RCPTXN3I = "Racore 10/100TX Ethernet CardBus Adapter"
[FileConstantsENG]
ProCaption = "Windows NT Setup"
ProCancel = "Cancel"
ProCancelMsg = "Windows NT Networking is not correctly installed. "+
"Are you sure you want to cancel copying files?"
ProCancelCap = "Network Setup Message"
ProText1 = "Copying:"
ProText2 = "To:"
FunctionTitle = "RCPTXN3I Fast Ethernet Adapter Setup"
ProductSoftwareDescription = "Racore 10/100TX Ethernet CardBus Driver"
ProductHardwareDescription = "Racore 10/100TX Ethernet CardBus Adapter"
ProductSoftwareTitle = "Racore 10/100TX Ethernet CardBus Driver"
ProductHardwareTitle = "Racore 10/100TX Ethernet CardBus Adapter"
ShellCodeErrorTitle = "Error: "$(FunctionTitle)
ShellCodeErrorText = "Shell Code Error."
DialogDllName = "RCPTXN3I.dll"
ConnectionList = ^(ConnectionChoicesRCPTXN3I, 1)
ConnectionValues = ^(ConnectionChoicesRCPTXN3I, 2)
PortList = ^(PortChoices$(Option), 1)
PortValues = ^(PortChoices$(Option), 2)
IrqList = ^(IrqChoices$(Option), 1)
IrqValues = ^(IrqChoices$(Option), 2)
MemoryList = ^(MemoryChoices$(Option),1)
MemoryValues = ^(MemoryChoices$(Option),2)
SocketList = ^(SocketChoices$(Option),1)
SocketValues = ^(SocketChoices$(Option),2)
[DialogConstantsENG]
Help = "&Help"
Exit = "&Cancel"
Advanced = "A&dvanced"
OK = "O&K"
HelpContext = 99
Continue = "C&ontinue"
Cancel = "&Cancel"
[FileDependentDlgENG]
DlgText = "Please select values for the follwing fields:"
DlgType = "RadioCombination"
DlgTemplate = "CARDBUSCONFIG"
Caption = $(FunctionTitle)
CBOptionsGreyed = {}
NotifyFields = {NO, NO}
Combo1Label = "&Connection Type"
Combo2Label = "&Port Address"
Combo3Label = "&Interrupt"
Combo4Label = "&Memory Address"
Combo5Label = "&Socket Number"
Edit1Label = "&Network Address"
Combo1List = $(ConnectionList)
Combo1Out = $(ConnectionValue)
Combo2List = $(PortList)
Combo2Out = $(PortValue)
Combo3List = $(IrqList)
Combo3Out = $(IrqValue)
Combo4List = $(MemoryList)
Combo4Out = $(MemoryValue)
Combo5List = $(SocketList)
Combo5Out = $(SocketValue)
ComboListItemsIn = {Combo1List, Combo2List, Combo3List, Combo4List, Combo5List}
ComboListItemsOut = {Combo1Out, Combo2Out, Combo3Out, Combo4Out, Combo5Out}
EditTextIn = {$(NetworkAddressValue)}
EditTextLim = {12}
EditTextOut = {}
[FileConfigDlgENG]
DlgText = "Please select values for the following fields:"
DlgType = "RadioCombination"
DlgTemplate = "CARDBUSCONFIG"
Caption = $(FunctionTitle)
CBOptionsGreyed = {}
NotifyFields = {NO, NO}
Combo1Label = "&Connection Type"
Combo2Label = "&Port Address"
Combo3Label = "&Interrupt"
Combo4Label = "&Memory Address"
Combo5Label = "&Socket Number"
Edit1Label = "&Network Address"
EditTextIn = {$(NetworkAddressValue)}
EditTextLim = {12}
EditTextOut = {}
[ConnectionChoicesRCPTXN3I]
Connect_0 = "AutoSense", 0
Connect_1 = "100BaseTX", 8
Connect_2 = "100BaseTX Full_Duplex", 9
Connect_3 = "100BaseT4", 10
Connect_4 = "100BaseFX", 11
Connect_5 = "100BaseFX Full_Duplex", 12
Connect_6 = "10BaseT (Twisted_Pair) ", 2
Connect_7 = "10BaseT Full_Duplex", 3
Connect_8 = "10BaseT No_Link_Test", 4
Connect_9 = "10Base2 (BNC)", 1
Connect_10= "10Base5 (AUI)", 5
[PortChoicesRCPTXN3I]
PortBase_1 = "0x1000",4096
PortBase_2 = "0x1800",6144
PortBase_3 = "0x2000",8192
PortBase_4 = "0x2800",10240
PortBase_5 = "0x3000",12288
PortBase_6 = "0x3800",14336
PortBase_7 = "0x4000",16384
PortBase_8 = "0x4800",18432
PortBase_9 = "0x5000",20480
PortBase_10 = "0x5800",22528
PortBase_11 = "0x6000",24576
PortBase_12 = "0x6800",26624
PortBase_13 = "0x7000",28672
PortBase_14 = "0x7800",30720
PortBase_15 = "0x8000",32768
PortBase_16 = "0x8800",34816
PortBase_17 = "0x9000",36864
PortBase_18 = "0x9800",38912
PortBase_19 = "0xA000",40960
PortBase_20 = "0xA800",43008
PortBase_21 = "0xB000",45056
PortBase_22 = "0xB800",47104
PortBase_23 = "0xC000",49152
PortBase_24 = "0xC800",51200
PortBase_25 = "0xD000",53248
PortBase_26 = "0xD800",55296
PortBase_27 = "0xE000",57344
PortBase_28 = "0xE800",59392
PortBase_29 = "0xF000",61440
PortBase_30 = "0xF800",63488
[IrqChoicesRCPTXN3I]
IRQ_1 = "IRQ 3",3
IRQ_2 = "IRQ 4",4
IRQ_3 = "IRQ 5",5
IRQ_4 = "IRQ 7",7
IRQ_5 = "IRQ 10",10
IRQ_6 = "IRQ 11",11
IRQ_7 = "IRQ 15",15
[MemoryChoicesRCPTXN3I]
MemAddr_1 = "0xC0000", 786432
MemAddr_2 = "0xC1000", 790528
MemAddr_3 = "0xC2000", 794624
MemAddr_4 = "0xC3000", 798720
MemAddr_5 = "0xC4000", 802816
MemAddr_6 = "0xC5000", 806912
MemAddr_7 = "0xC6000", 811008
MemAddr_8 = "0xC7000", 815104
MemAddr_9 = "0xC8000", 819200
MemAddr_10 = "0xC9000", 823296
MemAddr_11 = "0xCA000", 827392
MemAddr_12 = "0xCB000", 831488
MemAddr_13 = "0xCC000", 835584
MemAddr_14 = "0xCD000", 839680
MemAddr_15 = "0xCE000", 843776
MemAddr_16 = "0xCF000", 847872
MemAddr_17 = "0xD0000", 851968
MemAddr_18 = "0xD1000", 856064
MemAddr_19 = "0xD2000", 860160
MemAddr_20 = "0xD3000", 864256
MemAddr_21 = "0xD4000", 868352
MemAddr_22 = "0xD5000", 872448
MemAddr_23 = "0xD6000", 876544
MemAddr_24 = "0xD7000", 880640
MemAddr_25 = "0xD8000", 884736
MemAddr_26 = "0xD9000", 888832
MemAddr_27 = "0xDA000", 892928
MemAddr_28 = "0xDB000", 897024
MemAddr_29 = "0xDC000", 901120
MemAddr_30 = "0xDD000", 905216
MemAddr_31 = "0xDE000", 909312
MemAddr_32 = "0xDF000", 913408
[SocketChoicesRCPTXN3I]
Socket_0 = "CardBus Slot 1",0
Socket_1 = "CardBus Slot 2",1
Socket_2 = "CardBus Slot 3",2
Socket_3 = "CardBus Slot 4",3
Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.