[SCSI] aacraid: merge rx and rkt code
authorMark Haverkamp <markh@osdl.org>
Tue, 19 Sep 2006 16:00:02 +0000 (09:00 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 24 Sep 2006 01:09:42 +0000 (20:09 -0500)
commit76a7f8fdc0c2381ae1ba55ef71837712223ecb3c
treeb6672be9f0c94d36841e56e6cf8a8636028268c5
parent653ba58d55feb708c6f97e6f3e84901b3a03c9c0
[SCSI] aacraid: merge rx and rkt code

Received from Mark Salyzyn:

The only real difference between the rkt and rx platform modules is the
offset of the message registers. This patch recognizes this similarity
and simplifies the driver to reduce it's code footprint and to improve
maintainability by reducing the code duplication.

Visibly, the 'rkt.c' portion of this patch looks more complicated than
it really is. View it as retaining the rkt-only specifics of the
interface.

Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aacraid/aacraid.h
drivers/scsi/aacraid/comminit.c
drivers/scsi/aacraid/linit.c
drivers/scsi/aacraid/rkt.c
drivers/scsi/aacraid/rx.c
drivers/scsi/aacraid/sa.c