[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Arve's atapi.c patch feedback plus wcd.c patch
From:       "Daniel C. Sobral" <dcs () daniel ! sobral>
Date:       1996-08-30 7:18:30
[Download RAW message or body]

Thanks, Arve, it worked like a charm.

I'm currently using 960716 atapi.c and atapi.h plus your patch. I also
have a patch to wcd.c, that really does nothing special, just present
more information. Here it goes, in case anyone is interested...

*** wcd.c.orig	Fri Aug 30 03:53:05 1996
--- wcd.c	Fri Aug 30 03:53:50 1996
***************
*** 118,123 ****
--- 118,144 ----
  #define MDT_AUDIO_80    0x06
  #define MDT_COMB_80     0x07
  #define MDT_PHOTO_80    0x08
+ #define MDT_CDR_UNKNOWN	0x10
+ #define MDT_CDR_DATA_120	0x11
+ #define MDT_CDR_AUDIO_120	0x12
+ #define MDT_CDR_COMB_120	0x13
+ #define MDT_CDR_PHOTO_120	0x14
+ #define MDT_CDR_DATA_80		0x15
+ #define MDT_CDR_AUDIO_80	0x16
+ #define MDT_CDR_COMB_80		0x17
+ #define MDT_CDR_PHOTO_80	0x18
+ #define MDT_CDE_UNKNOWN	0x20
+ #define MDT_CDE_DATA_120	0x21
+ #define MDT_CDE_AUDIO_120	0x22
+ #define MDT_CDE_COMB_120	0x23
+ #define MDT_CDE_PHOTO_120	0x24
+ #define MDT_CDE_DATA_80		0x25
+ #define MDT_CDE_AUDIO_80	0x26
+ #define MDT_CDE_COMB_80		0x27
+ #define MDT_CDE_PHOTO_80	0x28
+ #define MDT_UNKNOWN_2		0x30
+ #define MDT_HD_DATA_120		0x31
+ #define MDT_HD_DATA_80		0x35
  #define MDT_NO_DISC     0x70
  #define MDT_DOOR_OPEN   0x71
  #define MDT_FMT_ERROR   0x72
***************
*** 353,358 ****
--- 374,400 ----
  	case MDT_AUDIO_80:  printf ("80mm audio disc loaded");       break;
  	case MDT_COMB_80:   printf ("80mm data/audio disc loaded");  break;
  	case MDT_PHOTO_80:  printf ("80mm photo disc loaded");       break;
+ 	case MDT_CDE_UNKNOWN:   printf ("CD-E medium type unknown");          break;
+ 	case MDT_CDE_DATA_120:  printf ("120mm CD-E data disc loaded");       break;
+ 	case MDT_CDE_AUDIO_120: printf ("120mm CD-E audio disc loaded");      break;
+ 	case MDT_CDE_COMB_120:  printf ("120mm CD-E data/audio disc loaded"); break;
+ 	case MDT_CDE_PHOTO_120: printf ("120mm CD-E photo disc loaded");      break;
+ 	case MDT_CDE_DATA_80:   printf ("80mm CD-E data disc loaded");        break;
+ 	case MDT_CDE_AUDIO_80:  printf ("80mm CD-E audio disc loaded");       break;
+ 	case MDT_CDE_COMB_80:   printf ("80mm CD-E data/audio disc loaded");  break;
+ 	case MDT_CDE_PHOTO_80:  printf ("80mm CD-E photo disc loaded");       break;
+ 	case MDT_CDR_UNKNOWN:   printf ("CD-R medium type unknown");          break;
+ 	case MDT_CDR_DATA_120:  printf ("120mm CD-R data disc loaded");       break;
+ 	case MDT_CDR_AUDIO_120: printf ("120mm CD-R audio disc loaded");      break;
+ 	case MDT_CDR_COMB_120:  printf ("120mm CD-R data/audio disc loaded"); break;
+ 	case MDT_CDR_PHOTO_120: printf ("120mm CD-R photo disc loaded");      break;
+ 	case MDT_CDR_DATA_80:   printf ("80mm CD-R data disc loaded");        break;
+ 	case MDT_CDR_AUDIO_80:  printf ("80mm CD-R audio disc loaded");       break;
+ 	case MDT_CDR_COMB_80:   printf ("80mm CD-R data/audio disc loaded");  break;
+ 	case MDT_CDR_PHOTO_80:  printf ("80mm CD-R photo disc loaded");       break;
+ 	case MDT_UNKNOWN_2:   printf ("medium type unknown");          break;
+ 	case MDT_HD_DATA_120:  printf ("HD 120mm data disc loaded");       break;
+ 	case MDT_HD_DATA_80:  printf ("HD 80mm data disc loaded");       break;
  	case MDT_NO_DISC:   printf ("no disc inside");               break;
  	case MDT_DOOR_OPEN: printf ("door open");                    break;
  	case MDT_FMT_ERROR: printf ("medium format error");          break;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic