hw/net/lan9118.c: Switch to transaction-based ptimer API
commit88e4bd672e8f25f932ec3db88684406b0cc71a00
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 8 Oct 2019 17:17:40 +0000 (8 18:17 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Oct 2019 17:09:03 +0000 (15 18:09 +0100)
tree83bd98557e590636c438d53481d88ea6ccb39914
parent8c9dbc6236d202bfa8ec64a6661cff8a600f5768
hw/net/lan9118.c: Switch to transaction-based ptimer API

Switch the cmsdk-apb-watchdog code away from bottom-half based
ptimers to the new transaction-based ptimer API.  This just requires
adding begin/commit calls around the various places that modify the
ptimer state, and using the new ptimer_init() function to create the
timer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20191008171740.9679-22-peter.maydell@linaro.org
hw/net/lan9118.c