Bernhard Beschow bf0576edd7 hw/ide: Extract IDEBus assignment into bmdma_init()
Every invocation of bmdma_init() is followed by `d->bmdma[i].bus = &d->bus[i]`.
Resolve this redundancy by extracting it into bmdma_init().

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20230531211043.41724-5-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2023-07-11 00:11:25 +02:00
..
2023-07-06 11:42:08 +02:00
2023-06-28 17:29:53 +02:00
2023-07-07 22:23:17 +01:00
2023-07-07 06:32:53 -03:00
2023-06-05 20:48:34 +02:00
2023-06-20 10:01:30 +02:00
2023-06-05 20:48:34 +02:00