LongTrail PCI resource assignment

Michel Dänzer michdaen at iiic.ethz.ch
Sun Mar 26 18:45:12 EST 2000


Geert Uytterhoeven wrote:

> fix.smem_start is unsigned long, which is 64-bit on all 64-bit platforms.
>
> Please tell me where you're hiding that 32-bit box with 64-bit PCI
> addressing inside :-)
>
> Anyway, it's perfectly possible to do it correctly _now_ on 32-bit boxes
> with 32-bit PCI addressing and on all 64-bit boxes, so I see no reason for
> breaking the game for those.

I shouldn't have opened my mouth about something I don't really know about,
I'll just cite Jeff from a linux-fbdev post:

> The server obtains a list of hardware from scanning the PCI bus.  It
> needs to know which devices are attached to framebuffer devices, and
> which are not, in order to know whether to use a bit-banging interface
> or an fbdev interface.
>
> Currently the only way to do this is a hueristic which takes
> fix.smem_start and determines in which PCI BAR the address falls.  This
> is insufficient for 64-bit machines, and also generally ugly :)


In another post he was talking about the problem being 32 bit PCI busses on 64
bit machines.


Michel


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list