Re: [PATCH/RFC 5/5] usb: Add support for streams alloc/dealloc to devio.c

From: Oliver Neukum
Date: Tue Jul 19 2011 - 06:24:26 EST


Am Dienstag, 19. Juli 2011, 12:07:39 schrieben Sie:

Hi,

> >> 1. Interface number [IN]
> >> 2. Bitmap indicating which EP to allocate streams for [IN]
> >
> > If this is a bitmap,
> >
> >> 3. Number of streams to allocate, one number [IN}
> >> 4. Number of streams actually allocated, one number [OUT]
> >
> > how can those be scalars?
> >
>
> The bitmap only indicates which EP the user space requests to allocate
> streams for. The actual number is taken from #3.

Exactly. If you specify EP with a bitmap, what do you do if multiple bits
are set in the map?

Regards
Oliver
--
- - -
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany
- - -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/