summaryrefslogtreecommitdiff
path: root/include/linux/ata_platform.h
diff options
context:
space:
mode:
authorSaeed Bishara <saeed@marvell.com>2008-02-01 18:08:03 -0500
committerJeff Garzik <jeff@garzik.org>2008-02-06 06:54:17 -0500
commitf351b2d638c3cb0b95adde3549b7bfaf3f991dfa (patch)
tree03d2e5b3fb84efcd96b8d32b349350b15469c327 /include/linux/ata_platform.h
parent0a87e3e92b299e0f1a69b36664ecde2fc296c40a (diff)
sata_mv: Support SoC controllers
Marvell's Orion SoC includes SATA controllers based on Marvell's PCI-to-SATA 88SX controllers. This patch extends the libATA sata_mv driver to support those controllers. [edited to use linux/ata_platform.h -jg] Signed-off-by: Saeed Bishara <saeed@marvell.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/ata_platform.h')
-rw-r--r--include/linux/ata_platform.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/linux/ata_platform.h b/include/linux/ata_platform.h
index 6a7a92db294c..b856a2a590d9 100644
--- a/include/linux/ata_platform.h
+++ b/include/linux/ata_platform.h
@@ -1,5 +1,5 @@
-#ifndef __LINUX_PATA_PLATFORM_H
-#define __LINUX_PATA_PLATFORM_H
+#ifndef __LINUX_ATA_PLATFORM_H
+#define __LINUX_ATA_PLATFORM_H
struct pata_platform_info {
/*
@@ -24,4 +24,11 @@ extern int __devinit __pata_platform_probe(struct device *dev,
extern int __devexit __pata_platform_remove(struct device *dev);
-#endif /* __LINUX_PATA_PLATFORM_H */
+/*
+ * Marvell SATA private data
+ */
+struct mv_sata_platform_data {
+ int n_ports; /* number of sata ports */
+};
+
+#endif /* __LINUX_ATA_PLATFORM_H */