mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
73d17701db
The CDROMREADAUDIO ioctl uses SCSI passthrough when the .disk
pointer has been set in struct cdrom_device_info. Hence check
whether SCSI passthrough is supported before submitting a SCSI
command. Note: both the ide-cd and sr drivers set the disk
pointer in struct cdrom_device_info but neither the pcd nor
the gdrom driver sets that pointer.
References: commit
|
||
---|---|---|
.. | ||
cdrom.c | ||
gdrom.c | ||
Makefile |