diff options
| author | Bartlomiej Zolnierkiewicz <[email protected]> | 2007-07-19 23:11:59 +0000 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2007-07-19 23:11:59 +0000 |
| commit | 89636af25d75d8672aea05d258be357d0dc4bd70 (patch) | |
| tree | dc1960bb144f76c75e82928ed3d601b52a275999 /net/tipc/handler.c | |
| parent | ide: remove stale changelog from setup-pci.c (diff) | |
| download | kernel-89636af25d75d8672aea05d258be357d0dc4bd70.tar.gz kernel-89636af25d75d8672aea05d258be357d0dc4bd70.zip | |
ide: add support for SCSI ioctls to ide-floppy
Now that ide-floppy supports SG_IO we can add support for SCSI ioctls
(except deprecated SCSI_IOCTL_SEND_COMMAND and legacy CDROM_SEND_PACKET
ones - we can add them later iff really needed).
While at it remove handling of CDROMEJECT and CDROMCLOSETRAY ioctls from
generic_ide_ioctl():
- This prevents ide-{disk,tape,scsi} device drivers from obtaining
REQ_TYPE_BLOCK_PC type requests which are currently unsupported by
these drivers and which are potentially harmful (as reported by Andrew).
- There is no functionality loss since aforementioned ioctls will now be
handled by idefloppy_ioctl()->scsi_cmd_ioctl() (for devices using
ide-floppy driver) and by idecd_ioctl->cdrom_ioctl()->scsi_cmd_ioctl()
(for devices using ide-cd driver).
Cc: Jens Axboe <[email protected]>
Cc: FUJITA Tomonori <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jeff Garzik <[email protected]>
Cc: Andrew Morton <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'net/tipc/handler.c')
0 files changed, 0 insertions, 0 deletions
