[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 4/8] mac_via: add GPIO for A/UX mode
From: |
Laurent Vivier |
Subject: |
Re: [PATCH 4/8] mac_via: add GPIO for A/UX mode |
Date: |
Sat, 16 Oct 2021 19:06:01 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
Le 15/10/2021 à 21:59, Mark Cave-Ayland a écrit :
> On 15/10/2021 08:17, Laurent Vivier wrote:
>
>> Le 13/10/2021 à 23:21, Mark Cave-Ayland a écrit :
>>> Add a new auxmode GPIO that is updated when port B bit 6 is changed
>>> indicating
>>> whether the hardware is configured for A/UX mode.
>>
>> Stupid question: why do you use GPIO to pass the auxmode information between
>> VIA and GLUE?
>>
>> Can't we use object_property_set_link() to set a pointer to the GLUE object?
>
> For devices that are independent i.e. not contained within others I prefer to
> restrict the interface
> to properties that are visible within "info qom-tree" which are MRs and
> GPIOs. Otherwise GLUE
> requires knowledge of VIA internals which breaks the device abstraction.
>
OK, makes sense.
Thanks,
Laurent
- Re: [PATCH 5/8] q800: wire up auxmode GPIO to GLUE, (continued)
[PATCH 7/8] q800: wire up remaining IRQs in classic mode, Mark Cave-Ayland, 2021/10/13
[PATCH 8/8] q800: add NMI handler, Mark Cave-Ayland, 2021/10/13
- Re: [PATCH 8/8] q800: add NMI handler, Laurent Vivier, 2021/10/15
- Re: [PATCH 8/8] q800: add NMI handler, Mark Cave-Ayland, 2021/10/15
- Re: [PATCH 8/8] q800: add NMI handler, Laurent Vivier, 2021/10/16
- Re: [PATCH 8/8] q800: add NMI handler, Mark Cave-Ayland, 2021/10/17
- Re: [PATCH 8/8] q800: add NMI handler, Laurent Vivier, 2021/10/17
- Re: [PATCH 8/8] q800: add NMI handler, Mark Cave-Ayland, 2021/10/20