mirror of https://github.com/xemu-project/xemu.git
xilinx.h: s/xilinx_axiethernetdma()/xilinx_axidma()
This function has nothing to do with ethernet. Its reusable for all DMA clients. Dropped the "ethernet" in the name accordingly. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
dada5c7e92
commit
7ce4106c21
|
@ -140,8 +140,8 @@ petalogix_ml605_init(QEMUMachineInitArgs *args)
|
|||
xilinx_axiethernet_init(eth0, &nd_table[0], STREAM_SLAVE(dma),
|
||||
0x82780000, irq[3], 0x1000, 0x1000);
|
||||
|
||||
xilinx_axiethernetdma_init(dma, STREAM_SLAVE(eth0),
|
||||
0x84600000, irq[1], irq[0], 100 * 1000000);
|
||||
xilinx_axidma_init(dma, STREAM_SLAVE(eth0), 0x84600000, irq[1], irq[0],
|
||||
100 * 1000000);
|
||||
|
||||
{
|
||||
SSIBus *spi;
|
||||
|
|
|
@ -71,9 +71,8 @@ xilinx_axiethernet_init(DeviceState *dev, NICInfo *nd, StreamSlave *peer,
|
|||
}
|
||||
|
||||
static inline void
|
||||
xilinx_axiethernetdma_init(DeviceState *dev, StreamSlave *peer,
|
||||
hwaddr base, qemu_irq irq,
|
||||
qemu_irq irq2, int freqhz)
|
||||
xilinx_axidma_init(DeviceState *dev, StreamSlave *peer, hwaddr base,
|
||||
qemu_irq irq, qemu_irq irq2, int freqhz)
|
||||
{
|
||||
Error *errp = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue