Hello all
we have a 16-bit pcmcia card that has 2 memory windows - one Attribute
and one Common memory. Attribute memory is 8-bit access whereas common
memory is 16 bit. Access time reported in the tuples is 200ns. All
memory window accesses are done using a "mapped" memory window
(returned using MmMapIoSpace)
If the driver uses the PCMCIA_INTERFACE_STANDARD->ModifyMemoryWindow
command to change the common memory access timing and also set the
common memory window access to 16bit -things seems to speed up ~2X.
However the common memory accesses still dont seem to be "truly"
16-bit as per the hardware engineer who reports seeing 2 8-bit
accesses.
Further, the speed improvement is only seen in XP platforms but not on
Server2003 platforms. I did try the debug pcmcia.sys and WinDbg to see
if any additional information regarding the accesses was printed ..
but nothing stood out.
So my question is :
1. What if anything does PCMCIA.sys do with the AccessTime reported in
the device tuples (if no ModifyMemoryWindow is called or the inf
changed to report 16-bit Common memory window).
2. What does ModifyMemory window do with regard to -
a. pcmcia.sys behavior
b. PCMCIA Adapter driver/hardware
3. Why do we not see the same performance improvement with Server2003
platforms ?
4. Is there a way to guarantee the card access time to be close to the
200ns that we need ?
Thanks in advance
--rr