lkml.org 
[lkml]   [2017]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH net-next 0/2] Refactor lan9303_xxx_packet_processing
Date
First patch: 
Change lan9303_enable_packet_processing,
lan9303_disable_packet_processing():
Pass port number (0,1,2) as parameter instead of port offset.
Plus replaced a constant 0x400 with LAN9303_SWITCH_PORT_REG()

Second patch: Simplify accordingly.

Comments welcome!

Egil Hjelmeland (2):
net: dsa: lan9303: Refactor lan9303_xxx_packet_processing()
net: dsa: lan9303: Simplify lan9303_xxx_packet_processing() usage

drivers/net/dsa/lan9303-core.c | 73 ++++++++++++++++++++----------------------
1 file changed, 35 insertions(+), 38 deletions(-)

--
2.11.0

\
 
 \ /
  Last update: 2017-07-31 13:35    [W:0.078 / U:1.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site