android_kernel_motorola_sm6225/drivers/block/paride
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
..
aten.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
bpck.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
bpck6.c [PATCH] paride: remove parport #ifdef's 2006-12-07 08:39:45 -08:00
comm.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
dstr.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
epat.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
epia.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
fit2.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
fit3.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
friq.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
frpw.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
kbic.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
Kconfig [PATCH] Remove unused kernel config option PARIDE_PARPORT 2007-02-11 11:18:06 -08:00
ktti.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mkd Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
on20.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
on26.c [PATCH] paride_register(): shuffle return values 2006-12-07 08:39:33 -08:00
paride.c [PATCH] paride: remove parport #ifdef's 2006-12-07 08:39:45 -08:00
paride.h [PATCH] paride: rename pi_register() and pi_unregister() 2006-12-07 08:39:33 -08:00
pcd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
pd.c [BLOCK] Get rid of request_queue_t typedef 2007-07-24 09:28:11 +02:00
pf.c paride: pf driver fixes 2007-11-14 18:45:39 -08:00
pg.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ppc6lnx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pseudo.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
pt.c paride: fix 'and' typo in drivers/block/paride/pt.c 2007-11-05 15:12:32 -08:00
Transition-notes Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00