linux/drivers/ide
Eric Piel 9235e68be8 [PATCH] IDE CD reports current speed
The current ide-cd driver reports the CDROM speed (as found in
/proc/sys/dev/cdrom/info) as the current speed when loading the driver.
Changing the speed of the cdrom drive (by "eject -x" for instance) doesn't
update the speed reported by the kernel.  Updating the info could be
valuable for the user as it's the only way to know if the drive accepted
the request or discarded it.  It could even be used to list all the
available speeds of the drive.

The attached patch modifies the ide-cd driver so that after every speed
change request the new speed is updated.  Please note that the actual
modification is very little but I had to touch quite a few lines in order
to avoid to pre-declare the sub-functions.

Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Acked-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-23 09:45:35 -07:00
..
arm
cris
h8300
legacy
pci [PATCH] ioc4: Core driver rewrite 2005-06-21 18:46:32 -07:00
ppc [PATCH] ppc32: Fix IDE related crash on wakeup 2005-05-01 08:58:41 -07:00
Kconfig [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00
Makefile
ide-cd.c [PATCH] IDE CD reports current speed 2005-06-23 09:45:35 -07:00
ide-cd.h
ide-disk.c [PATCH] NUMA aware block device control structure allocation 2005-06-23 09:45:09 -07:00
ide-dma.c
ide-floppy.c [PATCH] ide-floppy adjustments 2005-06-23 09:45:28 -07:00
ide-generic.c
ide-io.c
ide-iops.c
ide-lib.c
ide-pnp.c
ide-probe.c [PATCH] NUMA aware block device control structure allocation 2005-06-23 09:45:09 -07:00
ide-proc.c [PATCH] convert IDE device drivers to driver-model 2005-05-26 14:55:34 +02:00
ide-tape.c [PATCH] convert IDE device drivers to driver-model 2005-05-26 14:55:34 +02:00
ide-taskfile.c
ide-timing.h
ide.c [PATCH] convert IDE device drivers to driver-model 2005-05-26 14:55:34 +02:00
setup-pci.c