hw/net/lan9118: Add symbolic constants for register offsets
commit5cab6d5a5abb165296a2b6d7c06e15ec1c99e0a6
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Jan 2021 18:04:01 +0000 (8 18:04 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Jan 2021 21:19:02 +0000 (12 21:19 +0000)
tree6c1b51718dd3fedf4c531cdbb977e7b723d13908
parente7e29fdbbe07fb762d85af9c4d8eeff9b0f52a8e
hw/net/lan9118: Add symbolic constants for register offsets

The lan9118 code mostly uses symbolic constants for register offsets;
the exceptions are those which the datasheet doesn't give an official
symbolic name to.

Add some names for the registers which don't already have them, based
on the longer names they are given in the memory map.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210108180401.2263-3-peter.maydell@linaro.org
hw/net/lan9118.c