This fixes the problem. Odd that it didn't reproduce for you. Should I send the patch to Greg, or will you?
Matt
On Sat, Feb 01, 2003 at 09:40:39PM -0800, David Brownell wrote:
> Matthew Dharm wrote:
> > On Sat, Feb 01, 2003 at 07:58:50PM -0800, David Brownell wrote:
> >
> >>No problem reproduces here for me.
> >
> >
> > This is interesting...
>
> Hmm try
>
> + /* not all host controllers use DMA (like the mainstream pci ones);
> + * they can use PIO (sl811) or be software over another transport.
> + */
> + dma = (dev->dev.dma_mask == 0);
>
> making that line in usb_sg_init() use "!= 0". (Untested, "seems right".)
>
> Most curious that it would seem to work for me.
>
> - Dave
>
>
--
Matthew Dharm Home: [EMAIL PROTECTED]
Maintainer, Linux USB Mass Storage Driver
You suck Stef.
-- Greg
User Friendly, 11/29/97
msg11213/pgp00000.pgp
Description: PGP signature
