sh: Consolidated SH7751/SH7780 PCI support.

This cleans up quite a lot of the PCI mess that we
currently have, and attempts to consolidate the
duplication in the SH7780 and SH7751 PCI controllers.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2006-09-27 16:43:28 +09:00
parent e108b2ca23
commit 959f85f8a3
37 changed files with 985 additions and 1521 deletions

View File

@@ -209,6 +209,11 @@ static inline void ctrl_outl(unsigned int b, unsigned long addr)
*(volatile unsigned long*)addr = b;
}
static inline void ctrl_delay(void)
{
ctrl_inw(P2SEG);
}
#define IO_SPACE_LIMIT 0xffffffff
/*