<dfn id="is4kg"></dfn>
  • <ul id="is4kg"></ul>
  • <abbr id="is4kg"></abbr>
  • <ul id="is4kg"></ul>
    <bdo id="is4kg"></bdo>
    以文本方式查看主題

    -  曙海教育集團論壇  (http://www.hufushizhe.com/bbs/index.asp)
    --  WinCE系統定制與驅動開發  (http://www.hufushizhe.com/bbs/list.asp?boardid=36)
    ----  關于VS2005定制WINCE6.0的intel網卡驅動問題  (http://www.hufushizhe.com/bbs/dispbbs.asp?boardid=36&id=1810)

    --  作者:wangxinxin
    --  發布時間:2010-11-26 10:26:40
    --  關于VS2005定制WINCE6.0的intel網卡驅動問題
    目前我用VS2005定制intel 8255QM的網卡驅動,但是WINCE啟動后看不到添加的網絡連接
    現在我做了以下幾件事
    第一我在platform.bib的MODULES中添加了  
    e100ce6.dll $(_FLATRELEASEDIR)\\e100ce6.dll NK SHK
    第二我在platform.reg中添加了

    IF CEPB_INTELFE_PCI

    ;Create registry information for Intel(R) Miniport Driver

    [HKEY_LOCAL_MACHINE\\Comm\\E100CE6]
      "DisplayName"="Intel(R) Fast Ethernet Controller"
      "Group"="NDIS"
      "ImagePath"="e100ce6.dll"


    ;Create registry information for template (will be copied to ALL instances of
    ;adapters using the Intel Miniport Driver)

    [HKEY_LOCAL_MACHINE\\Drivers\\BuiltIn\\PCI\\Template\\E100CE6]
    ;PCI Bus Enumeration Information
      "Class"=dword:02
      "SubClass"=dword:00
      "ProgIF"=dword:0
      "VendorID"=multi_sz:"8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086"
      "DeviceID"=multi_sz:"1229","2449","1031","1032","1033","1034","1035","1036","1037","1038","1039","103A","103B"
      "Dll"="NDIS.dll"
      "Entry"="NdisPCIBusDeviceInit"
      "Transceiver"=dword:3
      "MiniPort"="E100CE6"
    ;Installable ISR Handler Information
      "IsrDll"="giisr.dll"
      "IsrHandler"="ISRHandler"
      "PortIsIO"=dword:0
      "PortOffset"=dword:0
      "PortSize"=dword:2
      "PortMask"=dword:FF00

    ;Settings for DHCP IP Configuration, if enabled
    IF DHCP
    [HKEY_LOCAL_MACHINE\\COMM\\PCI\\E100CE61\\Parms\\TcpIp]
      "EnableDHCP"=dword:1
      ; This should be MULTI_SZ
      "DefaultGateway"=""
      ; Use zero for broadcast address? (or 255.255.255.255)
      "UseZeroBroadcast"=dword:0
      ; This should be MULTI_SZ, the IP address list
      "IpAddress"="0.0.0.0"
      ; This should be MULTI_SZ, the subnet masks for the above IP addresses
      "Subnetmask"="0.0.0.0"
    ENDIF ;//DHCP

    ;Settings for static IP configuration, if enabled
    IF STATIC_IP
    [HKEY_LOCAL_MACHINE\\COMM\\PCI\\E100CE61\\Parms\\TcpIp]
      "EnableDHCP"=dword:0
      ; This should be MULTI_SZ
      "DefaultGateway"="1.2.3.0"
      ; Use zero for broadcast address? (or 255.255.255.255)
      "UseZeroBroadcast"=dword:0
      ; This should be MULTI_SZ, the IP address list
      "IpAddress"="1.2.3.4"
      ; This should be MULTI_SZ, the subnet masks for the above IP addresses
      "Subnetmask"="255.0.0.0"
    ENDIF ;//Static IP

    [HKEY_LOCAL_MACHINE\\Comm\\E100CE6B]
      "DisplayName"="Intel(R) Fast Ethernet Controller"
      "Group"="NDIS"
      "ImagePath"="e100ce6.dll"


    ;Create registry information for template (will be copied to ALL instances of
    ;adapters using the Intel Miniport Driver)

    [HKEY_LOCAL_MACHINE\\Drivers\\BuiltIn\\PCI\\Template\\E100CE6B]
    ;PCI Bus Enumeration Information
      "Class"=dword:02
      "SubClass"=dword:00
      "ProgIF"=dword:0
      "VendorID"=multi_sz:"8086","8086","8086","8086","8086","8086","8086","8086","8086","8086","8086"
      "DeviceID"=multi_sz:"103C","103D","103E","1050","1051","1052","1053","1054","1055","1056","1057"
      "Dll"="NDIS.dll"
      "Entry"="NdisPCIBusDeviceInit"
      "Transceiver"=dword:3
    ;Installable ISR Handler Information
      "IsrDll"="giisr.dll"
      "IsrHandler"="ISRHandler"
      "PortIsIO"=dword:0
      "PortOffset"=dword:0
      "PortSize"=dword:2
      "PortMask"=dword:FF00

    ;Settings for DHCP IP Configuration, if enabled
    IF DHCP
    [HKEY_LOCAL_MACHINE\\COMM\\PCI\\E100CE6B1\\Parms\\TcpIp]
      "EnableDHCP"=dword:1
      ; This should be MULTI_SZ
      "DefaultGateway"=""
      ; Use zero for broadcast address? (or 255.255.255.255)
      "UseZeroBroadcast"=dword:0
      ; This should be MULTI_SZ, the IP address list
      "IpAddress"="0.0.0.0"
      ; This should be MULTI_SZ, the subnet masks for the above IP addresses
      "Subnetmask"="0.0.0.0"
    ENDIF ;//DHCP

    ;Settings for static IP configuration, if enabled
    IF STATIC_IP
    [HKEY_LOCAL_MACHINE\\COMM\\PCI\\E100CE6B1\\Parms\\TcpIp]
      "EnableDHCP"=dword:0
      ; This should be MULTI_SZ
      "DefaultGateway"="1.2.3.0"
      ; Use zero for broadcast address? (or 255.255.255.255)
      "UseZeroBroadcast"=dword:0
      ; This should be MULTI_SZ, the IP address list
      "IpAddress"="1.2.3.4"
      ; This should be MULTI_SZ, the subnet masks for the above IP addresses
      "Subnetmask"="255.0.0.0"
    ENDIF ;//Static IP

    [HKEY_LOCAL_MACHINE\\Comm\\E100CE6C]
      "DisplayName"="Intel(R) Fast Ethernet Controller"
      "Group"="NDIS"
      "ImagePath"="e100ce6.dll"

    [HKEY_LOCAL_MACHINE\\Drivers\\BuiltIn\\PCI\\Template\\E100CE6C]
    ;PCI Bus Enumeration Information
      "Class"=dword:02
      "SubClass"=dword:00
      "ProgIF"=dword:0
      "VendorID"=multi_sz:"8086","8086","8086","8086","8086","8086","8086","8086"
      "DeviceID"=multi_sz:"1064","1065","1066","1067","1068","1069","106A","106B"
      "Dll"="NDIS.dll"
      "Entry"="NdisPCIBusDeviceInit"
      "Transceiver"=dword:3
    ;Installable ISR Handler Information
      "IsrDll"="giisr.dll"
      "IsrHandler"="ISRHandler"
      "PortIsIO"=dword:0
      "PortOffset"=dword:0
      "PortSize"=dword:2
      "PortMask"=dword:FF00

    ;Settings for DHCP IP Configuration, if enabled
    IF DHCP
    [HKEY_LOCAL_MACHINE\\COMM\\PCI\\E100CE6C1\\Parms\\TcpIp]
      "EnableDHCP"=dword:1
      ; This should be MULTI_SZ
      "DefaultGateway"=""
      ; Use zero for broadcast address? (or 255.255.255.255)
      "UseZeroBroadcast"=dword:0
      ; This should be MULTI_SZ, the IP address list
      "IpAddress"="0.0.0.0"
      ; This should be MULTI_SZ, the subnet masks for the above IP addresses
      "Subnetmask"="0.0.0.0"
    ENDIF ;//DHCP

    ;Settings for static IP configuration, if enabled
    IF STATIC_IP
    [HKEY_LOCAL_MACHINE\\COMM\\PCI\\E100CE6C1\\Parms\\TcpIp]
      "EnableDHCP"=dword:0
      ; This should be MULTI_SZ
      "DefaultGateway"="1.2.3.0"
      ; Use zero for broadcast address? (or 255.255.255.255)
      "UseZeroBroadcast"=dword:0
      ; This should be MULTI_SZ, the IP address list
      "IpAddress"="1.2.3.4"
      ; This should be MULTI_SZ, the subnet masks for the above IP addresses
      "Subnetmask"="255.0.0.0"
    ENDIF ;//Static IP

    ENDIF ;//Intel(R) miniport registry additions.
    第三我在項目的環境變量中添加了CEPB_INTELFE_PCI =1
    第四我把下載的幾個文件復制到了platform\\cepc\\files的目錄下
    第五 以前在5.0會有一個cec文件,但是6.0沒有只有pbcxml,我用vs2005打開cec就報錯,怎么改都不對,所以我也就沒有轉換,添加這個catalog.
    但現在問題是在NK.BIN中可以看到網卡的DLL和注冊表的信息,但是OS啟動后看不到這個網卡的連接,希望大家能幫我解決這個問題,謝謝啊