Activate MSI for Child Devices with mf.inf

I am trying to write Windows driver of 8 UART 16550 ports implemented in FPGA. FPGA uses MSI with 8 separate vectors. I am trying to write my driver's inf file using mf.sys but I could not manage that. Each UART port has 0x1000 offset to each other.
Here is the INF file of the implementation of 2 UARTs.
[Version]
Signature="$WINDOWS NT$"
Class=MultiPortSerial
ClassGuid={50906CB8-BA12-11D1-BF5D-0000F805F530}
Provider=%ManufacturerName%
CatalogFile=fpgaDrv.cat
DriverVer= ; TODO: set DriverVer in stampinf property pages
PnpLockdown=1

[ControlFlags]
ExcludeFromSelect=*

[fpgaDrv_Device]
;CopyFiles=Drivers_Dir
Include = mf.inf
Needs = MFINSTALL.mf

[fpgaDrv_Device.Services]
Include = mf.inf
Needs = MFINSTALL.mf.Services

[fpgaDrv_Device.HW]
AddReg = fpgaDrv_Device_addreg

[fpgaDrv_Device_addreg]
HKR,Interrupt Management,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,,0x00000010
HKR,Interrupt Management\MessageSignaledInterruptProperties,MSISupported,0x00010001,8
HKR, Interrupt Management\MessageSignaledInterruptProperties, MessageNumberLimit, 0x00010001, 8

HKR,Child00,HardwareID,,DDY\UART16551
HKR,Child00,ResourceMap,1,X
HKR,Child00,VaryingResourceMap,1,00, 00,10,00,00, 00,10,00,00

HKR,Child01,HardwareID,,DDY\UART16552
HKR,Child01,ResourceMap,1,X
HKR,Child01,VaryingResourceMap,1,00, 00,20,00,00, 00,10,00,00

I am using varyingresourcemap for memory. I cannot figure out which number to write for ResourceMap value.
What is wrong with this INF file? Thanks,

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.