[PATCH, trivial] dmesg ambiguity: CD/DVD

From: jeff (jeff-lk@gerard.st)
Date: Fri Aug 01 2003 - 13:27:04 EST


hi-

i just spent too long barking up the wrong tree, wondering why i
couldn't read DVD+R discs in a read-only drive that look like this in dmesg:

% dmesg | grep hdc ~
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
    hdc: Lite-On LTN486S 48x Max, ATAPI CD/DVD-ROM drive
                                        ^^^^^^^^^^
    hdc: attached ide-cdrom driver.
    hdc: ATAPI 48X CD-ROM drive, 120kB Cache, UDMA(33)

why was i having trouble? because this drive does not read DVD-ROMs! now
i know to ignore the second line and pay attention to the last one, but
really, let us fix this ambiguity. "CD/DVD" seems commonly used to refer
to drives which read both formats- let's change this to "optical disc"
or "CD and/or DVD" for clarity. patchette follows.

jeff

--- linux-2.4.21.orig/drivers/ide/ide-probe.c 2003-08-01 10:55:56.000000000 -0700
+++ linux-2.4.21/drivers/ide/ide-probe.c 2003-08-01 10:58:08.000000000 -0700
@@ -215,7 +215,7 @@
                                        break;
                                }
 #endif
- printk ("CD/DVD-ROM");
+ printk ("optical disc");
                                break;
                        case ide_tape:
                                printk ("TAPE");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:17 EST