Docs: Introduce multiport serial support in qemupciserial.inf.

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.22 (GNU/Linux)
 
 iQIcBAABAgAGBQJTICp7AAoJEEy22O7T6HE4LVUQAMO8T3a+kRQqZZy3s1xtoMd1
 byM3u7Ze7M/ViOYYPKVhWcp5xW4V1NkKA+yeBO3y0JofWS3itsjVTanJ6y/vWeR7
 R30bwBtfadR/rbnfRVNlSD6kNgYP7Z1gIwkbdVV+DNfnk1I+S92LbsV4bsSGXtKf
 1oRtQf/6huECLo0UIHcjk818SE6OuSswXIpBU2OLYXNxIJAAQospxFWDxyo5c/jc
 j3YWYrlXYnhm/xr1oRwWBreQh8iKOdMxLQy1TZCLDD9a5cdPAIp4jgUQKm2qP2IY
 UsRjS9Wa85CTuyFqbJfcI+zo9dtr3X05he8KwwccnXYlKEz8miN6n54/Lla31tyP
 931HT7KeyFTIzuHVKLt6GNF3+MWUX/epCDitbqfHrn2KVbQ3qGXkCgU+UIN8ZFkD
 RYEm1pFThsAlgX0JS6Te1JDxPERg0VbWzQu+3f+4lRNCX08oOyjb1HLI12pTXCJH
 FCkhrMgP+uohS4GnJjNn0zDqUFn4LWWyfl7VTIGyen92/UQXIqjVxs9WvJMBrf6S
 eOfoSABPGOLcxYVJCFC6065pR9blezVeXAjp5bwpt1eeEbhzydzufvPymLX1yQxL
 pkf16UUwqdmks1nctdpDbtez4r1TaA5vSKgvfS6guWp1E2M8Mrp2XpMMjXh1tuCm
 ylj2Vvv3StWvgjWFr4yZ
 =RxzT
 -----END PGP SIGNATURE-----

Merge remote-tracking branch 'remotes/kraxel/tags/pull-misc-1' into staging

Docs: Introduce multiport serial support in qemupciserial.inf.

# gpg: Signature made Wed 12 Mar 2014 09:35:55 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"

* remotes/kraxel/tags/pull-misc-1:
  Docs: Introduce multiport serial support in qemupciserial.inf.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
Peter Maydell 2014-03-12 15:03:42 +00:00
commit 01ac27ce7f

View File

