aboutsummaryrefslogtreecommitdiffstats
path: root/lmr/lmr.h
diff options
context:
space:
mode:
Diffstat (limited to 'lmr/lmr.h')
-rw-r--r--lmr/lmr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lmr/lmr.h b/lmr/lmr.h
index d35b8ae..bb188fc 100644
--- a/lmr/lmr.h
+++ b/lmr/lmr.h
@@ -21,6 +21,8 @@
#define MARGIN_TIM_RECOMMEND 30
#define MARGIN_VOLT_MIN 50
+enum margin_hw { MARGIN_HW_DEFAULT, MARGIN_ICE_LAKE_RC };
+
/* PCI Device wrapper for margining functions */
struct margin_dev {
struct pci_dev *dev;
@@ -29,6 +31,8 @@ struct margin_dev {
u8 retimers_n;
u8 link_speed;
+ enum margin_hw hw;
+
/* Saved Device settings to restore after margining */
u8 aspm;
bool hasd; // Hardware Autonomous Speed Disable
@@ -209,6 +213,8 @@ void margin_log_receiver(struct margin_recv *recv);
/* Margining in progress log */
void margin_log_margining(struct margin_lanes_data arg);
+void margin_log_hw_quirks(struct margin_recv *recv);
+
/* margin_results */
void margin_results_print_brief(struct margin_results *results, u8 recvs_n);