From: albert <> Date: Wed, 17 Mar 2004 18:30:10 +0000 (+0000) Subject: Linux 2.6.4 devices.txt X-Git-Tag: v3.3.0~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8a775d32e6ab6f5a69e9286b579c040babd7939;p=procps-ng Linux 2.6.4 devices.txt --- diff --git a/proc/devname.c b/proc/devname.c index 83dac900..e5defd46 100644 --- a/proc/devname.c +++ b/proc/devname.c @@ -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 */