]> git.baikalelectronics.ru Git - kernel.git/commit
scsi/NCR5380: adopt NCR5380_dprint() and NCR5380_dprint_phase()
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Mar 2014 00:42:19 +0000 (11:42 +1100)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 10:05:37 +0000 (12:05 +0200)
commit8b4eb97116b3ff376b2b246398359f0fc5878d31
treeb5c203320f70219bf80f3871439ed6def9873ca0
parent7c781849eeb3bde9997bf88b863d91df4ae3055d
scsi/NCR5380: adopt NCR5380_dprint() and NCR5380_dprint_phase()

All NCR5380 drivers already include the NCR5380.h header. Better to
adopt those macros rather than have three variations on them.

Moreover, the macros in NCR5380.h are preferable anyway: the atari_NCR5380
and sun3_NCR5380 versions are inflexible. For example, they can't accomodate
NCR5380_dprint(NDEBUG_MAIN | NDEBUG_QUEUES, ...)

Replace the NCR_PRINT* macros from atari_NCR5380.h and sun3_NCR5380.h with
the equivalent macros from NCR5380.h.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Acked-by: Michael Schmitz <schmitz@debian.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/atari_NCR5380.c
drivers/scsi/sun3_NCR5380.c