linux-mips
[Top] [All Lists]

MIPS ioport_map and Au1xxx PCMCIA

To: linux-mips@linux-mips.org
Subject: MIPS ioport_map and Au1xxx PCMCIA
From: Manuel Lauss <mano@roarinelk.homelinux.net>
Date: Thu, 26 Apr 2007 11:35:15 +0200
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.11
Hello,

the file arch/mips/lib/iomap.c contains this define
#define PIO_MASK 0x0ffffUL

which prevents pata_pcmcia with the new devres stuff
from attaching to a CF card. (on my Au1200).
The ports-to-be-iomap()'ed are in the 0xc0000000 range
and the ioport_map() function rejects all attempts
of pata_pcmcia to devm_ioport_map() them.

What is this mask used for and can it be removed?

Thanks,

-- 
 Manuel Lauss

<Prev in Thread] Current Thread [Next in Thread>