Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 1 | ; qemupciserial.inf for QEMU, based on MSPORTS.INF |
| 2 | |
| 3 | ; The driver itself is shipped with Windows (serial.sys). This is |
Ville Skyttä | 9277d81 | 2018-06-12 09:51:50 +0300 | [diff] [blame] | 4 | ; just an inf file to tell windows which pci id the serial pci card |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 5 | ; emulated by qemu has, and to apply a name tag to it which windows |
| 6 | ; will show in the device manager. |
| 7 | |
| 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. |
| 13 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 14 | ; This file covers all options: pci-serial, pci-serial-2x, pci-serial-4x |
| 15 | ; for both 32 and 64 bit platforms. |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 16 | |
| 17 | [Version] |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 18 | Signature="$Windows NT$" |
| 19 | Class=MultiFunction |
| 20 | ClassGUID={4d36e971-e325-11ce-bfc1-08002be10318} |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 21 | Provider=%QEMU% |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 22 | DriverVer=12/29/2013,1.3.0 |
| 23 | [ControlFlags] |
| 24 | ExcludeFromSelect=* |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 25 | [Manufacturer] |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 26 | %QEMU%=QEMU,NTx86,NTAMD64 |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 27 | |
| 28 | [QEMU.NTx86] |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 29 | %QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002 |
| 30 | %QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003 |
| 31 | %QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004 |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 32 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 33 | [QEMU.NTAMD64] |
| 34 | %QEMU-PCI_SERIAL_1_PORT%=ComPort_inst1, PCI\VEN_1B36&DEV_0002 |
| 35 | %QEMU-PCI_SERIAL_2_PORT%=ComPort_inst2, PCI\VEN_1B36&DEV_0003 |
| 36 | %QEMU-PCI_SERIAL_4_PORT%=ComPort_inst4, PCI\VEN_1B36&DEV_0004 |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 37 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 38 | [ComPort_inst1] |
| 39 | Include=mf.inf |
| 40 | Needs=MFINSTALL.mf |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 41 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 42 | [ComPort_inst2] |
| 43 | Include=mf.inf |
| 44 | Needs=MFINSTALL.mf |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 45 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 46 | [ComPort_inst4] |
| 47 | Include=mf.inf |
| 48 | Needs=MFINSTALL.mf |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 49 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 50 | [ComPort_inst1.HW] |
| 51 | AddReg=ComPort_inst1.RegHW |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 52 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 53 | [ComPort_inst2.HW] |
| 54 | AddReg=ComPort_inst2.RegHW |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 55 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 56 | [ComPort_inst4.HW] |
| 57 | AddReg=ComPort_inst4.RegHW |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 58 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 59 | [ComPort_inst1.Services] |
| 60 | Include=mf.inf |
| 61 | Needs=MFINSTALL.mf.Services |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 62 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 63 | [ComPort_inst2.Services] |
| 64 | Include=mf.inf |
| 65 | Needs=MFINSTALL.mf.Services |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 66 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 67 | [ComPort_inst4.Services] |
| 68 | Include=mf.inf |
| 69 | Needs=MFINSTALL.mf.Services |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 70 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 71 | [ComPort_inst1.RegHW] |
| 72 | HKR,Child0000,HardwareID,,*PNP0501 |
| 73 | HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00 |
| 74 | HKR,Child0000,ResourceMap,1,02 |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 75 | |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 76 | [ComPort_inst2.RegHW] |
| 77 | HKR,Child0000,HardwareID,,*PNP0501 |
| 78 | HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00 |
| 79 | HKR,Child0000,ResourceMap,1,02 |
| 80 | HKR,Child0001,HardwareID,,*PNP0501 |
| 81 | HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00 |
| 82 | HKR,Child0001,ResourceMap,1,02 |
| 83 | |
| 84 | [ComPort_inst4.RegHW] |
| 85 | HKR,Child0000,HardwareID,,*PNP0501 |
| 86 | HKR,Child0000,VaryingResourceMap,1,00, 00,00,00,00, 08,00,00,00 |
| 87 | HKR,Child0000,ResourceMap,1,02 |
| 88 | HKR,Child0001,HardwareID,,*PNP0501 |
| 89 | HKR,Child0001,VaryingResourceMap,1,00, 08,00,00,00, 08,00,00,00 |
| 90 | HKR,Child0001,ResourceMap,1,02 |
| 91 | HKR,Child0002,HardwareID,,*PNP0501 |
| 92 | HKR,Child0002,VaryingResourceMap,1,00, 10,00,00,00, 08,00,00,00 |
| 93 | HKR,Child0002,ResourceMap,1,02 |
| 94 | HKR,Child0003,HardwareID,,*PNP0501 |
| 95 | HKR,Child0003,VaryingResourceMap,1,00, 18,00,00,00, 08,00,00,00 |
| 96 | HKR,Child0003,ResourceMap,1,02 |
Gerd Hoffmann | fe4f179 | 2012-10-17 09:54:21 +0200 | [diff] [blame] | 97 | |
| 98 | [Strings] |
| 99 | QEMU="QEMU" |
Miki Mishael | dc9528f | 2014-01-19 11:43:05 -0500 | [diff] [blame] | 100 | QEMU-PCI_SERIAL_1_PORT="1x QEMU PCI Serial Card" |
| 101 | QEMU-PCI_SERIAL_2_PORT="2x QEMU PCI Serial Card" |
| 102 | QEMU-PCI_SERIAL_4_PORT="4x QEMU PCI Serial Card" |