Searched hist:a9484b8a417246b5ebb1d3b8c41b58a7e0862a72 (Results 1 – 1 of 1) sorted by relevance
/qemu/hw/net/ |
H A D | e1000.c | a9484b8a417246b5ebb1d3b8c41b58a7e0862a72 Thu Feb 23 10:19:49 UTC 2023 Akihiko Odaki <akihiko.odaki@daynix.com> 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>
|