summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/devices.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/settings/networksettings/ppp/devices.h b/noncore/settings/networksettings/ppp/devices.h
index fb57128..d46d5b4 100644
--- a/noncore/settings/networksettings/ppp/devices.h
+++ b/noncore/settings/networksettings/ppp/devices.h
@@ -1,57 +1,60 @@
1#ifndef _DEVICES_H_ 1#ifndef _DEVICES_H_
2#define _DEVICES_H_ 2#define _DEVICES_H_
3 3
4#include "kpppconfig.h" 4#include "kpppconfig.h"
5 5
6static const char *devices[] = { 6static const char *devices[] = {
7#ifdef __FreeBSD__ 7#ifdef __FreeBSD__
8 "/dev/cuaa0", 8 "/dev/cuaa0",
9 "/dev/cuaa1", 9 "/dev/cuaa1",
10 "/dev/cuaa2", 10 "/dev/cuaa2",
11 "/dev/cuaa3", 11 "/dev/cuaa3",
12 "/dev/cuaa4", 12 "/dev/cuaa4",
13#elif defined(__NetBSD__) 13#elif defined(__NetBSD__)
14 "/dev/tty00", /* "normal" modem lines */ 14 "/dev/tty00", /* "normal" modem lines */
15 "/dev/tty01", 15 "/dev/tty01",
16 "/dev/tty02", 16 "/dev/tty02",
17 "/dev/tty03", 17 "/dev/tty03",
18 "/dev/dty00", /* Dial out devices */ 18 "/dev/dty00", /* Dial out devices */
19 "/dev/dty01", 19 "/dev/dty01",
20 "/dev/dty02", 20 "/dev/dty02",
21 "/dev/dty03", 21 "/dev/dty03",
22 "/dev/ttyU0", /* USB stuff modems */ 22 "/dev/ttyU0", /* USB stuff modems */
23 "/dev/ttyU1", 23 "/dev/ttyU1",
24 "/dev/ttyU2", 24 "/dev/ttyU2",
25 "/dev/ttyU3", 25 "/dev/ttyU3",
26 "/dev/dtyU0", /* USB stuff, too (dial out device) */ 26 "/dev/dtyU0", /* USB stuff, too (dial out device) */
27 "/dev/dtyU1", 27 "/dev/dtyU1",
28 "/dev/dtyU2", 28 "/dev/dtyU2",
29 "/dev/dtyU3", 29 "/dev/dtyU3",
30#elif defined (__linux__) 30#elif defined (__linux__)
31 "/dev/modem", 31 "/dev/modem",
32 "/dev/ttyS0", 32 "/dev/ttyS0",
33 "/dev/ttyS1", 33 "/dev/ttyS1",
34 "/dev/ttyS2", 34 "/dev/ttyS2",
35 "/dev/ttyS3", 35 "/dev/ttyS3",
36#ifdef ISDNSUPPORT 36#ifdef ISDNSUPPORT
37 "/dev/ttyI0", 37 "/dev/ttyI0",
38 "/dev/ttyI1", 38 "/dev/ttyI1",
39 "/dev/ttyI2", 39 "/dev/ttyI2",
40 "/dev/ttyI3", 40 "/dev/ttyI3",
41#endif 41#endif
42 "/dev/usb/ttyACM0", /* USB stuff modems */ 42 "/dev/usb/ttyACM0", /* USB stuff modems */
43 "/dev/usb/ttyACM1", 43 "/dev/usb/ttyACM1",
44 "/dev/usb/ttyACM2", 44 "/dev/usb/ttyACM2",
45 "/dev/usb/ttyACM3", 45 "/dev/usb/ttyACM3",
46 "/dev/ircomm0",
47 "/dev/rfcomm0",
48 "/dev/rfcomm1",
46#elif defined(__svr4__) 49#elif defined(__svr4__)
47 "/dev/cua/a", 50 "/dev/cua/a",
48 "/dev/cua/b", 51 "/dev/cua/b",
49 "/dev/ttya", 52 "/dev/ttya",
50 "/dev/ttyb", 53 "/dev/ttyb",
51#endif 54#endif
52 0}; 55 0};
53 56
54// default device number from the list above 57// default device number from the list above
55const int DEV_DEFAULT = 0; 58const int DEV_DEFAULT = 0;
56 59
57#endif 60#endif