libata-sff: use ATAPI_{COD|IO}
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 2 Dec 2011 15:39:53 +0000 (18:39 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 9 Jan 2012 00:14:58 +0000 (19:14 -0500)
commit002ae08448e241ea8e304008f9cb4bc836f9ff16
treed8866d61714ffc7f20604c4b113955e2ccbb47ca
parent9ee4f3933930abf5cc34f8e9d69fe0e08c18f602
libata-sff: use ATAPI_{COD|IO}

atapi_pio_bytes() uses bare numbers for the ATAPI interrupt reason bits despite
these are #define'd in <linux/ata.h>.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-sff.c