[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 03/20] nubus-device: expose separate super slot memory reg
From: |
Laurent Vivier |
Subject: |
Re: [PATCH v5 03/20] nubus-device: expose separate super slot memory region |
Date: |
Thu, 23 Sep 2021 12:04:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Le 23/09/2021 à 11:12, Mark Cave-Ayland a écrit :
> According to "Designing Cards and Drivers for the Macintosh Family" each
> physical
> nubus slot can access 2 separate address ranges: a super slot memory region
> which
> is 256MB and a standard slot memory region which is 16MB.
>
> Currently a Nubus device uses the physical slot number to determine whether
> it is
> using a standard slot memory region or a super slot memory region rather than
> exposing both memory regions for use as required.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> hw/nubus/nubus-device.c | 36 ++++++++++++++++++------------------
> include/hw/nubus/nubus.h | 1 +
> 2 files changed, 19 insertions(+), 18 deletions(-)
>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
[PATCH v5 05/20] nubus: move slot bitmap checks from NubusDevice realize() to BusClass check_address(), Mark Cave-Ayland, 2021/09/23