[OpenBIOS] [PATCH 2/2] 40p: update PReP configuration to match 40p machine

Programmingkid programmingkidx at gmail.com
Mon Aug 27 16:17:31 CEST 2018


> On Aug 27, 2018, at 8:24 AM, Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk> wrote:
> 
> Now that the QEMU PReP machine has been officially deprecated we should
> switch over the OpenBIOS PReP configuration to match the 40p machine
> instead.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
> ---
> arch/ppc/qemu/init.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
> index af15682..c40b7df 100644
> --- a/arch/ppc/qemu/init.c
> +++ b/arch/ppc/qemu/init.c
> @@ -113,7 +113,7 @@ int has_adb(void)
> 
> static const pci_arch_t known_arch[] = {
>     [ARCH_PREP] = {

I just had a question about this constant. Should it be changed to ARCH_IBM40P?


> -        .name = "PREP",
> +        .name = "40P",
>         .vendor_id = PCI_VENDOR_ID_MOTOROLA,
>         .device_id = PCI_DEVICE_ID_MOTOROLA_RAVEN,
>         .cfg_addr = 0x80000cf8,
> @@ -130,7 +130,7 @@ static const pci_arch_t known_arch[] = {
>             { .type = MEMORY_SPACE_32, .parentaddr = 0, .childaddr = 0xc0100000, .len = 0x10000000 },
>             { .type = 0, .parentaddr = 0, .childaddr = 0, .len = 0 }
>          },
> -        .irqs = { 9, 11, 9, 11 }
> +        .irqs = { 15, 15, 15, 15 }
>     },
>     [ARCH_MAC99] = {
>         .name = "MAC99",
> -- 
> 2.11.0
> 
> 
> -- 
> OpenBIOS                 http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you




More information about the OpenBIOS mailing list