1

Topic: Emulation PCI of the device

All greetings! A question following.  under the project made for us card PCI. Anything especial, shared memory, base address registers, network interfaces. All as usual. But card delivery (physically a device) was postponed without day. For host application I already wrote the driver (the kernel unit) and library. But as the real piece of iron is not present, I can not all is high-grade . I.e. work flow from host application (library) at me such: (the driver is already loaded) 1) device initialization (there preparation of buffers, ports etc.) 2) record in the buffer (or registers) through DMA (on a card something there was read, it there did something, exposed user-defined interrupt) 3) I expect interruptions 4) waited, read the data (either from port, or from the buffer, or from registers) the Question: how  PCI the device? Well i.e. something that would answer me. As in PCI Subsystem each device has the tables of identification: VendorID, DeviceID and other slag. P.S. Or all the same to postpone, and to wait ? (Here all hogwash still that PM as  hinted that also  can be replaced, and will be other piece of iron.)

2

Re: Emulation PCI of the device

Hello, Dead Down, you wrote: > P.S. Or all the same to postpone, and to wait ? (Here all hogwash still that PM as  hinted that also  can be replaced, and will be other piece of iron.) to wait.

3

Re: Emulation PCI of the device

Hello, Dead Down, you wrote: > the Question: how  PCI the device? Well i.e. something that would answer me. As in PCI Subsystem each device has the tables of identification: VendorID, DeviceID and other slag. > P.S. Or all the same to postpone, and to wait ? (Here all hogwash still that PM as  hinted that also  can be replaced, and will be other piece of iron.) well value of such test is doubtful, because you will be  something not absolutely that will be actually. If me so would press, I a device  in QEMU, there not so that am a lot of examples, but is - Intel E1000, XHCI, and still a handful, but it, more likely because I am more line I do not know.

4

Re: Emulation PCI of the device

Hello, Dead Down, you wrote: > the Question: how  PCI the device? Well i.e. something that would answer me. > P.S. Or all the same to postpone, and to wait ? With the ready device you do not know as to understand, when each new version of an insertion changes, and here still  another. > Here all hogwash still that PM as  hinted that also  can be replaced, and will be other piece of iron. And what for he hinted? The programmer all the same anything makes cannot further. And if it  to it still blame that it did nothing. As they say, hint, do not hint, all the same you will receive .