hw/net/fsl_etsec/etsec.c: Switch to transaction-based ptimer API
commit383a6753b250750d20d68501377fef815f88352d
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 17 Oct 2019 13:21:20 +0000 (17 14:21 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 24 Oct 2019 16:16:28 +0000 (24 17:16 +0100)
treea8c9efe6209782093dd9b048e68152afc5a1b23f
parente979972a6a17baadfcef05952e7523af99489487
hw/net/fsl_etsec/etsec.c: Switch to transaction-based ptimer API

Switch the fsl_etsec 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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20191017132122.4402-2-peter.maydell@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/net/fsl_etsec/etsec.c
hw/net/fsl_etsec/etsec.h