linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Elias Oltmanns <oltmanns@uni-bonn.de>
To: linux-ide@vger.kernel.org
Subject: How to activate pata support of ata_piix in vanilla 2.6.18?
Date: Thu, 28 Sep 2006 14:11:46 +0200	[thread overview]
Message-ID: <87slicw5q5.fsf@denkblock.local> (raw)

Hi all,

sorry for bothering you with an ordinary user question.

Although I've applied the mini patch shown below to vanilla 2.6.18,
ata_piix apparently couldn't handle my hard drive on an IBM X40 with
ICH4-M chipset.

--8<---------------cut here---------------start------------->8---
diff -Nur linux-2.6.18/include/linux/libata.h linux/include/linux/libata.h
--- linux-2.6.18/include/linux/libata.h
+++ linux/include/linux/libata.h
@@ -44,7 +44,7 @@
 #undef ATA_VERBOSE_DEBUG	/* yet more debugging output */
 #undef ATA_IRQ_TRAP		/* define to ack screaming irqs */
 #undef ATA_NDEBUG		/* define to disable quick runtime checks */
-#undef ATA_ENABLE_PATA		/* define to enable PATA support in some
+#define ATA_ENABLE_PATA	/* define to enable PATA support in some
 				 * low-level drivers */
 
 
--8<---------------cut here---------------end--------------->8---

A git checkout of libata-dev.git worked out of the
box. My question is whether pata support in ata_piix was intentionally
not included in mainline as of 2.6.18 (even when ATA_ENABLE_PATA is
set), or if there may be a bug.

Regards,

Elias

             reply	other threads:[~2006-09-28 12:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-28 12:11 Elias Oltmanns [this message]
2006-09-28 12:27 ` How to activate pata support of ata_piix in vanilla 2.6.18? Jeff Garzik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87slicw5q5.fsf@denkblock.local \
    --to=oltmanns@uni-bonn.de \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).