On Thu, 2013-08-08 at 21:48 +0800, Ming Lei wrote:
> This patch introduces support of DMA SG if the USB host controller
> which usbnet device is attached to is capable of building packet from
> discontinuous buffers.


> diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h
> index 8fbc008..9cb2fe8 100644
> --- a/include/linux/usb/usbnet.h
> +++ b/include/linux/usb/usbnet.h
> @@ -35,6 +35,7 @@ struct usbnet {
>       unsigned char           suspend_count;
>       unsigned char           pkt_cnt, pkt_err;
>       unsigned short          rx_qlen, tx_qlen;
> +     unsigned                can_dma_sg:1;

We try to use "unsigned int" instead of plain "unsigned", but its a
minor point and should not block your patches.

Apart from this :

Reviewed-by: Eric Dumazet <[email protected]>


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to