patch-2.3.99-pre3 linux/drivers/parport/init.c

Next file: linux/drivers/parport/parport_pc.c
Previous file: linux/drivers/parport/ChangeLog
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre2/linux/drivers/parport/init.c linux/drivers/parport/init.c
@@ -49,13 +49,13 @@
 	if (!str || !*str || (*str == '0' && !*(str+1))) {
 		/* Disable parport if "parport=0" in cmdline */
 		io[0] = PARPORT_DISABLE;
-		return 0;
+		return 1;
 	}
 
 	if (!strncmp (str, "auto", 4)) {
 		irq[0] = PARPORT_IRQ_AUTO;
 		dma[0] = PARPORT_DMA_AUTO;
-		return 0;
+		return 1;
 	}
 
 	val = simple_strtoul (str, &endptr, 0);
@@ -108,7 +108,7 @@
 	}
 
 	parport_setup_ptr++;
-	return 0;
+	return 1;
 }
 
 __setup ("parport=", parport_setup);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)