Re: [PATCH net-next v2 5/5] r8169: support RTL8411

From: Francois Romieu
Date: Thu Mar 29 2012 - 05:15:24 EST


Hayes Wang <hayeswang@xxxxxxxxxxx> :
> Support the new chip RTL8411.
>
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>
> ---
> drivers/net/ethernet/realtek/r8169.c | 142 +++++++++++++++++++++++++++++++++-
> 1 files changed, 139 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
> index cde5cea..d00f4e9 100644
> --- a/drivers/net/ethernet/realtek/r8169.c
> +++ b/drivers/net/ethernet/realtek/r8169.c
[...]
> @@ -250,7 +252,10 @@ static const struct {
> JUMBO_9K, false),
> [RTL_GIGA_MAC_VER_37] =
> _R("RTL8402", RTL_TD_1, FIRMWARE_8402_1,
> - JUMBO_1K, true)
> + JUMBO_1K, true),
> + [RTL_GIGA_MAC_VER_38] =
> + _R("RTL8411", RTL_TD_1, FIRMWARE_8411_1,
> + JUMBO_9K, false)

rtl_init_jumbo_ops probably needs to be updated as well.

Nit: please keep a colon in 'JUMBO_9K, false),'.
^
There was one after the (not so) last record before patch 03/05 and I would
prefer it to stay because new devices are regularly added. The '-' line is
only noise.

Thanks.

--
Ueimor
--
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/