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


Groups > linux.kernel > #1398534

Re: [PATCH net-next 1/2] net: dsa: mv88e6xxx: abstract VTU/STU data access

From Andrew Lunn <andrew@lunn.ch>
Newsgroups linux.kernel
Subject Re: [PATCH net-next 1/2] net: dsa: mv88e6xxx: abstract VTU/STU data access
Date 2016-05-10 23:30 +0200
Message-ID <rxno6-2p2-9@gated-at.bofh.it> (permalink)
References <rxlPk-Q2-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, May 10, 2016 at 03:44:28PM -0400, Vivien Didelot wrote:
> Both VTU and STU operations use the same routine to access their
> (common) data registers, with a different offset.
> 
> Add VTU and STU specific read and write functions to the data registers
> to abstract the required offset.
> 
> Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Hi Vivien

Improves the readability.

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

Thanks
	Andrew

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 1/2] net: dsa: mv88e6xxx: abstract VTU/STU data access Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-05-10 21:50 +0200
  Re: [PATCH net-next 1/2] net: dsa: mv88e6xxx: abstract VTU/STU data  access Andrew Lunn <andrew@lunn.ch> - 2016-05-10 23:30 +0200
  Re: [PATCH net-next 1/2] net: dsa: mv88e6xxx: abstract VTU/STU  data access David Miller <davem@davemloft.net> - 2016-05-12 01:40 +0200

csiph-web