From a536efcc76cfff94ee317f3ca48bc04b3a342ad5 Mon Sep 17 00:00:00 2001 From: Mithlesh Thukral Date: Wed, 18 Feb 2009 18:54:14 +0530 Subject: Staging: sxg: Add Rev B support in the Sahara SXG driver This patch makes the Sahara SXG driver use Rev B firmware instead of Rev A. The firmware version is 1.71 Signed-off-by: Michael Miles Signed-off-by: Mithlesh Thukral Signed-off-by: Greg Kroah-Hartman --- drivers/staging/sxg/sxg.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'drivers/staging/sxg/sxg.h') diff --git a/drivers/staging/sxg/sxg.h b/drivers/staging/sxg/sxg.h index 7bf0a436a8e..899cf1510f9 100644 --- a/drivers/staging/sxg/sxg.h +++ b/drivers/staging/sxg/sxg.h @@ -369,9 +369,9 @@ enum SXG_LINK_STATE { /* Microcode file selection codes */ enum SXG_UCODE_SEL { - SXG_UCODE_SAHARA, /* Sahara ucode */ - SXG_UCODE_SDIAGCPU, /* Sahara CPU diagnostic ucode */ - SXG_UCODE_SDIAGSYS /* Sahara system diagnostic ucode */ + SXG_UCODE_SYSTEM, /* System (operational) uucode */ + SXG_UCODE_SDIAGCPU, /* System CPU diagnostic ucode */ + SXG_UCODE_SDIAGSYS /* System diagnostic ucode */ }; @@ -537,6 +537,7 @@ struct adapter_t { u32 memorylength; u32 drambase; u32 dramlength; + enum asic_type asictype; /* type of ASIC (chip) */ unsigned int activated; u32 intrregistered; unsigned int isp_initialized; @@ -680,6 +681,8 @@ struct adapter_t { u32 RssEnabled:1; /* RSS Enabled */ u32 FailOnBadEeprom:1; /* Fail on Bad Eeprom */ u32 DiagStart:1; /* Init adapter for diagnostic start */ + u32 XmtFcEnabled:1; + u32 RcvFcEnabled:1; /* Stats */ u32 PendingRcvCount; /* Outstanding rcv indications */ u32 PendingXmtCount; /* Outstanding send requests */ -- cgit v1.2.3