@ -11,99 +11,92 @@
; (Com+Lpt)" from the list. Click "Have a disk". Select this file. ; (Com+Lpt)" from the list. Click "Have a disk". Select this file.
; Procedure may vary a bit depending on the windows version. ; Procedure may vary a bit depending on the windows version.
; FIXME: This file covers the single port version only. ; This file covers all options: pci-serial, pci-serial-2x, pci-serial-4x
; for both 32 and 64 bit platforms.
[Version] [Version]
Signature="$CHICAGO$" Signature="$Windows NT$"
Class=Ports Class=MultiFunction
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318} ClassGUID={4d36e971-e325-11ce-bfc1-08002be10318}
Provider=%QEMU% Provider=%QEMU%
DriverVer=09/24/2012,1.3.0 DriverVer=12/29/2013,1.3.0
[ControlFlags]
[SourceDisksNames] ExcludeFromSelect=*
3426=windows cd
[SourceDisksFiles]
serial.sys = 3426
serenum.sys = 3426
[DestinationDirs]
DefaultDestDir = 11 ;LDID_SYS
ComPort.NT.Copy = 12 ;DIRID_DRIVERS
SerialEnumerator.NT.Copy=12 ;DIRID_DRIVERS
; Drivers
;----------------------------------------------------------
[Manufacturer] [Manufacturer]
%QEMU%=QEMU,NTx86 %QEMU%=QEMU,NTx86,NTAMD64
[QEMU.NTx86] [QEMU.NTx86]
%QEMU-PCI_SERIAL.DeviceDesc% = ComPort, "PCI\VEN_1b36&DEV_0002&CC_0700" %QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
%QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
%QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004
; COM sections [QEMU.NTAMD64]
;---------------------------------------------------------- %QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002
[ComPort.AddReg] %QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003
HKR,,PortSubClass,1,01 %QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004
[ComPort.NT] [ComPort_inst1]
AddReg=ComPort.AddReg, ComPort.NT.AddReg Include=mf.inf
LogConfig=caa Needs=MFINSTALL.mf
SyssetupPnPFlags = 1
[ComPort.NT.HW] [ComPort_inst2]
AddReg=ComPort.NT.HW.AddReg Include=mf.inf
Needs=MFINSTALL.mf
[ComPort.NT.AddReg] [ComPort_inst4]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider" Include=mf.inf
Needs=MFINSTALL.mf
[ComPort.NT.HW.AddReg] [ComPort_inst1.HW]
HKR,,"UpperFilters",0x00010000,"serenum" AddReg=ComPort_inst1.RegHW
;-------------- Service installation [ComPort_inst2.HW]
; Port Driver (function driver for this device) AddReg=ComPort_inst2.RegHW
[ComPort.NT.Services]
AddService = Serial, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
AddService = Serenum,,Serenum_Service_Inst
; -------------- Serial Port Driver install sections [ComPort_inst4.HW]
[Serial_Service_Inst] AddReg=ComPort_inst4.RegHW
DisplayName = %Serial.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START (this driver may do detection)
ErrorControl = 0 ; SERVICE_ERROR_IGNORE
ServiceBinary = %12%\serial.sys
LoadOrderGroup = Extended base
; -------------- Serenum Driver install section [ComPort_inst1.Services]
[Serenum_Service_Inst] Include=mf.inf
DisplayName = %Serenum.SVCDESC% Needs=MFINSTALL.mf.Services
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\serenum.sys
LoadOrderGroup = PNP Filter
[Serial_EventLog_Inst] [ComPort_inst2.Services]
AddReg = Serial_EventLog_AddReg Include=mf.inf
Needs=MFINSTALL.mf.Services
[Serial_EventLog_AddReg] [ComPort_inst4.Services]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\serial.sys" Include=mf.inf
HKR,,TypesSupported,0x00010001,7 Needs=MFINSTALL.mf.Services
; The following sections are COM port resource configs. [ComPort_inst1.RegHW]
; Section name format means: HKR,Child0000,HardwareID,,*PNP0501
; Char 1 = c (COM port) HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
; Char 2 = I/O config: 1 (3f8), 2 (2f8), 3 (3e8), 4 (2e8), a (any) HKR,Child0000,ResourceMap,1,02
; Char 3 = IRQ config: #, a (any)
[caa] ; Any base, any IRQ [ComPort_inst2.RegHW]
ConfigPriority=HARDRECONFIG HKR,Child0000,HardwareID,,*PNP0501
IOConfig=8@100-ffff%fff8(3ff::) HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
IRQConfig=S:3,4,5,7,9,10,11,12,14,15 HKR,Child0000,ResourceMap,1,02
HKR,Child0001,HardwareID,,*PNP0501
HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
HKR,Child0001,ResourceMap,1,02
[ComPort_inst4.RegHW]
HKR,Child0000,HardwareID,,*PNP0501
HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00
HKR,Child0000,ResourceMap,1,02
HKR,Child0001,HardwareID,,*PNP0501
HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00
HKR,Child0001,ResourceMap,1,02
HKR,Child0002,HardwareID,,*PNP0501
HKR,Child0002,VaryingResourceMap,1,00, 10,00,00,00, 08,00,00,00
HKR,Child0002,ResourceMap,1,02
HKR,Child0003,HardwareID,,*PNP0501
HKR,Child0003,VaryingResourceMap,1,00, 18,00,00,00, 08,00,00,00
HKR,Child0003,ResourceMap,1,02
[Strings] [Strings]
QEMU="QEMU" QEMU="QEMU"
QEMU-PCI_SERIAL.DeviceDesc="QEMU Serial PCI Card" QEMU-PCI_SERIAL_1_PORT="1x QEMU PCI Serial Card"
QEMU-PCI_SERIAL_2_PORT="2x QEMU PCI Serial Card"
Serial.SVCDESC = "Serial port driver" QEMU-PCI_SERIAL_4_PORT="4x QEMU PCI Serial Card"
Serenum.SVCDESC = "Serenum Filter Driver"