[SCSI] seagate: remove BROKEN tag
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>
This commit is contained in:
committed by
James Bottomley
parent
4ed381ee55
commit
9ef3c10e20
@@ -1303,7 +1303,7 @@ config SCSI_LPFC
|
|||||||
|
|
||||||
config SCSI_SEAGATE
|
config SCSI_SEAGATE
|
||||||
tristate "Seagate ST-02 and Future Domain TMC-8xx SCSI support"
|
tristate "Seagate ST-02 and Future Domain TMC-8xx SCSI support"
|
||||||
depends on X86 && ISA && SCSI && BROKEN
|
depends on X86 && ISA && SCSI
|
||||||
---help---
|
---help---
|
||||||
These are 8-bit SCSI controllers; the ST-01 is also supported by
|
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,
|
this driver. It is explained in section 3.9 of the SCSI-HOWTO,
|
||||||
|
@@ -114,6 +114,7 @@
|
|||||||
#define DPRINTK( when, msg... ) do { if ( (DEBUG & (when)) == (when) ) printk( msg ); } while (0)
|
#define DPRINTK( when, msg... ) do { if ( (DEBUG & (when)) == (when) ) printk( msg ); } while (0)
|
||||||
#else
|
#else
|
||||||
#define DPRINTK( when, msg... ) do { } while (0)
|
#define DPRINTK( when, msg... ) do { } while (0)
|
||||||
|
#define DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
#define DANY( msg... ) DPRINTK( 0xffff, msg );
|
#define DANY( msg... ) DPRINTK( 0xffff, msg );
|
||||||
|
|
||||||
@@ -523,7 +524,7 @@ int __init seagate_st0x_detect (struct scsi_host_template * tpnt)
|
|||||||
#ifdef ARBITRATE
|
#ifdef ARBITRATE
|
||||||
" ARBITRATE"
|
" ARBITRATE"
|
||||||
#endif
|
#endif
|
||||||
#ifdef DEBUG
|
#if DEBUG
|
||||||
" DEBUG"
|
" DEBUG"
|
||||||
#endif
|
#endif
|
||||||
#ifdef FAST
|
#ifdef FAST
|
||||||
@@ -733,7 +734,7 @@ static int internal_command (unsigned char target, unsigned char lun,
|
|||||||
unsigned char *data = NULL;
|
unsigned char *data = NULL;
|
||||||
struct scatterlist *buffer = NULL;
|
struct scatterlist *buffer = NULL;
|
||||||
int clock, temp, nobuffs = 0, done = 0, len = 0;
|
int clock, temp, nobuffs = 0, done = 0, len = 0;
|
||||||
#ifdef DEBUG
|
#if DEBUG
|
||||||
int transfered = 0, phase = 0, newphase;
|
int transfered = 0, phase = 0, newphase;
|
||||||
#endif
|
#endif
|
||||||
register unsigned char status_read;
|
register unsigned char status_read;
|
||||||
|
Reference in New Issue
Block a user