Re: [PATCH net-next 0/2] Refactor lan9303_xxx_packet_processing

2017-07-31 Thread Egil Hjelmeland
On 31. juli 2017 15:22, Andrew Lunn wrote: On Mon, Jul 31, 2017 at 01:33:53PM +0200, Egil Hjelmeland wrote: 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

Re: [PATCH net-next 0/2] Refactor lan9303_xxx_packet_processing

2017-07-31 Thread Andrew Lunn
On Mon, Jul 31, 2017 at 01:33:53PM +0200, Egil Hjelmeland wrote: > 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() Hi