How to activate pata support of ata_piix in vanilla 2.6.18?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux