Reason for PIO_MASK?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In arch/mips/lib/iomap.c  there's this "#define PIO_MASK 0x0ffff"
which limits the ability to successfully call ioport_map() to the
first 64kB.  This causes pata_pcmcia to error out on CF card
probe because devm_ioport_map() is called with the remapped
PCMCIA IO area, which is somewhere in MAP_BASE space.

I've temporarily removed the PIO_MASK check and pata_pcmcia
works as expected. Is there any way around this, other than
creating an Alchemy-specific ioport_map() function?

Thanks,
        Manuel Lauss


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux