]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] seagate: remove BROKEN tag
authorJames Bottomley <James.Bottomley@steeleye.com>
Wed, 13 Dec 2006 15:19:49 +0000 (09:19 -0600)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 3 Jan 2007 22:57:38 +0000 (16:57 -0600)
Apparently the driver compiles and runs, so tidy up some macro warnings
and bring it back as unBROKEN.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/Kconfig
drivers/scsi/seagate.c

index 60f5827271851e064d1ce807dd2b1848f4950ab0..7869c34a4a3eed46f82c281adc238aa48e5591df 100644 (file)
@@ -1303,7 +1303,7 @@ config SCSI_LPFC
 
 config SCSI_SEAGATE
        tristate "Seagate ST-02 and Future Domain TMC-8xx SCSI support"
-       depends on X86 && ISA && SCSI && BROKEN
+       depends on X86 && ISA && SCSI
        ---help---
          These are 8-bit SCSI controllers; the ST-01 is also supported by
          this driver.  It is explained in section 3.9 of the SCSI-HOWTO,
index 5ffec2721b28566738b6d620305cd18887fcde38..ff62e9708e1c706078b8352d5f3e8ee698c1fcd8 100644 (file)
 #define DPRINTK( when, msg... ) do { if ( (DEBUG & (when)) == (when) ) printk( msg ); } while (0)
 #else
 #define DPRINTK( when, msg... ) do { } while (0)
+#define DEBUG 0
 #endif
 #define DANY( msg... ) DPRINTK( 0xffff, msg );
 
@@ -523,7 +524,7 @@ int __init seagate_st0x_detect (struct scsi_host_template * tpnt)
 #ifdef ARBITRATE
                " ARBITRATE"
 #endif
-#ifdef DEBUG
+#if DEBUG
                " DEBUG"
 #endif
 #ifdef FAST
@@ -733,7 +734,7 @@ static int internal_command (unsigned char target, unsigned char lun,
        unsigned char *data = NULL;
        struct scatterlist *buffer = NULL;
        int clock, temp, nobuffs = 0, done = 0, len = 0;
-#ifdef DEBUG
+#if DEBUG
        int transfered = 0, phase = 0, newphase;
 #endif
        register unsigned char status_read;