Linux 2.6.4 devices.txt

This commit is contained in:
albert 2004-03-17 18:30:10 +00:00
parent 2fc41eefa8
commit b8a775d32e

View 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 */