diff options
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_fw.c')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_fw.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_fw.c b/drivers/scsi/sym53c8xx_2/sym_fw.c index fd36cf9858cb..9916a2a22558 100644 --- a/drivers/scsi/sym53c8xx_2/sym_fw.c +++ b/drivers/scsi/sym53c8xx_2/sym_fw.c | |||
@@ -37,11 +37,7 @@ | |||
37 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 37 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
38 | */ | 38 | */ |
39 | 39 | ||
40 | #ifdef __FreeBSD__ | ||
41 | #include <dev/sym/sym_glue.h> | ||
42 | #else | ||
43 | #include "sym_glue.h" | 40 | #include "sym_glue.h" |
44 | #endif | ||
45 | 41 | ||
46 | /* | 42 | /* |
47 | * Macros used for all firmwares. | 43 | * Macros used for all firmwares. |
@@ -60,19 +56,12 @@ | |||
60 | #define SYM_FWA_SCR sym_fw1a_scr | 56 | #define SYM_FWA_SCR sym_fw1a_scr |
61 | #define SYM_FWB_SCR sym_fw1b_scr | 57 | #define SYM_FWB_SCR sym_fw1b_scr |
62 | #define SYM_FWZ_SCR sym_fw1z_scr | 58 | #define SYM_FWZ_SCR sym_fw1z_scr |
63 | #ifdef __FreeBSD__ | ||
64 | #include <dev/sym/sym_fw1.h> | ||
65 | #else | ||
66 | #include "sym_fw1.h" | 59 | #include "sym_fw1.h" |
67 | #endif | ||
68 | static struct sym_fwa_ofs sym_fw1a_ofs = { | 60 | static struct sym_fwa_ofs sym_fw1a_ofs = { |
69 | SYM_GEN_FW_A(struct SYM_FWA_SCR) | 61 | SYM_GEN_FW_A(struct SYM_FWA_SCR) |
70 | }; | 62 | }; |
71 | static struct sym_fwb_ofs sym_fw1b_ofs = { | 63 | static struct sym_fwb_ofs sym_fw1b_ofs = { |
72 | SYM_GEN_FW_B(struct SYM_FWB_SCR) | 64 | SYM_GEN_FW_B(struct SYM_FWB_SCR) |
73 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN | ||
74 | SYM_GEN_B(struct SYM_FWB_SCR, data_io) | ||
75 | #endif | ||
76 | }; | 65 | }; |
77 | static struct sym_fwz_ofs sym_fw1z_ofs = { | 66 | static struct sym_fwz_ofs sym_fw1z_ofs = { |
78 | SYM_GEN_FW_Z(struct SYM_FWZ_SCR) | 67 | SYM_GEN_FW_Z(struct SYM_FWZ_SCR) |
@@ -88,19 +77,12 @@ static struct sym_fwz_ofs sym_fw1z_ofs = { | |||
88 | #define SYM_FWA_SCR sym_fw2a_scr | 77 | #define SYM_FWA_SCR sym_fw2a_scr |
89 | #define SYM_FWB_SCR sym_fw2b_scr | 78 | #define SYM_FWB_SCR sym_fw2b_scr |
90 | #define SYM_FWZ_SCR sym_fw2z_scr | 79 | #define SYM_FWZ_SCR sym_fw2z_scr |
91 | #ifdef __FreeBSD__ | ||
92 | #include <dev/sym/sym_fw2.h> | ||
93 | #else | ||
94 | #include "sym_fw2.h" | 80 | #include "sym_fw2.h" |
95 | #endif | ||
96 | static struct sym_fwa_ofs sym_fw2a_ofs = { | 81 | static struct sym_fwa_ofs sym_fw2a_ofs = { |
97 | SYM_GEN_FW_A(struct SYM_FWA_SCR) | 82 | SYM_GEN_FW_A(struct SYM_FWA_SCR) |
98 | }; | 83 | }; |
99 | static struct sym_fwb_ofs sym_fw2b_ofs = { | 84 | static struct sym_fwb_ofs sym_fw2b_ofs = { |
100 | SYM_GEN_FW_B(struct SYM_FWB_SCR) | 85 | SYM_GEN_FW_B(struct SYM_FWB_SCR) |
101 | #ifdef SYM_OPT_HANDLE_DIR_UNKNOWN | ||
102 | SYM_GEN_B(struct SYM_FWB_SCR, data_io) | ||
103 | #endif | ||
104 | SYM_GEN_B(struct SYM_FWB_SCR, start64) | 86 | SYM_GEN_B(struct SYM_FWB_SCR, start64) |
105 | SYM_GEN_B(struct SYM_FWB_SCR, pm_handle) | 87 | SYM_GEN_B(struct SYM_FWB_SCR, pm_handle) |
106 | }; | 88 | }; |