commit | a9484b8a417246b5ebb1d3b8c41b58a7e0862a72 | [log] [tgz] |
---|---|---|
author | Akihiko Odaki <akihiko.odaki@daynix.com> | Thu Feb 23 19:19:49 2023 +0900 |
committer | Jason Wang <jasowang@redhat.com> | Fri Mar 10 15:35:38 2023 +0800 |
tree | 1820dbac49a92ab16fa5b4fecc4493a985327b30 | |
parent | b7728c9f62d8ee5c4772a08ebe2f21bd789c73f7 [diff] |
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>