Messages in this thread Patch in this message | | | Date | Tue, 8 Feb 2000 14:29:39 +0000 (GMT) | From | Tigran Aivazian <> | Subject | [patch-2.3.43-p2] wrong speed set in drivers/cdrom/mcd.c |
| |
Hi,
Is the minimum value of "struct cdrom_device_info"->speed 2? If not, then the following patch should be applied:
http://www.ocston.org/~tigran/patches/mcd-speed-2.3.43-p2.patch
Also, I removed initialization to 2 because the static initialization of the structure already sets it to 2.
Regards, Tigran
--- mcd.c.0 Tue Feb 8 14:19:03 2000 +++ mcd.c Tue Feb 8 14:20:16 2000 @@ -1251,13 +1251,12 @@ " irq=%d\n", mcd_port, mcd_irq); MCMD_DATA_READ = MCMD_2X_READ; - mcd_info.speed = 2; /* Added flag to drop to 1x speed if too many errors */ mcdDouble = 1; } else { sprintf(msg, " mcd: Mitsumi Single Speed CD-ROM at port=0x%x," " irq=%d\n", mcd_port, mcd_irq); - mcd_info.speed = 2; + mcd_info.speed = 1; } request_region(mcd_port, 4, "mcd");
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |