From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752633AbXCEEKQ (ORCPT ); Sun, 4 Mar 2007 23:10:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752632AbXCEEKP (ORCPT ); Sun, 4 Mar 2007 23:10:15 -0500 Received: from nz-out-0506.google.com ([64.233.162.226]:39988 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752630AbXCEEKN (ORCPT ); Sun, 4 Mar 2007 23:10:13 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; b=N3cfzdt7v7yRpDfR3RTEouQE72yTIJ7NNX8W8G2+EOs3deKzOFhWrHEXnm3+WYls9iBKp8gC1WTMhwICtA3Ppsao5XM8sSPx5WtXXBpe4bsdppdywRcgqY/eNGi1OyT6/jC0WOZrYQ+76jkO77dYwwryefbRbTKYOm4rYzibBUg= Message-ID: <45EB9822.40300@gmail.com> Date: Mon, 05 Mar 2007 13:10:10 +0900 From: Tejun Heo User-Agent: Icedove 1.5.0.9 (X11/20061220) MIME-Version: 1.0 To: linux-ide@vger.kernel.org, Linux Kernel Mailing List Subject: Re: [PATA] Failed to set xfermode on LITE-ON LTR-48246S References: <20070227135838.GA4328@titan.lahn.de> In-Reply-To: <20070227135838.GA4328@titan.lahn.de> X-Enigmail-Version: 0.94.2.0 Content-Type: multipart/mixed; boundary="------------020905040601020300000706" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------020905040601020300000706 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Philipp Matthias Hahn wrote: > Hello! > > As reported by John Williams and others like in > http://www.mail-archive.com/linux-ide@vger.kernel.org/msg03088.html > I too have a problem with 2.6.20.1 using ata_piix not detecting the > CD-ROM any more. Applying the patch from > http://lkml.org/lkml/2007/2/12/24 did not help, but additionally > applying > http://readlist.com/lists/vger.kernel.org/linux-kernel/45/228948.html > made it work. Here's the relevant extra debugging output: * Did it work with previous kernels? * Does applying the attached patch over unpatched 2.6.20.1 fix the problem? -- tejun --------------020905040601020300000706 Content-Type: text/x-patch; name="ata_piix-polling-xfer.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ata_piix-polling-xfer.patch" diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index dc42ba1..78e6ac5 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c @@ -105,8 +105,10 @@ enum { PIIX_FLAG_AHCI = (1 << 27), /* AHCI possible */ PIIX_FLAG_CHECKINTR = (1 << 28), /* make sure PCI INTx enabled */ - PIIX_PATA_FLAGS = ATA_FLAG_SLAVE_POSS, - PIIX_SATA_FLAGS = ATA_FLAG_SATA | PIIX_FLAG_CHECKINTR, + PIIX_PATA_FLAGS = ATA_FLAG_SLAVE_POSS | + ATA_FLAG_SETXFER_POLLING, + PIIX_SATA_FLAGS = ATA_FLAG_SATA | PIIX_FLAG_CHECKINTR | + ATA_FLAG_SETXFER_POLLING, /* combined mode. if set, PATA is channel 0. * if clear, PATA is channel 1. --------------020905040601020300000706--