summaryrefslogtreecommitdiff
authordwmw2 <dwmw2>2003-06-07 14:25:09 (UTC)
committer dwmw2 <dwmw2>2003-06-07 14:25:09 (UTC)
commit1a7addc9f586b35c4c4f5025030349c3064bc3b7 (patch) (unidiff)
tree7ebe116382bb8cadf5a9c767c34574205f45d263
parentb39530d3245f2ab3318be3601ab62e83869b7b2a (diff)
downloadopie-1a7addc9f586b35c4c4f5025030349c3064bc3b7.zip
opie-1a7addc9f586b35c4c4f5025030349c3064bc3b7.tar.gz
opie-1a7addc9f586b35c4c4f5025030349c3064bc3b7.tar.bz2
Add IrDA and Bluetooth modems
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
@@ -22,36 +22,39 @@ static const char *devices[] = {
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