On 12/10/07, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
Thanks for the pointers. I will look into implementing SPI support for these cards in a week or so. Ping me if you don't see any code/questions until then.
Here is the code for a simple mmap based interface to the card. You'll need to check lspci -v for the appropriate reg_addr and reg_len variables; the detection code is quite big to include...
You're looking for a block of non-prefetchable memory exactly 64K in size; this is from my card:
Memory at ff5f0000 (32-bit, non-prefetchable) [size=64K]