logo       

Re: "iobase" pcmcia?: msg#00087

linux.bluez.devel

Subject: Re: "iobase" pcmcia?

Hi Abhay,

> i got the code of Bluetooth driver for the Anycom BlueCard (LSE039/LSE041)in
> this code and some other codes i have seen there is a parameter called
> "iobase "
> its being used in many palces like
> outb(0x08 | 0x20, iobase + 0x30);
> soem functions take it as argument but i dont know how we r getting a
> partcular address as nowhere its intialized to some address.
> i want to know what this address is? is it base address of io window? is the
> pcmcia memory is part of io memory? how we get a value for tha parameter
> "iobase"

this address comes from the CIS data of the PCMCIA card and is stored in
info->link.io.BasePort1 after configuration.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise