[rt2x00-users] [PATCH v2 1/2] rt2x00: move extra_tx_headroom field from rt2x00_ops to rt2x00_dev

Stanislaw Gruszka sgruszka at redhat.com
Fri Jun 7 21:18:50 AEST 2013


On Thu, Jun 06, 2013 at 09:36:19AM +0200, Gabor Juhos wrote:
> The extra_tx_headroom field of struct rt2x00_ops
> indicates the extra TX headroom size required for
> a given device. This data is redundant, the value
> can be computed from the desc_size and winfo_size
> fields of the TX queues.
> 
> Move the extra_tx_headroom field to struct rt2x00_dev,
> compute its value in the probe routine and use the
> cached value in the rest of the code.
> 
> Signed-off-by: Gabor Juhos <juhosg at openwrt.org>
> ---
> v2:
>   - remove the callbacks and compute the extra_tx_headroom
>     value from winfo_size and desc_size instead
>   - change subject

Thanks. For series:

Acked-by: Stanislaw Gruszka <sgruszka at redhat.com>





More information about the users mailing list