From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH 14/14] ahci: add softreset Date: Mon, 19 Dec 2005 01:40:04 -0500 Message-ID: <43A655C4.10300@pobox.com> References: <20051218133305.GA31571@htj.dyndns.org> <20051218135149.GO31571@htj.dyndns.org> <43A646C7.3050503@pobox.com> <43A64F5A.1010002@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail.dvmed.net ([216.237.124.58]:42885 "EHLO mail.dvmed.net") by vger.kernel.org with ESMTP id S965252AbVLSGkM (ORCPT ); Mon, 19 Dec 2005 01:40:12 -0500 In-Reply-To: <43A64F5A.1010002@gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: albertcc@tw.ibm.com, liml@rtr.ca, linux-ide@vger.kernel.org Tejun Heo wrote: > Jeff Garzik wrote: > >> Tejun Heo wrote: >> >>> Now that libata is smart enought to handle both soft and hard resets, >>> add softreset method. >> >> >> >> I'm a bit skeptical that polling is what should be done here. SATA is >> inherently event-driven... >> > > Well, I'm a bit skeptical the other way around. :-) > > What benefits would making softreset event-driven bring? The underlying operations are inherently event-driven, as I stated above. You send a packet, wait for the ACK. Send another packet. Wait for the ACK. Jeff