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