mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
0a87e3e92b
commit
f351b2d638
2 changed files with 330 additions and 48 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue