Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932338AbWEBAgo (ORCPT ); Mon, 1 May 2006 20:36:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932337AbWEBAgo (ORCPT ); Mon, 1 May 2006 20:36:44 -0400 Received: from pythagoras.zen.co.uk ([212.23.3.140]:13512 "EHLO pythagoras.zen.co.uk") by vger.kernel.org with ESMTP id S932335AbWEBAgn (ORCPT ); Mon, 1 May 2006 20:36:43 -0400 Message-ID: <4456A98E.9020108@cantab.net> Date: Tue, 02 May 2006 01:36:30 +0100 From: David Vrabel User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Lennert Buytenhek CC: Francois Romieu , Pekka Enberg , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, david@pleyades.net Subject: Re: IP1000 gigabit nic driver References: <84144f020604280358ie9990c7h399f4a5588e575f8@mail.gmail.com> <20060428113755.GA7419@fargo> <1146306567.1642.3.camel@localhost> <20060429122119.GA22160@fargo> <1146342905.11271.3.camel@localhost> <1146389171.11524.1.camel@localhost> <44554ADE.8030200@cantab.net> <4455F1D8.5030102@cantab.net> <20060501203847.GA7419@electric-eye.fr.zoreil.com> <20060501204150.GC1450@xi.wantstofly.org> In-Reply-To: <20060501204150.GC1450@xi.wantstofly.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Pythagoras-IP: [82.70.146.41] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 811 Lines: 25 Lennert Buytenhek wrote: > On Mon, May 01, 2006 at 10:38:47PM +0200, Francois Romieu wrote: > > >>>-/* Minimum number of miliseconds used to toggle MDC clock during >>>+/* Minimum number of nanoseconds used to toggle MDC clock during >>> * MII/GMII register access. >>> */ >>>-#define IPG_PC_PHYCTRLWAIT 0x01 >>>+#define IPG_PC_PHYCTRLWAIT_NS 200 >> >>I would have expected a cycle of 400 ns (p.72/77 of the datasheet) >>for a 2.5 MHz clock. Why is it cut by a two factor ? > > > 200 ns high + 200 ns low = 400 ns clock period? Yes. David - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/