aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-06-13 14:39:21 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 16:14:54 -0400
commit2ba51ea28ba54ea8808ba7dfd694f1dd37e8b7c7 (patch)
tree5de96c807f204cb51d81c482058661efb5511173 /drivers/scsi
parent0cb8cd76aa6fc759de3b59f4dd5ab5ed6c3a1149 (diff)
[SCSI] sun3: Add various missing NDEBUG* definitions
This fixes a.o.: drivers/scsi/sun3_scsi.h:225:5: warning: "NDEBUG" is not defined drivers/scsi/sun3_scsi.h:345:14: warning: "NDEBUG_ABORT" is not defined drivers/scsi/sun3_scsi.h:351:14: warning: "NDEBUG_TAGS" is not defined drivers/scsi/sun3_scsi.h:357:14: warning: "NDEBUG_MERGING" is not defined Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/sun3_scsi.c8
-rw-r--r--drivers/scsi/sun3_scsi_vme.c8
2 files changed, 12 insertions, 4 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c
index 2cc83ef3f37f..baf7328de956 100644
--- a/drivers/scsi/sun3_scsi.c
+++ b/drivers/scsi/sun3_scsi.c
@@ -70,6 +70,12 @@
70#include <asm/idprom.h> 70#include <asm/idprom.h>
71#include <asm/machines.h> 71#include <asm/machines.h>
72 72
73#define NDEBUG 0
74
75#define NDEBUG_ABORT 0x00100000
76#define NDEBUG_TAGS 0x00200000
77#define NDEBUG_MERGING 0x00400000
78
73/* dma on! */ 79/* dma on! */
74#define REAL_DMA 80#define REAL_DMA
75 81
@@ -86,8 +92,6 @@ static void NCR5380_print(struct Scsi_Host *instance);
86/*#define RESET_BOOT */ 92/*#define RESET_BOOT */
87#define DRIVER_SETUP 93#define DRIVER_SETUP
88 94
89#define NDEBUG 0
90
91/* 95/*
92 * BUG can be used to trigger a strange code-size related hang on 2.1 kernels 96 * BUG can be used to trigger a strange code-size related hang on 2.1 kernels
93 */ 97 */
diff --git a/drivers/scsi/sun3_scsi_vme.c b/drivers/scsi/sun3_scsi_vme.c
index c0252db4da68..fbba78e5722e 100644
--- a/drivers/scsi/sun3_scsi_vme.c
+++ b/drivers/scsi/sun3_scsi_vme.c
@@ -39,6 +39,12 @@
39/* dma on! */ 39/* dma on! */
40#define REAL_DMA 40#define REAL_DMA
41 41
42#define NDEBUG 0
43
44#define NDEBUG_ABORT 0x00100000
45#define NDEBUG_TAGS 0x00200000
46#define NDEBUG_MERGING 0x00400000
47
42#include "scsi.h" 48#include "scsi.h"
43#include "initio.h" 49#include "initio.h"
44#include <scsi/scsi_host.h> 50#include <scsi/scsi_host.h>
@@ -50,8 +56,6 @@ extern int sun3_map_test(unsigned long, char *);
50/*#define RESET_BOOT */ 56/*#define RESET_BOOT */
51#define DRIVER_SETUP 57#define DRIVER_SETUP
52 58
53#define NDEBUG 0
54
55/* 59/*
56 * BUG can be used to trigger a strange code-size related hang on 2.1 kernels 60 * BUG can be used to trigger a strange code-size related hang on 2.1 kernels
57 */ 61 */