From 8b2d9993f22e0f3facdc1ebca58d5af2e1d79406 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 18 May 2015 03:56:25 +0200 Subject: drop (broken) support for Alpha, IA64 & PPC, Sparc --- tools/serial_probe/serial.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tools/serial_probe') diff --git a/tools/serial_probe/serial.c b/tools/serial_probe/serial.c index c84cbcff5..eb9d1f1cf 100644 --- a/tools/serial_probe/serial.c +++ b/tools/serial_probe/serial.c @@ -918,19 +918,11 @@ struct device *serialProbe(enum deviceClass probeClass, int probeFlags, maj = major(sb.st_rdev); if (maj != 4 && (maj < 136 || maj > 143)) { if (ioctl (fd, TIOCLINUX, &twelve) < 0) { - #ifdef __powerpc__ - // we could have gotten an error for another reason - like EINVAL - // skipping ttyS0 on PPC - which is where most modems reside - if (errno == ENOTTY) { - #endif if (ioctl (fd, TIOCGSERIAL, &si) >= 0) { if (si.line > 0) { console = 1 << si.line; } else { console = 0; - #ifdef __powerpc__ - } - #endif } } else console = 0; } -- cgit v1.2.1