From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH #upstream-fixes] libata: implement and use HORKAGE_NOSETXFER, take#2 Date: Tue, 14 Jul 2009 22:43:48 -0400 Message-ID: <4A5D4264.6000205@garzik.org> References: <4A553986.7010206@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:46578 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbZGOCpl (ORCPT ); Tue, 14 Jul 2009 22:45:41 -0400 In-Reply-To: <4A553986.7010206@kernel.org> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Tejun Heo Cc: Alan Cox , ide , lars21ce@gmx.de, linux-ide@momail.e4ward.com, Robert Hancock , peter.klotz@aon.at, m.nov4k@gmail.com Tejun Heo wrote: > PIONEER DVD-RW DVRTD08 times out SETXFER if no media is present. The > device is SATA and simply skipping SETXFER works around the problem. > Implement ATA_HORKAGE_NOSETXFER and apply it to the device. > > Reported by Moritz Rigler in the following thread. > > http://thread.gmane.org/gmane.linux.ide/36790 > > and by Lars in bko#9540. > > Updated to whine and ignore NOSETXFER if PATA component is detected as > suggested by Alan Cox. > > Signed-off-by: Tejun Heo > Reported-by: Moritz Rigler > Reported-by: Lars > Cc: Alan Cox > --- > Comment also added. Thanks. > > drivers/ata/libata-core.c | 20 ++++++++++++++++++-- > include/linux/libata.h | 1 + applied