From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Subject: Re: [PATCH] gianfar: Wait for both RX and TX to stop Date: Tue, 20 Apr 2010 10:01:48 -0500 Message-ID: References: <1271632401-2472-1-git-send-email-afleming@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Andy Fleming , davem@davemloft.net, netdev@vger.kernel.org To: Kumar Gala Return-path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:36777 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750795Ab0DTPCT convert rfc822-to-8bit (ORCPT ); Tue, 20 Apr 2010 11:02:19 -0400 Received: by pva18 with SMTP id 18so3970917pva.19 for ; Tue, 20 Apr 2010 08:02:18 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Apr 19, 2010 at 11:43 PM, Kumar Gala wrote: > spin_event_timeout doesn't make sense for this. =A0The patch is fine. Can you please elaborate on that? I don't understand why you think that. spin_event_timeout() takes an expression and a timeout, and loops over the expression calling cpu_relax(), just like this loop does. --=20 Timur Tabi Linux kernel developer at Freescale