e1000e: Introduce E1000E_LOW_BITS_SET_FUNC
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 23 Feb 2023 10:19:50 +0000 (19:19 +0900)
committerJason Wang <jasowang@redhat.com>
Fri, 10 Mar 2023 07:35:38 +0000 (15:35 +0800)
commit3de66fe4d7e4716c8fd544dfad5cc5e445ced12c
treee16f11d5d0f0ab1154cd527577521316bac24e4d
parenta9484b8a417246b5ebb1d3b8c41b58a7e0862a72
e1000e: Introduce E1000E_LOW_BITS_SET_FUNC

e1000e_set_16bit and e1000e_set_12bit look so similar so define a
generic macro.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e_core.c