From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751319AbdAaJ4i (ORCPT ); Tue, 31 Jan 2017 04:56:38 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:64995 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750933AbdAaJ4Z (ORCPT ); Tue, 31 Jan 2017 04:56:25 -0500 Subject: Re: stmmac: GMAC_RGSMIIIS reports bogus values To: Alexey Brodkin References: <1478189833.4072.65.camel@synopsys.com> <1485369563.7117.81.camel@synopsys.com> <1485512586.2693.35.camel@synopsys.com> CC: "manabian@gmail.com" , "linux-kernel@vger.kernel.org" , "fabrice.gasnier@st.com" , "linux-snps-arc@lists.infradead.org" , "alexandre.torgue@gmail.com" , "preid@electromag.com.au" , "netdev@vger.kernel.org" , Vineet Gupta , "davem@davemloft.net" From: Giuseppe CAVALLARO Message-ID: <28d0ab2c-eb68-a520-e59a-83b15700fe44@st.com> Date: Tue, 31 Jan 2017 10:55:18 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <1485512586.2693.35.camel@synopsys.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.50] X-ClientProxiedBy: SFHDAG6NODE1.st.com (10.75.127.16) To SFHDAG4NODE1.st.com (10.75.127.10) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-01-31_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/27/2017 11:23 AM, Alexey Brodkin wrote: > That's why my initial proposal was to ignore whatever we read from this register > if we have MDIO bus instantiated already. sorry for my late reply, I agree with this approach, according to the HW and platform configuration the driver has to understand and then work to use either SMA or PCS module. Regards Peppe