devrequest needs to be DMA-able. Putting it on the stack will happen to
work for i386, but you shouldn't depend on it.
JE
On Sat, Sep 15, 2001, Matthew Dharm <[EMAIL PROTECTED]> wrote:
> Actually, looking at this.... does the devrequest structure need to be
> allocated in DMA-able memory? Could I get away with it being on the stack?
>
> Yes, I know that stack-allocated memory is DMA-able _now_, but it won't be
> in the future. I already violate that rule in several key places, but I'd
> like to be moving in the correct direction on this...
>
> Matt
>
> On Sat, Sep 15, 2001 at 11:43:34PM +0200, Oliver Neukum wrote:
> > Am Samstag, 15. September 2001 22:32 schrieben Sie:
> > > Um.... okay... I guess that's a problem.
> > >
> > > Not that I would recommend swapping over USB anyway....
> > >
> > > Suggestions for how to fix it?
> >
> > As this function blocks, could you not make the allocated memory part of the
> > device descriptor ?
> >
> > Regards
> > Oliver
>
> --
> Matthew Dharm Home: [EMAIL PROTECTED]
> Maintainer, Linux USB Mass Storage Driver
>
> Okay, this isn't funny anymore! Let me down! I'll tell Bill on you!!
> -- Microsoft Salesman
> User Friendly, 4/1/1998
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel