aboutsummaryrefslogtreecommitdiff
path: root/hw/net/e1000e_core.h
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-02-23 19:20:18 +0900
committerJason Wang <jasowang@redhat.com>2023-03-10 15:35:38 +0800
commit5fb7d149953f469381a11e486d66dc56af2c0f21 (patch)
tree2edce2f323419178882b9bcd31f1d67851aedf09 /hw/net/e1000e_core.h
parent69ff5ef8474575556997dbe7f7f9bd28c4aee5de (diff)
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 <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/net/e1000e_core.h')
-rw-r--r--hw/net/e1000e_core.h2
1 files changed, 2 insertions, 0 deletions
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