On Wed, 2004-09-08 at 00:18, Lothar Wassmann wrote:
> Hi,
> 
> On Tue, 7 Sep 2004,  Olav Kongas wrote:
> > On Tue, 7 Sep 2004, Dimitris Lampridis wrote:
> > 
> > > First of all, I'm not porting any existing driver. My opinion is that
> > > all drivers up to now are very "custom-made" and thus error-prone.
> > > I'm trying instead to write a new driver for 2.6 kernels that tries to
> > > imitate (long live Open Source) the behaviour of the OHCI driver.
> > 
> > Good to know, thank you.
> >
> That's interesting. I've already done the same for the SL811HS
> host controller (on a PXA255 machine). I just have released my kernel
> patches to the public. Now I'm working on a driver for the ISP1362
> which should be the same as the 1160 wrt the host controller
> funcionality. So, maybe we should join our efforts.
> 
Now, that's interesting :-) I'll use your patch and study your work, and
then we can see how to work together. What is the status of your work on
the ISP1362? 
I would say i'm half-way done but I'm really stuck. And two days ago,
something really weird happened, so if anybody has an idea, please help:

I'm using kernel-2.6.6 (today i'll compile 2.6.8). By studying the
sample code that came along with the evaluation board of the isp1160, i
discovered that the two ports that I needed to communicate with the chip
(the command and the data port) were located at PCI_RESOURCE #2 and
PCI_RES #2 + 2. So I used them and everything worked fine. 
At least everything used to work fine, because one day I removed a PCI
card from my computer (a scsi controller) that was sharing an IRQ (11)
with the evaluation board. Obviously, the pci resources changed but that
shouldn't be a problem, since I don't allocate my ports explicitly, but
rather by calling pci_request_region(pdev, 2, "name_of_hcd").
So my driver doesn't work at all for the moment, because it cannot do
any I/O!!! The worst of all is that the sample code of the board
(written for ...DOS!) still works and is able to communicate, by also
using pci_resource #2.
And I can't help but wonder: If my code remains the same,and the only
thing that has changed are the pci io addresses, and a code written for
DOS has no problem, WHAT IS WRONG WITH ME???
I'm sorry but this is really getting on me...

Dimitris Lampridis



-------------------------------------------------------
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