libsas: use ata_is_ncq() and ata_has_dma() accessors
Use accessors instead of the raw protocol value. Signed-off-by: NHannes Reinecke <hare@suse.com> [hch: trivial cleanup of the ata_task assignments] Signed-off-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NTejun Heo <tj@kernel.org>
Showing
想要评论请 注册 或 登录