diff options
| author | Mark Cave-Ayland | 2021-09-24 09:38:02 +0200 |
|---|---|---|
| committer | Laurent Vivier | 2021-09-29 10:45:19 +0200 |
| commit | f48d613484bb8969469c9edcfc0bbe410c88d645 (patch) | |
| tree | 65de304a36824392416fb7fa6fb2f8a3b37ad0ab /include/hw/nubus | |
| parent | nubus-bridge: introduce separate NubusBridge structure (diff) | |
| download | qemu-f48d613484bb8969469c9edcfc0bbe410c88d645.tar.gz qemu-f48d613484bb8969469c9edcfc0bbe410c88d645.tar.xz qemu-f48d613484bb8969469c9edcfc0bbe410c88d645.zip | |
mac-nubus-bridge: rename MacNubusState to MacNubusBridge
This better reflects that the mac-nubus-bridge device is derived from the
nubus-bridge device, and that the structure represents the state of the bridge
device and not the Nubus itself. Also update the comment in the file header to
reflect that mac-nubus-bridge is specific to the Macintosh.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210924073808.1041-15-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/nubus')
| -rw-r--r-- | include/hw/nubus/mac-nubus-bridge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/nubus/mac-nubus-bridge.h b/include/hw/nubus/mac-nubus-bridge.h index fa454f5fbe..b595e1b7ef 100644 --- a/include/hw/nubus/mac-nubus-bridge.h +++ b/include/hw/nubus/mac-nubus-bridge.h @@ -17,9 +17,9 @@ #define MAC_NUBUS_SLOT_NB (MAC_NUBUS_LAST_SLOT - MAC_NUBUS_FIRST_SLOT + 1) #define TYPE_MAC_NUBUS_BRIDGE "mac-nubus-bridge" -OBJECT_DECLARE_SIMPLE_TYPE(MacNubusState, MAC_NUBUS_BRIDGE) +OBJECT_DECLARE_SIMPLE_TYPE(MacNubusBridge, MAC_NUBUS_BRIDGE) -struct MacNubusState { +struct MacNubusBridge { NubusBridge parent_obj; NubusBus *bus; |
