aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2005-11-29 23:08:27 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 20:11:27 -0500
commit47be1e0ee1f484c8127f306e06ed3be91add07ee (patch)
tree176ec61deec91fffd77fb5a7f1f541637d376a44 /drivers/scsi/sym53c8xx_2
parentdc25fcfbba513f8de8d1531b47fc9daa33d84f5a (diff)
[SCSI] sym2: Remove FreeBSD ifdefs
Remove FreeBSD ifdefs from sym2 driver Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2')
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_fw.c12
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_malloc.c4
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_fw.c b/drivers/scsi/sym53c8xx_2/sym_fw.c
index fd36cf9858cb..a7528a8331b5 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,11 +56,7 @@
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
68static struct sym_fwa_ofs sym_fw1a_ofs = { 60static 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};
@@ -88,11 +80,7 @@ static struct sym_fwz_ofs sym_fw1z_ofs = {
88#define SYM_FWA_SCR sym_fw2a_scr 80#define SYM_FWA_SCR sym_fw2a_scr
89#define SYM_FWB_SCR sym_fw2b_scr 81#define SYM_FWB_SCR sym_fw2b_scr
90#define SYM_FWZ_SCR sym_fw2z_scr 82#define SYM_FWZ_SCR sym_fw2z_scr
91#ifdef __FreeBSD__
92#include <dev/sym/sym_fw2.h>
93#else
94#include "sym_fw2.h" 83#include "sym_fw2.h"
95#endif
96static struct sym_fwa_ofs sym_fw2a_ofs = { 84static struct sym_fwa_ofs sym_fw2a_ofs = {
97 SYM_GEN_FW_A(struct SYM_FWA_SCR) 85 SYM_GEN_FW_A(struct SYM_FWA_SCR)
98}; 86};
diff --git a/drivers/scsi/sym53c8xx_2/sym_malloc.c b/drivers/scsi/sym53c8xx_2/sym_malloc.c
index a34d403ccc6c..92bf9b14a7a2 100644
--- a/drivers/scsi/sym53c8xx_2/sym_malloc.c
+++ b/drivers/scsi/sym53c8xx_2/sym_malloc.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 * Simple power of two buddy-like generic allocator. 43 * Simple power of two buddy-like generic allocator.