Skip to contentSkip to conversation

cs5536: define dma_sff_read_status() method

PATCH New Sergei Shtylyov 1 participant 1 message May 5, 2009 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cs5536: define dma_sff_read_status() method

The driver somehow got merged with the initializer for the dma_sff_read_status() method missing which caused kernel panic on bootup.

This should fix the kernel.org bug #13026...

---
This patch is against 2.6.29.

 drivers/ide/cs5536.c |    1 +
 1 files changed, 1 insertion(+)
drivers/ide/cs5536.c +1 -0
Index: linux-2.6/drivers/ide/cs5536.c
===================================================================
@@ -237,6 +237,7 @@ static const struct ide_dma_ops cs5536_d
 	.dma_test_irq		= ide_dma_test_irq,
 	.dma_lost_irq		= ide_dma_lost_irq,
 	.dma_timeout		= ide_dma_timeout,
+	.dma_sff_read_status	= ide_dma_sff_read_status,
 };
 
 static const struct ide_port_info cs5536_info = {