From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCHv2 2/2] DM9000B: Fix PHY power for network down/up Date: Wed, 23 Feb 2011 14:30:13 -0800 (PST) Message-ID: <20110223.143013.246523171.davem@davemloft.net> References: <4D62D323.7010403@henry.nestler.mail.gmail.com> <20110222.102410.260079835.davem@davemloft.net> <4D642AC6.6050101@henry.nestler.mail.gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, akpm@linux-foundation.org, linux-arm-kernel@lists.infradead.org To: henry.nestler@gmail.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:59248 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932682Ab1BWW3h (ORCPT ); Wed, 23 Feb 2011 17:29:37 -0500 In-Reply-To: <4D642AC6.6050101@henry.nestler.mail.gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Henry Nestler Date: Tue, 22 Feb 2011 22:29:42 +0100 > DM9000 revision B needs 1 ms delay after PHY power-on. > PHY must be powered on by writing 0 into register DM9000_GPR before > all other settings will change (see Davicom spec and example code). > > Remember, that register DM9000_GPR was not changed by reset sequence. > > Without this fix the FIFO is out of sync and sends wrong data after > sequence of "ifconfig ethX down ; ifconfig ethX up". I've applied both of your patches, thanks.