[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Final patch for -current
- To: Ganbold <ganbold_(_at_)_micom_(_dot_)_mng_(_dot_)_net>
- Subject: Re: Final patch for -current
- From: Sean Bruno <sean_(_dot_)_bruno_(_at_)_dsl-only_(_dot_)_net>
- Date: Thu, 12 Feb 2009 09:04:51 -0800
- Cc: scottl_(_at_)_freebsd_(_dot_)_org, freebsd-firewire_(_at_)_FreeBSD_(_dot_)_org
On Thu, 2009-02-12 at 22:28 +0800, Ganbold wrote:
> Sean,
>
> How about following redundant loop near the end of fwohci.c?
>
> --- sys/dev/firewire/fwohci.c 2008-11-22 14:39:45.000000000 +0800
> +++ /var/current/mysrc/sys/dev/firewire/fwohci.c 2008-11-25 11:36:09.000000000 +0800
> @@ -2973,7 +2973,7 @@
> db_tr = STAILQ_NEXT(db_tr, link);
> resCount = FWOHCI_DMA_READ(db_tr->db[0].db.desc.res)
> & OHCI_COUNT_MASK;
> - } while (resCount == 0)
> + }
> printf(" done\n");
> dbch->top = db_tr;
> dbch->buf_offset = dbch->xferq.psize - resCount;
>
> thanks,
>
> Ganbold
Yep. That should die. Let me test it.
Sean
_______________________________________________
freebsd-firewire_(_at_)_freebsd_(_dot_)_org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-firewire
To unsubscribe, send any mail to "freebsd-firewire-unsubscribe_(_at_)_freebsd_(_dot_)_org"
Visit your host, monkey.org