linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: jeff <jeff-lk@gerard.st>
To: linux-kernel@vger.kernel.org
Cc: andre@linux-ide.org, torvalds@osdl.org
Subject: [PATCH, trivial] dmesg ambiguity: CD/DVD
Date: Fri, 1 Aug 2003 11:27:04 -0700	[thread overview]
Message-ID: <20030801182704.GS15405@gage.org> (raw)

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");

                 reply	other threads:[~2003-08-01 18:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030801182704.GS15405@gage.org \
    --to=jeff-lk@gerard.st \
    --cc=andre@linux-ide.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).