Why only relocating the first three PCI base address???
Gabriel Paubert
paubert at iram.es
Mon Dec 7 05:59:52 EST 1998
On Fri, 4 Dec 1998, Cort Dougan wrote:
>
> The only board I know of that needs to be relocated on prep is the ncr
> controller on some machines. The first 3 base addrs (the only ones it
> uses I think) were too high. So I moved the relocation code out of the
> driver (it was a big hack that Gerard let me keep there this long) into
> the prep specific code.
>
> }But maybe the fact that it needs to be relocated is due to a specific bug
> }of the adaptec board ?
Actually, my PreP bootloader takes a very radical approcah at this:
it scans the PCI bus and reallocates all resources of all devices it finds
to make them fit in as little space as possible.
The code for PCI<->PCI bridges haas not been written however, since I've
not been able to get any such beast.
The main argument to do this was to correctly allocate resourecs to an s3
Trio which claims it needs 8Mb but actually requires 64. This made
the board unusable with the S3 frame buffer enabled since PPCBug would
believe the PCI configuration space header and cause conflicts on the bus.
Gabriel.
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request at lists.linuxppc.org ]]
More information about the Linuxppc-dev
mailing list