⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oemsetup.inf

📁 intel 82559网卡驱动程序
💻 INF
📖 第 1 页 / 共 2 页
字号:
;*******************************************************************************
;*                                                                            **
;*                     I N T E L   P R O P R I E T A R Y                      **
;*                                                                            **
;*   COPYRIGHT (c) 2000 BY INTEL CORPORATION. ALL RIGHTS RESERVED.  NO        **
;*   PART  OF  THIS  PROGRAM OR PUBLICATION MAY BE REPRODUCED, TRANSMITTED,   **
;*   TRANSCRIBED, STORED IN A RETRIEVAL  SYSTEM,  OR  TRANSLATED  INTO  ANY   **
;*   LANGUAGE OR COMPUTER LANGUAGE IN ANY FORM OR BY ANY MEANS, ELECTRONIC,   **
;*   MECHANICAL, MAGNETIC, OPTICAL, CHEMICAL, MANUAL, OR OTHERWISE, WITHOUT   **
;*   THE PRIOR WRITTEN PERMISSION OF :                                        **
;*                                                                            **
;*                             INTEL CORPORATION                              **
;*                                                                            **
;*                          2200 MISSION COLLEGE BLVD                         **
;*                                                                            **
;*                     SANTA CLARA, CALIFORNIA 95052-8119                     **
;*                                                                            **
;*******************************************************************************
;*******************************************************************************
; Windows NT OEMSETUP.INF for
;
;		Intel(R) GD82559ER Fast Ethernet Adapter
;
;*******************************************************************************
; $Revision: 9 $


;*******************************************************************************
; Define Options
;*******************************************************************************
[Options]
	E100E

[OptionsText]
	E100E = "Intel(R) GD82559ER Fast Ethernet Adapter"

[Source Media Descriptions]
	1 = "Intel(R) GD82559ER Fast Ethernet Adapter CD-ROM or floppy disk",+
		TAGFILE = e100ent.sys


;*******************************************************************************
; Define customizable constants.
;*******************************************************************************
[FileConstants]
	Manufacturer         = "Intel"

	NDIS4                = "e100ent.sys"
	NDIS4Src             = "e100ent.sys"

	SoftwareName         = "E100E"
	SoftwareTitle        = "Intel(R) GD82559ER Fast Ethernet Adapter"
	SoftwareDescription  = "Intel(R) GD82559ER Fast Ethernet Adapter Driver"

	HardwareTitle        = "Intel(R) GD82559ER Fast Ethernet Adapter"
	HardwareDescription  = "Intel(R) GD82559ER Fast Ethernet Adapter"

	NetEventDLL          = "%SystemRoot%\System32\netevent.dll"
	SoftwareImagePath    = "%SystemRoot%\System32\drivers\"$(NDIS4)
	SoftwareKeyName      = "SOFTWARE\"$(Manufacturer)"\"$(SoftwareName)+
				"\CurrentVersion"

	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:"

    AutoDetect           = "Auto Detect"
    Speed10Mbps          = "10 Mbps"
    Speed100Mbps         = "100 Mbps"
    HalfDuplex           = "Half-Duplex"
    FullDuplex           = "Full-Duplex"    
    SpeedList            = {$(AutoDetect), $(Speed10Mbps), $(Speed100Mbps)}
    DuplexList           = {$(AutoDetect), $(HalfDuplex), $(FullDuplex)}

    KeyNull              = ""

;*******************************************************************************
; Define Vendor/Device IDs for support adapters.  Each support adapter is listed
; in the format {<Vendor ID>, <Device ID>}.
;*******************************************************************************
[VendorDeviceIDs]
	{32902, 4617}		; 0x8086, 0x1209
	{32902, 4649}		; 0x8086, 0x1229

