Re: [PATCH v3 1/3] net/usb/r815x: replace USB buffer from stack to DMA-able

From: Ming Lei
Date: Tue Jul 30 2013 - 10:29:34 EST


On Tue, Jul 30, 2013 at 4:28 PM, Hayes Wang <hayeswang@xxxxxxxxxxx> wrote:
> Allocate the transfer buffer in probe(), and use the buffer for
> usb control transfer.

Looks this is a usbnet device, so suggest to use usbnet command APIs
(usbnet_read_cmd/usbnet_write_cmd) to do that, another advantage is
you can avoid to access runtime-suspended device from ethtool.


Thanks,
--
Ming Lei
--
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/