]> granicus.if.org Git - procps-ng/commitdiff
Linux 2.6.4 devices.txt
authoralbert <>
Wed, 17 Mar 2004 18:30:10 +0000 (18:30 +0000)
committeralbert <>
Wed, 17 Mar 2004 18:30:10 +0000 (18:30 +0000)
proc/devname.c

index 83dac900019f7b2aed820fd6ed7f64963bd2352d..e5defd464165ed9906bb2e5d7956b91d66a8717d 100644 (file)
@@ -164,6 +164,7 @@ static int guess_name(char *restrict const buf, unsigned maj, unsigned min){
     t1 = "0123456789abcdef"[tmpmin&0x0f];
     sprintf(buf, "/dev/tty%c%c", t0, t1);
     break;
+  case  11:  sprintf(buf, "/dev/ttyB%d",  min); break;
   case  17:  sprintf(buf, "/dev/ttyH%d",  min); break;
   case  19:  sprintf(buf, "/dev/ttyC%d",  min); break;
   case  22:  sprintf(buf, "/dev/ttyD%d",  min); break; /* devices.txt */