Quote:
Originally Posted by Antartica
AFAIK, ConpactFash works as the old ISA cards, not as the PCI and derivative cards. That means that there is no plug-and-play, so you cannot query the card in an standarized way to get the mapped memory regions or the io ports.
You will have to read the programming manuals for the card on how to probe the different possible locations for mem and io.
In the driver code you register the found locations against Linux and only then they will appear in the /proc/ files you mention.
P.S.: there is a cardbus interface or something similar (card services), but I've not looked at them. Perhaps it can convey some information about the recently plugged card...
|
Hi Antartica,
Thank you very much for your advice. I'm probing on the memory region of ISA (from 0xA0000 to 0x100000). But I don't have any programming manual of my Haicom GPS card and CF slot on Iliad for finding exactly where it's. This is first time I write program communicate to hardware. Could you please give me some advices?