From 5fb7d149953f469381a11e486d66dc56af2c0f21 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Thu, 23 Feb 2023 19:20:18 +0900 Subject: e1000e: Implement system clock The system clock is necessary to implement PTP features. While we are not implementing PTP features for e1000e yet, we do have a plan to implement them for igb, a new network device derived from e1000e, so add system clock to the common base first. Signed-off-by: Akihiko Odaki Signed-off-by: Jason Wang --- hw/net/e1000e_core.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hw/net/e1000e_core.h') diff --git a/hw/net/e1000e_core.h b/hw/net/e1000e_core.h index d0a14b4523..213a70530d 100644 --- a/hw/net/e1000e_core.h +++ b/hw/net/e1000e_core.h @@ -112,6 +112,8 @@ struct E1000Core { void (*owner_start_recv)(PCIDevice *d); uint32_t msi_causes_pending; + + int64_t timadj; }; void -- cgit v1.2.3