#2楼:
有serial文件夹,文件夹里有SER2440.H、SER2440_HW.C、SER2440_SER.C、SOURCES、MAKEFILE、SER2440.DEF几个文件,注册表中有以下有关串口的内容:
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SER2440]
"DeviceArrayIndex"=dword:0
"Irq"=dword:03
"IoBase"=dword:50000000
"IoLen"=dword:2C
"Prefix"="COM"
"Dll"="SER2440.Dll"
"Order"=dword:1
"Priority"=dword:0
"Port"="COM1:"
"DeviceType"=dword:0 ; null modem
"FriendlyName"="S2440 COM1"
; "Index"=dword:2
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
ENDIF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SER2440\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="SER2440 UNIMODEM"
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00, 00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IRDA2440]
"DeviceArrayIndex"=dword:1
"Irq"=dword:09
"IoBase"=dword:50008000
"IoLen"=dword:2C
"Prefix"="COM3"
"Dll"="IRDA2440.Dll"
"Order"=dword:0
"Priority"=dword:0
"Port"="COM3:"
"DeviceType"=dword:0 ; IRDA modem, 0 -> null modem
"FriendlyName"="S2440 IRDA2440"
"Index"=dword:2
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IrCOMM]
"Order"=dword:2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NDIS]
"Order"=dword:2
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
"Bind"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir]
"DisplayName"=LOC_FRIENDLYINFRARED
"Group"="NDIS"
"ImagePath"="irsir.dll"
[HKEY_LOCAL_MACHINE\Comm\Irsir\Linkage]
"Route"=multi_sz:"Irsir1"
[HKEY_LOCAL_MACHINE\Comm\Irsir1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"Port"=dword:2
; 0 = Use external dongle, 1 = Use internal IR
"IntIR"=dword:1
; 0 = Internal transceiver, 1 = Extended Systems JetEye dongle
"TransceiverType"=dword:0