patch-1.3.79 linux/drivers/cdrom/sonycd535.c

Next file: linux/drivers/char/README.stallion
Previous file: linux/drivers/cdrom/cdu31a.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.78/linux/drivers/cdrom/sonycd535.c linux/drivers/cdrom/sonycd535.c
@@ -1654,7 +1654,7 @@
 	 * then call with io base of 0
 	 */
 	if (ints[0] > 0)
-		if (ints[0] != 0)
+		if (ints[1] != 0)
 			sony535_cd_base_io = ints[1];
 	if (ints[0] > 1)
 		sony535_irq_used = ints[2];

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this