sata_mv: restructure mv_qc_issue
authorMark Lord <liml@rtr.ca>
Fri, 30 Jan 2009 23:48:41 +0000 (18:48 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:02:38 +0000 (22:02 -0400)
commitf48765ccb48a62596b664aa88a2b0f943c12c0e1
tree48894dfdc349b8c8010798f7725fbf30e5bdc629
parent00b81235aa0368f84c0e704bec4142cd8c516ad5
sata_mv: restructure mv_qc_issue

Rearrange logic in mv_qc_issue() to handle protocols
other than ATA_PROT_DMA, ATA_PROT_NCQ, and ATA_PROT_PIO.
This is in preparation for later enabling ATAPI support.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c