summary refs log tree commit diff stats
path: root/hw/net/e1000e_core.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-02-23 19:19:49 +0900
committerJason Wang <jasowang@redhat.com>2023-03-10 15:35:38 +0800
commita9484b8a417246b5ebb1d3b8c41b58a7e0862a72 (patch)
tree1820dbac49a92ab16fa5b4fecc4493a985327b30 /hw/net/e1000e_core.c
parentb7728c9f62d8ee5c4772a08ebe2f21bd789c73f7 (diff)
downloadfocaccia-qemu-a9484b8a417246b5ebb1d3b8c41b58a7e0862a72.tar.gz
focaccia-qemu-a9484b8a417246b5ebb1d3b8c41b58a7e0862a72.zip
e1000: Mask registers when writing
When a register has effective bits fewer than their width, the old code
inconsistently masked when writing or reading. Make the code consistent
by always masking when writing, and remove some code duplication.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000e_core.c')
0 files changed, 0 insertions, 0 deletions