]> git.ipfire.org Git - thirdparty/qemu.git/commit
dp8393x: put the DMA buffer in the state structure
authorLaurent Vivier <laurent@vivier.eu>
Wed, 6 Nov 2019 11:23:40 +0000 (12:23 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 8 Nov 2019 20:30:07 +0000 (21:30 +0100)
commitaf9f0be36cd412442a801d25bd5dd9459d691d0b
tree3f606a3911502bc4a0721e83433380839a252361
parent1cee80fa665d37411f8ad8a930b84840bbab62e5
dp8393x: put the DMA buffer in the state structure

Move it from the stack.

It's only 24 bytes, and this simplifies the dp8393x_get()/
dp8393x_put() interface.

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Message-Id: <20191106112341.23735-2-laurent@vivier.eu>
hw/net/dp8393x.c