Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1260540 > unrolled thread

[RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup

Started byNeil Armstrong <narmstrong@baylibre.com>
First post2015-11-02 12:00 +0100
Last post2015-11-03 17:30 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup Neil Armstrong <narmstrong@baylibre.com> - 2015-11-02 12:00 +0100
    Re: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix  setup Andrew Lunn <andrew@lunn.ch> - 2015-11-02 16:00 +0100
    Re: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix  setup Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2015-11-02 16:50 +0100
      Re: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix  setup Neil Armstrong <narmstrong@baylibre.com> - 2015-11-03 17:30 +0100

#1260540 — [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup

FromNeil Armstrong <narmstrong@baylibre.com>
Date2015-11-02 12:00 +0100
Subject[RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup
Message-ID<qql0f-4in-35@gated-at.bofh.it>
This patchset introduces somes fixes and a registers addressing cleanup for
the mv88e6060 DSA driver.

The first patch removes the poll_link as mv88e6xxx.
The 3 following patchs fixes the setup in regards of the datasheet.
The 2 last patches introduces a clean header and replaces all magic values.

Neil Armstrong (6):
  net: dsa: mv88e6060: remove poll_link callback
  net: dsa: mv88e6060: use the correct InitReady bit
  net: dsa: mv88e6060: use the correct MaxFrameSize bit
  net: dsa: mv88e6060: use the correct bit shift for mac0
  net: dsa: mv88e6060: add register defines header file
  net: dsa: mv88e6060: replace magic values with register defines

 drivers/net/dsa/mv88e6060.c | 114 +++++++++++++++-----------------------------
 drivers/net/dsa/mv88e6060.h | 108 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 146 insertions(+), 76 deletions(-)
 create mode 100644 drivers/net/dsa/mv88e6060.h

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1260696 — Re: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup

FromAndrew Lunn <andrew@lunn.ch>
Date2015-11-02 16:00 +0100
SubjectRe: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup
Message-ID<qqoKu-6yI-13@gated-at.bofh.it>
In reply to#1260540
On Mon, Nov 02, 2015 at 11:57:01AM +0100, Neil Armstrong wrote:
> This patchset introduces somes fixes and a registers addressing cleanup for
> the mv88e6060 DSA driver.
> 
> The first patch removes the poll_link as mv88e6xxx.
> The 3 following patchs fixes the setup in regards of the datasheet.
> The 2 last patches introduces a clean header and replaces all magic values.

Hi Neil

Nice patchset. Once you have fixed Sergei's comment, it looks good to
go.

Acked-by: Andrew Lunn <andrew@lunn.ch>

	  Andrew
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1260741 — Re: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup

FromVivien Didelot <vivien.didelot@savoirfairelinux.com>
Date2015-11-02 16:50 +0100
SubjectRe: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup
Message-ID<qqpwS-745-23@gated-at.bofh.it>
In reply to#1260540
Hi Neil,

On Nov. Monday 02 (45) 11:57 AM, Neil Armstrong wrote:
> This patchset introduces somes fixes and a registers addressing cleanup for
> the mv88e6060 DSA driver.
> 
> The first patch removes the poll_link as mv88e6xxx.
> The 3 following patchs fixes the setup in regards of the datasheet.
> The 2 last patches introduces a clean header and replaces all magic values.
> 
> Neil Armstrong (6):
>   net: dsa: mv88e6060: remove poll_link callback
>   net: dsa: mv88e6060: use the correct InitReady bit
>   net: dsa: mv88e6060: use the correct MaxFrameSize bit
>   net: dsa: mv88e6060: use the correct bit shift for mac0
>   net: dsa: mv88e6060: add register defines header file
>   net: dsa: mv88e6060: replace magic values with register defines

Nice cleanup. I'll just be a bit picky here, so you may not consider my
comment for this patchset, but maybe for the future ones. Unless I'm
mistaken, there is no reason to group all these patches together.

The first 4 patches are independent fixes, and thus could have been sent
separately to netdev -net.

Then the last 2 ones could have been squashed together, because I don't
see a real value to seperate them since you duplicate some defines, e.g.
REG_PORT. And this patch would be a candidate for netdev -net-next.

Thanks,
-v
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1261692 — Re: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup

FromNeil Armstrong <narmstrong@baylibre.com>
Date2015-11-03 17:30 +0100
SubjectRe: [RFC PATCH net-next 0/6] net: dsa: mv88e6060: cleanup and fix setup
Message-ID<qqMD8-5cu-17@gated-at.bofh.it>
In reply to#1260741
On 11/02/2015 04:41 PM, Vivien Didelot wrote:
> Hi Neil,
> 
> Nice cleanup. I'll just be a bit picky here, so you may not consider my
> comment for this patchset, but maybe for the future ones. Unless I'm
> mistaken, there is no reason to group all these patches together.
> 
> The first 4 patches are independent fixes, and thus could have been sent
> separately to netdev -net.
> 
> Then the last 2 ones could have been squashed together, because I don't
> see a real value to seperate them since you duplicate some defines, e.g.
> REG_PORT. And this patch would be a candidate for netdev -net-next.
> 
> Thanks,
> -v
> 
Hi Vivien,

I understand your point of view, and it really makes sense.

But the first patch has a dependency on the DSA cleanup patchset, so
if I follow your point, I should submit 3 patchsets with a single
patchset for the poll_link complete removal. But the two other
patchsets will have a strong dependency on the poll_link removal...

This question is on which version of mv88e6060 and dsa should I base
the cleanup patchset ? before of after the poll_link removal ?

For the fixes, they are not critical at all, net-next would be enough.

Any advice is welcome at this point....

Thanks !

Neil
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web