[POWERPC] Generic check_legacy_ioport
check_legacy_ioport makes only sense on PREP, CHRP and pSeries. They may have an isa node with PS/2, parport, floppy and serial ports. Remove the check_legacy_ioport call from ppc_md, it's not needed anymore. Hardware capabilities come from the device-tree. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:

committed by
Paul Mackerras

parent
8d2169e8d6
commit
8d8a0241eb
@@ -628,15 +628,6 @@ static void iseries_iounmap(volatile void __iomem *token)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* 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)
|
||||
{
|
||||
unsigned long root = of_get_flat_dt_root();
|
||||
@@ -667,7 +658,6 @@ define_machine(iseries) {
|
||||
.calibrate_decr = generic_calibrate_decr,
|
||||
.progress = iSeries_progress,
|
||||
.probe = iseries_probe,
|
||||
.check_legacy_ioport = iseries_check_legacy_ioport,
|
||||
.ioremap = iseries_ioremap,
|
||||
.iounmap = iseries_iounmap,
|
||||
/* XXX Implement enable_pmcs for iSeries */
|
||||
|
Reference in New Issue
Block a user