;*******************************************************************************
; Define miniport instance parameters.  This list defines the name of the
; parameter, the registry data type, and the value of the parameter.  Each
; parameter is specified in a format ready to be passed into SetRegValue():
; {<name>, $(NoTitle), <reg value type>, <parameter value>}.
;*******************************************************************************
[MiniportParameters]   
  ; HKLM\SYSTEM\CurrentControlSet\Services\[miniport instance]\Parameters
	{AutoPolarity,          $(NoTitle), $(!REG_VT_DWORD),    2}
	{BusNumber,             $(NoTitle), $(!REG_VT_DWORD),    $(BusNumber)}
	{BusType,               $(NoTitle), $(!REG_VT_DWORD),    5}
	{BusTypeLocal,          $(NoTitle), $(!REG_VT_DWORD),    5}
	{Congest,               $(NoTitle), $(!REG_VT_DWORD),    0}
	{Coalesce,              $(NoTitle), $(!REG_VT_DWORD),    0}
	{Connector,             $(NoTitle), $(!REG_VT_DWORD),    0}
	{EQUOFF,                $(NoTitle), $(!REG_VT_DWORD),    0}
	{EnableSelfTest,        $(NoTitle), $(!REG_VT_DWORD),    1}
	{Environment,           $(NoTitle), $(!REG_VT_DWORD),    0}
	{ExtremeCacheAlignment, $(NoTitle), $(!REG_VT_DWORD),    0}
	{ForceDpx,              $(NoTitle), $(!REG_VT_DWORD),    0}
	{MCWA,                  $(NoTitle), $(!REG_VT_DWORD),    2}
	{MWIEnable,             $(NoTitle), $(!REG_VT_DWORD),    1}
	{MediaType,             $(NoTitle), $(!REG_VT_DWORD),    1}
	{NetworkAddress,        $(NoTitle), $(!REG_VT_SZ),       ""}
	{NumCoalesce,           $(NoTitle), $(!REG_VT_DWORD),    8}
	{NumRfd,                $(NoTitle), $(!REG_VT_DWORD),    16}
	{NumTbdPerTcb,          $(NoTitle), $(!REG_VT_DWORD),    1}
	{NumTcb,                $(NoTitle), $(!REG_VT_DWORD),    8}
	{PhyAddress,            $(NoTitle), $(!REG_VT_DWORD),    255}
	{RxDmaCount,            $(NoTitle), $(!REG_VT_DWORD),    0}
	{RxFifo,                $(NoTitle), $(!REG_VT_DWORD),    8}
	{SlotNumber,            $(NoTitle), $(!REG_VT_DWORD),    $(SlotNumber)}
	{Speed,                 $(NoTitle), $(!REG_VT_DWORD),    0}
	{TxDmaCount,            $(NoTitle), $(!REG_VT_DWORD),    0}
	{TxFifo,                $(NoTitle), $(!REG_VT_DWORD),    8}
	{UnderrunRetry,         $(NoTitle), $(!REG_VT_DWORD),    1}
	{UseIo,                 $(NoTitle), $(!REG_VT_DWORD),    2}
	{WaitAfterWin,          $(NoTitle), $(!REG_VT_DWORD),    0}


;*******************************************************************************
; Define software and hardware component registry settings that are applied
; after calling AddSoftwareComponent() or AddHardwareComponent().  Each
; parameter is specified in a format ready to be passed into SetRegValue():
; {<name>, $(NoTitle), <reg value type>, <parameter value>}.
;*******************************************************************************

[SoftwareCurrentVersion]
  ; HKLM\SOFTWARE\[Mfg]\[Product]\CurrentVersion
	{SoftwareType, $(NoTitle), $(!REG_VT_SZ),       "driver"}
	{MajorVersion, $(NoTitle), $(!REG_VT_DWORD),    3}
	{MinorVersion, $(NoTitle), $(!REG_VT_DWORD),    0}
	{Title,        $(NoTitle), $(!REG_VT_SZ),       $(SoftwareTitle)}
	{Description,  $(NoTitle), $(!REG_VT_SZ),       $(SoftwareDescription)}
	{ServiceName,  $(NoTitle), $(!REG_VT_SZ),       $(SoftwareName)}
	{InstallDate,  $(NoTitle), $(!REG_VT_DWORD),    *($(Now),1)}

