Re: RFC: [MIPS] BCM1480/BCM1480HT remove io_offset

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

 



On Wed, Feb 24, 2010 at 08:45:02PM -0700, Bjorn Helgaas wrote:

> Actually, you should be able to make this work with CPU I/O resources of
> your choice even if you can't control the translation.  It just requires
> a little more indirection, like most computer science problems :-)  On
> ia64, we map multiple I/O port spaces with arbitrary translations into a
> 0xSPPPPPP scheme (S = space number, PPPPPP = port number).
> 
> But my main concern is just making sure that my IORESOURCE_PCI_FIXED
> change didn't break BCM1480, and I don't think it will.

The whole IORESOURCE_PCI_FIXED thing was created for Cobalt only and is
needed due to the discontinuity of the port address space with legacy I/O
ports in the range of 0..0x1000 and the rest starting off from 0x10000000.
No other system has such a lobotomized system controller.

  Ralf


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

  Powered by Linux