]> git.hungrycats.org Git - linux/commit
[PATCH] CDROMREADAUDIO dma support
authorJens Axboe <axboe@suse.de>
Thu, 11 Mar 2004 23:56:51 +0000 (15:56 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 11 Mar 2004 23:56:51 +0000 (15:56 -0800)
commitf644f1667358af42f05c81fa32a4bb96781377fa
treef85fb4813d79ce4fae0dcde611715edf4fa1ceb2
parent637b48c8306137e805970b07f7dec37eea9d6bb8
[PATCH] CDROMREADAUDIO dma support

This small patch builds on top of the blk_rq_map_user() patch just sent,
and enables us to easily support DMA for CDROMREADAUDIO cdda extraction.
It's quite amazing how much cool stuff you can with the new block layer
:-)

Patch has intelligent fall back from multi frame dma to single frame
dma, and further to old-style pio ripping in case of hardware problems.
drivers/cdrom/cdrom.c
drivers/ide/ide-cd.c
drivers/scsi/sr.c
include/linux/cdrom.h