2.6.x kernels & PCI-to-PCMCIA bridges [again]
dhinds at sonic.net
Mon Jun 28 12:57:26 EDT 2004
On Mon, Jun 28, 2004 at 03:43:27PM +0100, Russell King wrote:
> Actually, its right. You've programmed the memory start/stop registers
> with sys_start and sys_stop. Since card_start = 0, you want accesses
> to physical address "sys_start" to correspond with card address
> "card_start". So, if card_start = 0, you need to program the offset
> register (I365_W_OFF) with -sys_start to achieve the required address
> on the PCMCIA bus.
Agreed; the original code was correct.
More information about the linux-pcmcia