scsi/NCR5380: merge sun3_scsi_vme.c into sun3_scsi.c
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Mar 2014 00:42:24 +0000 (11:42 +1100)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 10:16:28 +0000 (12:16 +0200)
commit757f5bad2b748dca6f82e660875320d156485ea5
tree546120895d9d01ac96ab9c2c86f4fe135a3ea54a
parent9f6620a318e87d73f8ce3daa7f84efc739d1fa2d
scsi/NCR5380: merge sun3_scsi_vme.c into sun3_scsi.c

The sun3 drivers suffer from a whole bunch of duplicated code. Fix this
by following the g_NCR5380_mmio example. (Notionally, sun3_scsi relates to
sun3_scsi_vme in the same way that g_NCR5380 relates to g_NCR5380_mmio.)

Dead code is also removed: we now have working debug macros so
SUN3_SCSI_DEBUG is undesirable. Dead code within #ifdef OLD_DMA is also
dropped, consistent with sun3_scsi_vme.c.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/sun3_scsi.c
drivers/scsi/sun3_scsi_vme.c