[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180124.181126.1573479768859874669.davem@davemloft.net>
Date: Wed, 24 Jan 2018 18:11:26 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ivan@...ibm.com
Cc: chunkeey@...glemail.com, robh@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] net/ibm/emac: wrong bit is used for STA control
register write
From: Ivan Mikhaylov <ivan@...ibm.com>
Date: Wed, 24 Jan 2018 15:53:25 +0300
> STA control register has areas of mode and opcodes for opeations. 18 bit is
> using for mode selection, where 0 is old MIO/MDIO access method and 1 is
> indirect access mode. 19-20 bits are using for setting up read/write
> operation(STA opcodes). In current state 'read' is set into old MIO/MDIO mode
> with 19 bit and write operation is set into 18 bit which is mode selection,
> not a write operation. To correlate write with read we set it into 20 bit.
> All those bit operations are MSB 0 based.
>
> Signed-off-by: Ivan Mikhaylov <ivan@...ibm.com>
Applied.
Powered by blists - more mailing lists