[SoftwareNetBindRules]
  ; HKLM\SOFTWARE\[Mfg]\[Product]\CurrentVersion\NetRules
	{type,         $(NoTitle), $(!REG_VT_SZ),       +
		$(SoftwareName)"Sys ndisDriver "$(SoftwareName)"Driver"}
	{use,          $(NoTitle), $(!REG_VT_SZ),       +
		"driver"}
	{bindform,     $(NoTitle), $(!REG_VT_SZ),       +
		""""$(SoftwareName)"Sys"" yes no container"}
	{class,        $(NoTitle), $(!REG_VT_MULTI_SZ), +
		{$(SoftwareName)"Driver basic"}}
	{bindable,     $(NoTitle), $(!REG_VT_MULTI_SZ), +
		{$(SoftwareName)"Driver "$(SoftwareName)+
		"Adapter non exclusive 100"}}
	{InfOption,    $(NoTitle), $(!REG_VT_SZ),       +
		$(Option)}

[NetworkCardValues]
  ; HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\[x]
	{Manufacturer, $(NoTitle), $(!REG_VT_SZ),       +
		$(Manufacturer)}
	{Title,        $(NoTitle), $(!REG_VT_SZ),       +
		"["$(AdapterNumber)"] "$(HardwareTitle)}
	{Description,  $(NoTitle), $(!REG_VT_SZ),       +
		$(HardwareDescription)}
	{ProductName,  $(NoTitle), $(!REG_VT_SZ),       +
		$(SoftwareName)}
	{ServiceName,  $(NoTitle), $(!REG_VT_SZ),       +
		$(SoftwareName)$(AdapterNumber)}
	{InstallDate,  $(NoTitle), $(!REG_VT_DWORD),    +
		*($(Now),1)}
	{OperationsSupport, $(NoTitle), $(!REG_VT_DWORD), +
		255}

[HardwareNetBindRules]
  ; HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkCards\[x]\NetRules
	{type,         $(NoTitle), $(!REG_VT_SZ),       +
		$(SoftwareName)" "$(SoftwareName)"Adapter"}
	{bindform,     $(NoTitle), $(!REG_VT_SZ),       +
		""""$(SoftwareName)$(AdapterNumber)""" yes yes container"}
	{class,        $(NoTitle), $(!REG_VT_MULTI_SZ), +
		{$(SoftwareName)"Adapter basic"}}
	{InfOption,    $(NoTitle), $(!REG_VT_SZ),       +
		$(Option)}


;*******************************************************************************
; Detect sections.  These sections are called using the detect command.
;*******************************************************************************
[Date]
    Now = {} ? $(!LIBHANDLE) GetSystemDate


;*******************************************************************************
; Returns information to Setup about the type of driver or drivers that
; can be installed by this INF file.
;*******************************************************************************
[Identify]
	Return STATUS_SUCCESSFUL NetAdapter ""


;*******************************************************************************
; This section returns information to the Setup program, listing the 
; names of any drivers that can be installed by this INF file. It also 
; returns the text strings for each driver (in the requested language) 
; to be used in the dialog box that asks the user to select the driver
; to install. 
;*******************************************************************************
[ReturnOptions]
	Set Status         = STATUS_SUCCESSFUL
	Set OptionList     = ^(Options, 1)
	Set OptionTextList = ^(OptionsText, 1)

	IfStr(i) $($1) != ""
		IfContains(i) $($1) not-in "PCI"
			Set Status         = STATUS_NOTSUPPORTED
			Set OptionList     = {}
			Set OptionTextList = {}
		EndIf
	EndIf

	Return $(Status) $(OptionList) $(OptionTextList)

;*******************************************************************************
; If the [ReturnOptions] section returns successfully, indicating the
; language is supported, Setup displays a dialog box from which the user
; can select a driver to install. If the user proceeds with the
; installation, Setup calls the [InstallOption] section.
;*******************************************************************************
[InstallOption]
	Set Option   = $($1)
	Set SrcDir   = $($2)
	Set AddCopy  = $($3)
	Set DoCopy   = $($4)
	Set DoConfig = $($5)

	read-syms FileConstants	
	detect Date

	;-----------------------------------------------------------------------
	; Switch on the install mode option and goto the appropriate sub.
	;-----------------------------------------------------------------------

	IfStr(i) $(!NTN_InstallMode) == deinstall
		Set StartLabel = RemoveAdapter

	Else-IfStr(i) $(!NTN_InstallMode) == update
		Set StartLabel = UpdateAdapter

	Else-IfStr(i) $(!NTN_InstallMode) == bind
		return STATUS_USERCANCEL

	Else-IfStr(i) $(!NTN_InstallMode) == configure
		Set StartLabel = ConfigureAdapter

	Else-IfStr(i) $(!NTN_InstallMode) == install
		Set StartLabel = InstallAdapters

	EndIf

	Set from = FatalError
	Set to   = FatalError

	Goto $(StartLabel)


;*******************************************************************************
; Called when the user clicks the Add button in the NCPA.
;*******************************************************************************
InstallAdapters = +

	;-----------------------------------------------------------------------
	; NT 3.50 & 3.51 are not supported, so give user the bad news
	;-----------------------------------------------------------------------

	OpenRegKey $(!REG_H_LOCAL) "" +
		"SOFTWARE\Microsoft\Windows NT\CurrentVersion" +
		$(!REG_KEY_READ) hKeyWinNT
	GetRegValue $(hKeyWinNT) "CurrentVersion" CurrentVersion
	Set WinNTVersion = *($(CurrentVersion), 4)
	CloseRegKey $(hKeyWinNT)

	ifcontains(i) $(WinNTVersion) in {"3.50", "3.51"}
		Shell "Subroutn.Inf" SetupMessage $(!STF_LANGUAGE) "STATUS" +
			"NT 3.50 and NT 3.51 are not supported."
		return STATUS_USERCANCEL
	EndIf

	;-----------------------------------------------------------------------
	; Find Adapter(s) by doing a PCI scan (of registry) with Utility.inf.
	; The bus/slot/function of each adapter found are returned in a list

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -