On Thu, Aug 12, David Brownell wrote:
> On Thursday 12 August 2004 4:26 am, Olaf Hering wrote:
> > On Tue, Jun 15, David Brownell wrote:
> >
> > > Richard Curnow wrote:
> > > >
> > > >One problem I'm hitting is in EHCI, I was wondering if you had any ideas
> > > >as to what I could start looking at, annotating etc to debug this. The
> > > >problem seems to be here:
> > > >
> > > >static inline void list_del(struct list_head *entry)
> > > >{
> > > > __list_del(entry->prev, entry->next); <<<<<======= HERE
>
> As you may have noticed, there aren't many calls to list_del()
I tried this patch, it leads to a hard crash after 1 minute.
Very strange...
--- ./drivers/usb/host/ehci-q.c.kaputt 2004-08-31 14:21:51.794068000 +0200
+++ ./drivers/usb/host/ehci-q.c 2004-09-01 14:17:10.732679974 +0200
@@ -857,7 +857,7 @@ static struct ehci_qh *qh_append_tds (
*/
token = qtd->hw_token;
qtd->hw_token = HALT_BIT;
- wmb ();
+ mb ();
dummy = qh->dummy;
dma = dummy->qtd_dma;
@@ -878,7 +878,7 @@ static struct ehci_qh *qh_append_tds (
qtd->hw_next = QTD_NEXT (dma);
/* let the hc process these next qtds */
- wmb ();
+ mb ();
dummy->hw_token = token;
urb->hcpriv = qh_get (qh);
--
USB is for mice, FireWire is for men!
sUse lINUX ag, nÃRNBERG
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_idP47&alloc_id808&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel