]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/scsi/libata-core.c
[libata irq-pio] reorganize ata_pio_sector() and __atapi_pio_bytes()
authorAlbert Lee <albertcc@tw.ibm.com>
Sun, 9 Oct 2005 13:46:07 +0000 (09:46 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sun, 9 Oct 2005 13:46:07 +0000 (09:46 -0400)
commit7282aa4b49d08254ff1dcefdf3a2fb01b02ebbe2
tree37cba0515abcbf19190acd58f4a74227050a5b4d
parentf58f8be7f65312f602f7970e7da47a6413e692b0
[libata irq-pio] reorganize ata_pio_sector() and __atapi_pio_bytes()

   - move some code out of the kmap_atomic() / kunmap_atomic() zone
   - remove the redundant "do_write = (qc->tf.flags & ATA_TFLAG_WRITE);"

Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
drivers/scsi/libata-core.c