]> git.ipfire.org Git - thirdparty/qemu.git/commit
Implement configurable descriptor size in ftgmac100
authorErik Smit <erik.lucas.smit@gmail.com>
Tue, 16 Jun 2020 09:32:29 +0000 (10:32 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 16 Jun 2020 09:32:29 +0000 (10:32 +0100)
commitd7a64d0063d15bf2ee574f18e4f3fe82f57a32ca
treeaec8ff34c648ca65a438ad042545cdec825321aa
parent3d26d7d69066f37b994d3a5eb7601311de2dd659
Implement configurable descriptor size in ftgmac100

The hardware supports configurable descriptor sizes, configured in the DBLAC
register.

Most drivers use the default 4 word descriptor, which is currently hardcoded,
but Aspeed SDK configures 8 words to store extra data.

Signed-off-by: Erik Smit <erik.lucas.smit@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[PMM: removed unnecessary parens]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/ftgmac100.c