我借用华教无盘里的一个工具pnpenv.exe和litenet里的工具qpatch.exe来做
网卡PNP,815,810,VIA主板通过,但在845主板上会有网络一完整,表现在网上邻居中没有tcp/ip协议一项,不知是什么原因。
autoexec.bat
@echo off
pnpenv.exe>pci.bat
call pci.bat >nul
SET intel=%PNPK%F000
SET viasis=BUS_%PNPB%&DEV_%PNPE%&FUNC_%PNPF%
qpatch.exe lanpci.reg lan.reg
c:\windows\regedit.exe c:\lan.reg >nul
cd\windows
win.COM
lanpci.reg内容如下:
REGEDIT4
[-HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]
[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]
[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%intel%}]
“Capabilities”=hex:14,00,00,00
“HardwareID”=“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%}&CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_020000,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_0200”
“CompatibleIDs”=“PCI\VEN_{%PNPV%}&CC_020000,PCI\VEN_{%PNPV%}&CC_0200,PCI\VEN_{%PNPV%},PCI\CC_020000,PCI\CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}”
“DeviceDesc”=“Realtek RTL8139/810x Family Fast Ethernet NIC”
“HWRevision”=“0{%PNPZ%}”
“Class”=“Net”
“ConfigFlags”=hex:10,00,00,00
“ClassGUID”=“{4d36e972-e325-11ce-bfc1-08002be10318}”
“Driver”=“Net\0000”
“Mfg”=“Realtek Semiconductor Corp.”
[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%intel%}\Bindings]
“NWLINK\0000”=“”
“NETBEUI\0000”=“”
“MSTCP\0000”=“”
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{CF2524C0-29AE-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%intel%}”=hex:00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{9B4E7760-3196-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%intel%}”=hex:00
[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}]
[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%viasis%}]
“Capabilities”=hex:14,00,00,00
“HardwareID”=“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%},PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&REV_{%PNPR%}&CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_020000,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&CC_0200”
“CompatibleIDs”=“PCI\VEN_{%PNPV%}&CC_020000,PCI\VEN_{%PNPV%}&CC_0200,PCI\VEN_{%PNPV%},PCI\CC_020000,PCI\CC_0200,PCI\VEN_{%PNPV%}&DEV_{%PNPD%}”
“DeviceDesc”=“Realtek RTL8139/810x Family Fast Ethernet NIC”
“HWRevision”=“0{%PNPZ%}”
“Class”=“Net”
“ConfigFlags”=hex:10,00,00,00
“ClassGUID”=“{4d36e972-e325-11ce-bfc1-08002be10318}”
“Driver”=“Net\0000”
“Mfg”=“Realtek Semiconductor Corp.”
[HKEY_LOCAL_MACHINE\Enum\PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}{%viasis%}\Bindings]
“NWLINK\0000”=“”
“NETBEUI\0000”=“”
“MSTCP\0000”=“”
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{CF2524C0-29AE-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%viasis%}”=hex:00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ASD\Prob{9B4E7760-3196-11CF-97EA-00AA0034319D}]
“PCI\VEN_{%PNPV%}&DEV_{%PNPD%}&SUBSYS_{%PNPS%}&REV_{%PNPR%}\{%viasis%}”=hex:00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\PCI]
“Options”=hex:00,00,00,00
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Class\NetTrans\0001]
“Network_Id”=“00000002”
文件在C盘根目录下。多谢高手解释