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.)
↧