From e26fe912fdef38064bd01228c91567466bc2f367 Mon Sep 17 00:00:00 2001 From: Emmanuel Dreyfus Date: Tue, 20 Dec 2016 16:48:06 +0100 Subject: [PATCH] NetBSD serial ports --- libnfc/buses/uart.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libnfc/buses/uart.c b/libnfc/buses/uart.c index 7f14532..b9b6121 100644 --- a/libnfc/buses/uart.c +++ b/libnfc/buses/uart.c @@ -77,6 +77,8 @@ const char *serial_ports_device_radix[] = { "tty.SLAB_USBtoUART", "tty.usbserial", "tty.usbmodem", NULL }; # elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__FreeBSD_kernel__) const char *serial_ports_device_radix[] = { "cuaU", "cuau", NULL }; +# elif defined (__NetBSD__) +const char *serial_ports_device_radix[] = { "tty0", "ttyC", "ttyS", "ttyU", "ttyY" , NULL }; # elif defined (__linux__) || defined (__CYGWIN__) const char *serial_ports_device_radix[] = { "ttyUSB", "ttyS", "ttyACM", "ttyAMA", "ttyO", NULL }; # else