linux-kernel-test/drivers/block
Ondrej Zary e62aa046e1 paride: pf driver fixes
The pf driver for parallel port floppy drives seems to be broken.  At least
with Imation SuperDisk with EPAT chip, the driver calls pi_connect() and
pi_disconnect after each transferred sector.  At least with EPAT, this
operation is very expensive - causes drive recalibration.  Thus, transferring
even a single byte (dd if=/dev/pf0 of=/dev/null bs=1 count=1) takes 20
seconds, making the driver useless.

The pf_next_buf() function seems to be broken as it returns 1 always (except
when pf_run is non-zero), causing the loop in do_pf_read_drq (and
do_pf_write_drq) to be executed only once.

The following patch fixes this problem.  It also fixes swapped descriptions in
pf_lock() function and removes DBMSG macro, which seems useless.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-11-14 18:45:39 -08:00
..
aoe aoe: remove unecessary wrapper function 2007-10-17 08:42:52 -07:00
paride paride: pf driver fixes 2007-11-14 18:45:39 -08:00
amiflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ataflop.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
cciss_cmd.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cciss_scsi.c cciss: update copyright notices 2007-10-29 11:33:05 +01:00
cciss_scsi.h cciss: update copyright notices 2007-10-29 11:33:05 +01:00
cciss.c cciss: update copyright notices 2007-10-29 11:33:05 +01:00
cciss.h [PATCH] cciss: add support for 1024 logical volumes 2006-12-07 08:39:30 -08:00
cpqarray.c [PATCH] Fix breakage after SG cleanups 2007-10-23 12:02:39 -07:00
cpqarray.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cryptoloop.c SG: Change sg_set_page() to take length and offset argument 2007-10-24 11:20:47 +02:00
DAC960.c [PATCH] Fix breakage after SG cleanups 2007-10-23 12:02:39 -07:00
DAC960.h Fix DAC960 driver on machines which don't support 64-bit DMA 2007-09-11 17:21:19 -07:00
floppy.c floppy: remove register keyword use from floppy driver 2007-10-17 08:43:03 -07:00
ida_cmd.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ida_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Block driver using virtio. 2007-10-23 15:49:54 +10:00
loop.c Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
Makefile Remove old lguest bus and drivers. 2007-10-23 15:49:55 +10:00
nbd.c [NET]: Add the helper kernel_sock_shutdown() 2007-11-12 18:10:39 -08:00
pktcdvd.c pktcdvd: fix BUG caused by sysfs module reference semantics change 2007-11-08 08:00:24 +01:00
ps2esdi.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
ps3disk.c block: convert blkdev_issue_flush() to use empty barriers 2007-10-16 11:05:02 +02:00
rd.c Fix misspellings of "system", "controller", "interrupt" and "necessary". 2007-10-19 23:10:43 +02:00
smart1,2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sunvdc.c More SG build fixes 2007-10-24 08:46:01 +02:00
swim3.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
sx8.c [PATCH] Fix breakage after SG cleanups 2007-10-23 12:02:39 -07:00
ub.c ub: add sg_init_table for sense and read capacity commands 2007-10-25 09:17:03 +02:00
umem.c drivers/block/umem: use DRIVER_NAME where appropriate 2007-10-10 09:25:59 +02:00
umem.h drivers/block/umem: trim trailing whitespace 2007-10-10 09:25:59 +02:00
viodasd.c [SG] Update drivers to use sg helpers 2007-10-22 21:19:53 +02:00
virtio_blk.c SG: audit of drivers that use blk_rq_map_sg() 2007-10-24 13:21:21 +02:00
xd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xd.h [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
xen-blkfront.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
xsysace.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
z2ram.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00