summaryrefslogtreecommitdiff
path: root/packages/gsm/files/default
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-02-03 23:36:10 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-02-03 23:36:10 +0000
commit1a0f697a1edde61c30b8606430f1417e6dcc4931 (patch)
tree5bba2cd845e21e74afe215421a07dd875692a53f /packages/gsm/files/default
parent67ee8c0ad8aebfb5b8bd81ee37380bffa72ba9bc (diff)
parent4f3ab3fe8e081cb25ca124f55ff2c21e6dd4072a (diff)
merge of '19595382c19aadeee7dac4939deb285a05e428eb'
and '31ced983465ce39a8b2be69de54096ba17a8b404'
Diffstat (limited to 'packages/gsm/files/default')
-rw-r--r--packages/gsm/files/default5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gsm/files/default b/packages/gsm/files/default
index f113d8bab0..467bd339eb 100644
--- a/packages/gsm/files/default
+++ b/packages/gsm/files/default
@@ -5,8 +5,13 @@
case `machine_id` in
"gta01"|"gta02")
GSMD_OPTS="-s 115200 -F"
+ if [ -d '/sys/bus/platform/devices/gta01-pm-gsm.0' ] ; then
GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on"
GSM_RES="/sys/bus/platform/devices/gta01-pm-gsm.0/reset"
+ else
+ GSM_POW="/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on"
+ GSM_RES="/sys/bus/platform/devices/neo1973-pm-gsm.0/reset"
+ fi
GSM_DEV="/dev/ttySAC0"
;;
"htc_apache"|"htc_blueangel"|"htc_universal")