aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/device/device.h1
-rw-r--r--src/include/device/hypertransport.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h
index 396ecf8fd6..851c27d76c 100644
--- a/src/include/device/device.h
+++ b/src/include/device/device.h
@@ -90,6 +90,7 @@ struct bus {
unsigned reset_needed : 1;
unsigned disable_relaxed_ordering : 1;
+ unsigned ht_link_up : 1;
};
/*
diff --git a/src/include/device/hypertransport.h b/src/include/device/hypertransport.h
index 22e0ac4ab0..b2ebecfdb1 100644
--- a/src/include/device/hypertransport.h
+++ b/src/include/device/hypertransport.h
@@ -3,6 +3,13 @@
#include <device/hypertransport_def.h>
+/* TODO: Check HT specs for better names for these. */
+#define LinkConnected (1 << 0)
+#define InitComplete (1 << 1)
+#define NonCoherent (1 << 2)
+#define ConnectionPending (1 << 4)
+bool ht_is_non_coherent_link(struct bus *link);
+
unsigned int hypertransport_scan_chain(struct bus *bus,
unsigned min_devfn, unsigned max_devfn, unsigned *ht_unit_base, unsigned offset_unitid);
void ht_scan_bridge(struct device *dev);