[POWERPC] iSeries has no legacy I/O
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
This commit is contained in:
parent
3f639ee8c5
commit
80a544cebc
1 changed files with 10 additions and 0 deletions
|
@ -649,6 +649,15 @@ static void iseries_dedicated_idle(void)
|
||||||
void __init iSeries_init_IRQ(void) { }
|
void __init iSeries_init_IRQ(void) { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* iSeries has no legacy IO, anything calling this function has to
|
||||||
|
* fail or bad things will happen
|
||||||
|
*/
|
||||||
|
static int iseries_check_legacy_ioport(unsigned int baseport)
|
||||||
|
{
|
||||||
|
return -ENODEV;
|
||||||
|
}
|
||||||
|
|
||||||
static int __init iseries_probe(void)
|
static int __init iseries_probe(void)
|
||||||
{
|
{
|
||||||
unsigned long root = of_get_flat_dt_root();
|
unsigned long root = of_get_flat_dt_root();
|
||||||
|
@ -677,6 +686,7 @@ define_machine(iseries) {
|
||||||
.calibrate_decr = generic_calibrate_decr,
|
.calibrate_decr = generic_calibrate_decr,
|
||||||
.progress = iSeries_progress,
|
.progress = iSeries_progress,
|
||||||
.probe = iseries_probe,
|
.probe = iseries_probe,
|
||||||
|
.check_legacy_ioport = iseries_check_legacy_ioport,
|
||||||
/* XXX Implement enable_pmcs for iSeries */
|
/* XXX Implement enable_pmcs for iSeries */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue