mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
hw/isa: Rename isa_get_dma() -> isa_bus_get_dma()
isa_get_dma() returns a DMA channel handler from an ISABus. To emphasize this, rename it as isa_bus_get_dma(). Mechanical change using: $ sed -i -e 's/isa_get_dma/isa_bus_get_dma/g' \ $(git grep -l isa_get_dma) Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230215161641.32663-2-philmd@linaro.org>
This commit is contained in:
parent
e5bf2779a1
commit
dc8d6cf203
7 changed files with 8 additions and 8 deletions
|
@ -99,7 +99,7 @@ void isa_bus_dma(ISABus *bus, IsaDma *dma8, IsaDma *dma16)
|
|||
bus->dma[1] = dma16;
|
||||
}
|
||||
|
||||
IsaDma *isa_get_dma(ISABus *bus, int nchan)
|
||||
IsaDma *isa_bus_get_dma(ISABus *bus, int nchan)
|
||||
{
|
||||
assert(bus);
|
||||
return bus->dma[nchan > 3 ? 1 : 0];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue