Linux ATA/IDE development
 help / color / mirror / Atom feed
* [PATCH] optical /proc/ide/*/media
@ 2006-09-07 11:08 Alexey Dobriyan
  2006-09-09 15:18 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Dobriyan @ 2006-09-07 11:08 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-ide

Sergey Vlasov reported that his "FUJITSU MCC3064AP, ATAPI OPTICAL drive"
pops up as UNKNOWN in /proc/ide/*/media .

Closes #4145.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 drivers/ide/ide-proc.c |    2 ++
 1 file changed, 2 insertions(+)

--- a/drivers/ide/ide-proc.c
+++ b/drivers/ide/ide-proc.c
@@ -376,6 +376,8 @@ static int proc_ide_read_media
 				break;
 		case ide_floppy:media = "floppy\n";
 				break;
+		case ide_optical:media = "optical\n";
+				break;
 		default:	media = "UNKNOWN\n";
 				break;
 	}


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] optical /proc/ide/*/media
  2006-09-07 11:08 [PATCH] optical /proc/ide/*/media Alexey Dobriyan
@ 2006-09-09 15:18 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2006-09-09 15:18 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: Andrew Morton, linux-kernel, linux-ide

Ar Iau, 2006-09-07 am 15:08 +0400, ysgrifennodd Alexey Dobriyan:
> Sergey Vlasov reported that his "FUJITSU MCC3064AP, ATAPI OPTICAL drive"
> pops up as UNKNOWN in /proc/ide/*/media .
> 
> Closes #4145.

Harmless but yes this seems sensible

Acked-by: Alan Cox <alan@redhat.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-09 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-07 11:08 [PATCH] optical /proc/ide/*/media Alexey Dobriyan
2006-09-09 15:18 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox