Skip to contentSkip to conversation

How to activate pata support of ata_piix in vanilla 2.6.18?

PATCH Elias Oltmanns 2 participants 2 messages Sep 28, 2006 libata

lore
Share & tools
lore
#0 lore 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---

include/linux/libata.h +1 -1
diff -Nur 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

#1 lore raw
Quoted 4 lines · Elias Oltmanns

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.

libata PATA support basically doesn't exist in 2.6.18. It's queued for 2.6.19 in torvalds/linux-2.6.git however.

Jeff