As demonstrated in libata-dev.git#libahci, I think the best route is to
move generic code into libahci. In #libahci you will see
libahci -> common code
ahci -> standard PCI driver, req's libahci
mv-ahci -> Marvell AHCI driver, req's libahci
acard-ahci -> ACard AHCI driver, req's libahci
and to this we could easily add
platform-ahci -> platform AHCI driver, req's libahci
WARNING: #libahci should not be used directly, it is meant for
illustration purposes only. It has not been properly updated for
several recent ahci.c changes upstream, which implies that the
trivial-and-obvious task of moving generic code from ahci.c to libahci.c
must be redone.
Jeff
P.S. Please use the email addresses in MAINTAINERS,
M: Jeff Garzik <jgarzik@pobox.com>
L: linux-ide@vger.kernel.org
The redhat.com email address is only used for legal (sign-off) purposes,
not normal use.
--