From e5ea8da06ba610551a75c79c1467aae379e953ce Mon Sep 17 00:00:00 2001 From: Mithlesh Thukral Date: Fri, 20 Mar 2009 17:37:32 +0530 Subject: Staging: sxg: Add watchdog timer for managing Link states for SXG driver Add a watchdog timer to take care of link change notifications. Link changes would now be handled asynchronously as they involve large delays. Signed-off-by: LinSysSoft Sahara Team Signed-off-by: Mithlesh Thukral Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sxg/sxg.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/staging/sxg/sxg.h') diff --git a/drivers/staging/sxg/sxg.h b/drivers/staging/sxg/sxg.h index 899cf1510f91..f07aa708d862 100644 --- a/drivers/staging/sxg/sxg.h +++ b/drivers/staging/sxg/sxg.h @@ -715,6 +715,9 @@ struct adapter_t { /*MSI-X related data elements*/ u32 nr_msix_entries; struct msix_entry *msi_entries; + struct timer_list watchdog_timer; + struct work_struct update_link_status; + u32 link_status_changed; }; #if SLIC_DUMP_ENABLED -- cgit v1.2.3