On 23/09/2021 10:52, Philippe Mathieu-Daudé wrote:
On 9/23/21 11:13, Mark Cave-Ayland wrote:
This is to allow Macintosh machines to further specify which slots are available
since the number of addressable slots may not match the number of physical slots
present in the machine.
Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>
---
hw/nubus/nubus-bridge.c | 7 +++++++
1 file changed, 7 insertions(+)
+static Property nubus_bridge_properties[] = {
+ DEFINE_PROP_UINT32("slot-available-mask", NubusBridge,
+ bus.slot_available_mask, 0xffff),
What about using DEFINE_PROP_UINT16() here and uint16_t in
patch 04/20 "nubus: use bitmap to manage available slots"?
Regardless:
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Yes, that seems to work fine so I'll make this change in v6.
+ DEFINE_PROP_END_OF_LIST()
+};
ATB,
Mark.