virtio-ccw: Fix unsetting of indicators.
[qemu.git] / docs / qemupciserial.inf
blob3474310a4b75651689737848bfb881b18c8c2f29
1 ; qemupciserial.inf for QEMU, based on MSPORTS.INF
3 ; The driver itself is shipped with Windows (serial.sys).  This is
4 ; just a inf file to tell windows which pci id the serial pci card
5 ; emulated by qemu has, and to apply a name tag to it which windows
6 ; will show in the device manager.
8 ; Installing the driver: Go to device manager.  You should find a "pci
9 ; serial card" tagged with a yellow question mark.  Open properties.
10 ; Pick "update driver".  Then "select driver manually".  Pick "Ports
11 ; (Com+Lpt)" from the list.  Click "Have a disk".  Select this file.
12 ; Procedure may vary a bit depending on the windows version.
14 ; FIXME: This file covers the single port version only.
16 [Version]
17 Signature="$CHICAGO$"
18 Class=Ports
19 ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
20 Provider=%QEMU%
21 DriverVer=09/24/2012,1.3.0
23 [SourceDisksNames]
24 3426=windows cd
26 [SourceDisksFiles]
27 serial.sys              = 3426
28 serenum.sys             = 3426
30 [DestinationDirs]
31 DefaultDestDir  = 11        ;LDID_SYS
32 ComPort.NT.Copy = 12        ;DIRID_DRIVERS
33 SerialEnumerator.NT.Copy=12 ;DIRID_DRIVERS
35 ; Drivers
36 ;----------------------------------------------------------
37 [Manufacturer]
38 %QEMU%=QEMU,NTx86
40 [QEMU.NTx86]
41 %QEMU-PCI_SERIAL.DeviceDesc% = ComPort, "PCI\VEN_1b36&DEV_0002&CC_0700"
43 ; COM sections
44 ;----------------------------------------------------------
45 [ComPort.AddReg]
46 HKR,,PortSubClass,1,01
48 [ComPort.NT]
49 AddReg=ComPort.AddReg, ComPort.NT.AddReg
50 LogConfig=caa
51 SyssetupPnPFlags = 1
53 [ComPort.NT.HW]
54 AddReg=ComPort.NT.HW.AddReg
56 [ComPort.NT.AddReg]
57 HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
59 [ComPort.NT.HW.AddReg]
60 HKR,,"UpperFilters",0x00010000,"serenum"
62 ;-------------- Service installation
63 ; Port Driver (function driver for this device)
64 [ComPort.NT.Services]
65 AddService = Serial, 0x00000002, Serial_Service_Inst, Serial_EventLog_Inst
66 AddService = Serenum,,Serenum_Service_Inst
68 ; -------------- Serial Port Driver install sections
69 [Serial_Service_Inst]
70 DisplayName    = %Serial.SVCDESC%
71 ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
72 StartType      = 1               ; SERVICE_SYSTEM_START (this driver may do detection)
73 ErrorControl   = 0               ; SERVICE_ERROR_IGNORE
74 ServiceBinary  = %12%\serial.sys
75 LoadOrderGroup = Extended base
77 ; -------------- Serenum Driver install section
78 [Serenum_Service_Inst]
79 DisplayName    = %Serenum.SVCDESC%
80 ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
81 StartType      = 3               ; SERVICE_DEMAND_START
82 ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
83 ServiceBinary  = %12%\serenum.sys
84 LoadOrderGroup = PNP Filter
86 [Serial_EventLog_Inst]
87 AddReg = Serial_EventLog_AddReg
89 [Serial_EventLog_AddReg]
90 HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\serial.sys"
91 HKR,,TypesSupported,0x00010001,7
93 ; The following sections are COM port resource configs.
94 ; Section name format means:
95 ; Char 1 = c (COM port)
96 ; Char 2 = I/O config: 1 (3f8), 2 (2f8), 3 (3e8), 4 (2e8), a (any)
97 ; Char 3 = IRQ config: #, a (any)
99 [caa]                   ; Any base, any IRQ
100 ConfigPriority=HARDRECONFIG
101 IOConfig=8@100-ffff%fff8(3ff::)
102 IRQConfig=S:3,4,5,7,9,10,11,12,14,15
104 [Strings]
105 QEMU="QEMU"
106 QEMU-PCI_SERIAL.DeviceDesc="QEMU Serial PCI Card"
108 Serial.SVCDESC   = "Serial port driver"
109 Serenum.SVCDESC = "Serenum Filter Driver"