diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-10-23 23:22:08 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-23 23:22:08 +0200 |
commit | 5d1d2f8c26f2d197df1f4b6a7f4c0088b190343e (patch) | |
tree | 7afc785b49f604111c6ebc78ec68208cee22abbb /arch/mips/include/asm | |
parent | 37897989232e6533772b0e24369b35ee9f56c8b6 (diff) | |
download | kernel_samsung_smdk4412-5d1d2f8c26f2d197df1f4b6a7f4c0088b190343e.zip kernel_samsung_smdk4412-5d1d2f8c26f2d197df1f4b6a7f4c0088b190343e.tar.gz kernel_samsung_smdk4412-5d1d2f8c26f2d197df1f4b6a7f4c0088b190343e.tar.bz2 |
TXx9: Add TX4938 ATA support (v3)
Add a helper routine to register tx4938ide driver and use it on
RBTX4938 board.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/txx9/tx4938.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/include/asm/txx9/tx4938.h b/arch/mips/include/asm/txx9/tx4938.h index 989e775..0b06815 100644 --- a/arch/mips/include/asm/txx9/tx4938.h +++ b/arch/mips/include/asm/txx9/tx4938.h @@ -292,4 +292,17 @@ void tx4938_setup_pcierr_irq(void); void tx4938_irq_init(void); void tx4938_mtd_init(int ch); +struct tx4938ide_platform_info { + /* + * I/O port shift, for platforms with ports that are + * constantly spaced and need larger than the 1-byte + * spacing used by ata_std_ports(). + */ + unsigned int ioport_shift; + unsigned int gbus_clock; /* 0 means no PIO mode tuning. */ + unsigned int ebus_ch; +}; + +void tx4938_ata_init(unsigned int irq, unsigned int shift, int tune); + #endif |