On 12/11/07, Oliver McFadden <[EMAIL PROTECTED]> wrote: > On 12/10/07, Carl-Daniel Hailfinger <[EMAIL PROTECTED]> > 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]
I forgot to comment out the bogus register_write in that code, so anyone who wants to use it, first comment out the register_write. -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios