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>
This commit is contained in:

committed by
Bartlomiej Zolnierkiewicz

parent
3789798923
commit
5d1d2f8c26
@@ -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
|
||||
|
Reference in New Issue
Block a user