qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

qemupciserial.inf (3016B)


      1 ; qemupciserial.inf for QEMU, based on MSPORTS.INF
      2 
      3 ; The driver itself is shipped with Windows (serial.sys).  This is
      4 ; just an 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.
      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 
     14 ; This file covers all options: pci-serial, pci-serial-2x, pci-serial-4x
     15 ; for both 32 and 64 bit platforms.
     16 
     17 [Version]
     18 Signature="$Windows NT$"
     19 Class=MultiFunction
     20 ClassGUID={4d36e971-e325-11ce-bfc1-08002be10318}
     21 Provider=%QEMU%
     22 DriverVer=12/29/2013,1.3.0
     23 [ControlFlags]
     24 ExcludeFromSelect=*
     25 [Manufacturer]
     26 %QEMU%=QEMU,NTx86,NTAMD64
     27 
     28 [QEMU.NTx86]
     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
     32 
     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
     37 
     38 [ComPort_inst1]
     39 Include=mf.inf
     40 Needs=MFINSTALL.mf
     41 
     42 [ComPort_inst2]
     43 Include=mf.inf
     44 Needs=MFINSTALL.mf
     45 
     46 [ComPort_inst4]
     47 Include=mf.inf
     48 Needs=MFINSTALL.mf
     49 
     50 [ComPort_inst1.HW]
     51 AddReg=ComPort_inst1.RegHW
     52 
     53 [ComPort_inst2.HW]
     54 AddReg=ComPort_inst2.RegHW
     55 
     56 [ComPort_inst4.HW]
     57 AddReg=ComPort_inst4.RegHW
     58 
     59 [ComPort_inst1.Services]
     60 Include=mf.inf
     61 Needs=MFINSTALL.mf.Services
     62 
     63 [ComPort_inst2.Services]
     64 Include=mf.inf
     65 Needs=MFINSTALL.mf.Services
     66 
     67 [ComPort_inst4.Services]
     68 Include=mf.inf
     69 Needs=MFINSTALL.mf.Services
     70 
     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
     75 
     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
     97 
     98 [Strings]
     99 QEMU="QEMU"
    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"