patch-2.1.104 linux/drivers/block/paride/pcd.c

Next file: linux/drivers/block/paride/pf.c
Previous file: linux/drivers/block/md.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.103/linux/drivers/block/paride/pcd.c linux/drivers/block/paride/pcd.c
@@ -521,7 +521,7 @@
 	int 	r;
 
 	r = pcd_command(unit,rs_cmd,16,"Request sense");
-	udelay(1000);
+	mdelay(1);
 	if (!r) pcd_completion(unit,buf,"Request sense");
 
 	PCD.last_sense = -1;
@@ -538,7 +538,7 @@
 {	int r;
 
 	r = pcd_command(unit,cmd,dlen,fun);
-	udelay(1000);
+	mdelay(1);
 	if (!r) r = pcd_completion(unit,buf,fun);
 	if (r) pcd_req_sense(unit,!fun);
 	
@@ -768,7 +768,7 @@
 		return;
 	}
 
-	udelay(1000);
+	mdelay(1);
 
 	ps_set_intr(do_pcd_read_drq,pcd_ready,PCD_TMO,nice);
 
@@ -802,7 +802,7 @@
 
 	if (pcd_completion(unit,pcd_buffer,"read block")) {
                 if (pcd_retries < PCD_RETRIES) {
-                        udelay(1000);
+                        mdelay(1);
                         pcd_retries++;
 			pi_do_claimed(PI,pcd_start);
                         return;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov