]> git.karo-electronics.de Git - linux-beck.git/commit
libata: kill non-sg DMA interface
authorTejun Heo <htejun@gmail.com>
Wed, 5 Dec 2007 07:43:09 +0000 (16:43 +0900)
committerJeff Garzik <jeff@garzik.org>
Wed, 23 Jan 2008 10:24:14 +0000 (05:24 -0500)
commit001102d7859be0e7f7b9f2d62b841f2c0f9c2640
tree3ba29a129314307bafc5ac4e6cab49ee98eb8698
parent55dba3120fbcbea6800f9a18503d25f73212a347
libata: kill non-sg DMA interface

With atapi_request_sense() converted to use sg, there's no user of
non-sg interface.  Kill non-sg interface.

* ATA_QCFLAG_SINGLE and ATA_QCFLAG_SG are removed.  ATA_QCFLAG_DMAMAP
  is used instead.  (this way no LLD change is necessary)

* qc->buf_virt is removed.

* ata_sg_init_one() and ata_sg_setup_one() are removed.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
include/linux/libata.h