kernel_optimize_test/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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cris Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
h8300 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
legacy [PATCH] hd: eliminate bad section references 2005-04-16 15:25:52 -07:00
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
ide-cd.c [PATCH] IDE CD reports current speed 2005-06-23 09:45:35 -07:00
ide-cd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-disk.c [PATCH] NUMA aware block device control structure allocation 2005-06-23 09:45:09 -07:00
ide-dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-floppy.c [PATCH] ide-floppy adjustments 2005-06-23 09:45:28 -07:00
ide-generic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-io.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-iops.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-lib.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-pnp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide-timing.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ide.c [PATCH] convert IDE device drivers to driver-model 2005-05-26 14:55:34 +02:00
Kconfig [PATCH] ioc4: CONFIG split 2005-06-21 18:46:32 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00