Skip to contentSkip to conversation

libata fixes

PATCH New Jeff Garzik 1 participant 1 message Oct 18, 2007 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libata fixes

Well, the new driver is not a fix.

Anyway -- still plugging away at debugging libata. It seems some outside changes are causing a bunch of my test boxes to crap themselves. These need to go up in the meantime, however.

Maybe its the sg-chaining stuff, we'll see. I'm watching that thread closely (after recovering from an email outage).

Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev.git upstream-linus

to receive the following updates:

 drivers/ata/Kconfig      |   16 +-
 drivers/ata/Makefile     |    1 +
 drivers/ata/libata-sff.c |    2 +-
 drivers/ata/pata_acpi.c  |    2 +
 drivers/ata/pata_bf54x.c |   77 ++--
 drivers/ata/sata_fsl.c   | 1490 ++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 1540 insertions(+), 48 deletions(-)
 create mode 100644 drivers/ata/sata_fsl.c

Alan Cox (1):
libata-sff: Correct use of check_status()

Li Yang (1):
drivers/ata: add support to Freescale 3.0Gbps SATA Controller

Sonic Zhang (1):
Update libata driver for bf548 atapi controller against the 2.6.24 tree.

Tejun Heo (1):
pata_acpi: fix build breakage if !CONFIG_PM

drivers/ata/Kconfig +9 -7
index 33f5eb0..ba63619 100644
@@ -182,6 +182,15 @@ config PATA_ACPI
 	  firmware in the BIOS. This driver can sometimes handle
 	  otherwise unsupported hardware.
 
+config SATA_FSL
+	tristate "Freescale 3.0Gbps SATA support"
+	depends on PPC_MPC837x
+	help
+	  This option enables support for Freescale 3.0Gbps SATA controller.
+	  It can be found on MPC837x and MPC8315.
+
+	  If unsure, say N.
+
 config PATA_ALI
 	tristate "ALi PATA support (Experimental)"
 	depends on PCI && EXPERIMENTAL
@@ -641,11 +650,4 @@ config PATA_BF54X
 
 	  If unsure, say N.
 
-config PATA_BF54X_DMA
-	bool "DMA mode"
-	depends on PATA_BF54X
-	default y
-	help
-	  Enable DMA mode for Blackfin ATAPI controller.
-
 endif # ATA
drivers/ata/Makefile +1 -0
index 6bdc307..b13feb2 100644
@@ -17,6 +17,7 @@ obj-$(CONFIG_SATA_ULI)		+= sata_uli.o
 obj-$(CONFIG_SATA_MV)		+= sata_mv.o
 obj-$(CONFIG_SATA_INIC162X)	+= sata_inic162x.o
 obj-$(CONFIG_PDC_ADMA)		+= pdc_adma.o
+obj-$(CONFIG_SATA_FSL)		+= sata_fsl.o
 
 obj-$(CONFIG_PATA_ALI)		+= pata_ali.o
 obj-$(CONFIG_PATA_AMD)		+= pata_amd.o
drivers/ata/libata-sff.c +1 -1
index 026439e..1232dcb 100644
@@ -156,7 +156,7 @@ void ata_tf_read(struct ata_port *ap, struct ata_taskfile *tf)
 {
 	struct ata_ioports *ioaddr = &ap->ioaddr;
 
-	tf->command = ata_check_status(ap);
+	tf->command = ata_chk_status(ap);
 	tf->feature = ioread8(ioaddr->error_addr);
 	tf->nsect = ioread8(ioaddr->nsect_addr);
 	tf->lbal = ioread8(ioaddr->lbal_addr);
drivers/ata/pata_acpi.c +2 -0
index 5d3920f..0f6f7bc 100644
@@ -370,8 +370,10 @@ static struct pci_driver pacpi_pci_driver = {
 	.id_table		= pacpi_pci_tbl,
 	.probe			= pacpi_init_one,
 	.remove			= ata_pci_remove_one,
+#ifdef CONFIG_PM
 	.suspend		= ata_pci_device_suspend,
 	.resume			= ata_pci_device_resume,
+#endif
 };
 
 static int __init pacpi_init(void)
drivers/ata/pata_bf54x.c +37 -40

155 lines not on this page · raw message

drivers/ata/sata_fsl.c new file +1490 -0

1,490 lines not on this page · raw message