Hi,

Dimitris Lampridis writes:
> Yes, but from what I've seen in your code, there is a Memory I/O region
> that you ioremap to dev->data_reg and dev->addr_reg. In my case, there
> is an I/O port (let's say for example address 0x200) and I must do:
> data_reg=0x200, addr_reg=data_reg + 2. Is there a way I can map them too
> to a memory region? 
>
The PXA processor doesn't have something like I/O address space.
As far as I understand your device is a real PCI device. So you
probably wouldn't use a platform_device as base, but a pci_dev.
You should have a look at drivers/usb/core/hcd-pci.c. That's where
part of my code in ohci-sl811.c comes from. ;)



Lothar Wassmann


-------------------------------------------------------
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. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to