OSDN Git Service

e1000e: Configure ResettableClass
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 23 Feb 2023 10:19:59 +0000 (19:19 +0900)
committerJason Wang <jasowang@redhat.com>
Fri, 10 Mar 2023 07:35:38 +0000 (15:35 +0800)
commit8a35c648ac669e515a5dd71d46de09b2b1cc28c2
tree4810b65e1fe77c872e2d7a70ebfff58930c91ace
parent9d46505368650a5b172e004595f5f7c51bbed524
e1000e: Configure ResettableClass

This is part of recent efforts of refactoring e1000 and e1000e.

DeviceClass's reset member is deprecated so migrate to ResettableClass.
There is no behavioral difference.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/net/e1000e.c
hw/net/trace-events