Skip to contentSkip to conversation

"iobase" pcmcia?

Bluez-devel abhay b 2 participants 2 messages Sep 22, 2004 Bluetooth drivers

lore
Share & tools
lore

abhay b

author
#0 lore raw


hi 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" thanks
abhay

maintainer
#1 lore raw

Hi Abhay,

Quoted 5 lines

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
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel