diff options
author | Graeme Gregory <dp@xora.org.uk> | 2008-02-03 19:57:51 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2008-02-03 19:57:51 +0000 |
commit | 7b2c14cc02aa5fdaa8c13c872dc14ecbd2cafaba (patch) | |
tree | c25f46ae9f7eeab1f9bcb3f23c9830c84440607b /packages/gsm | |
parent | cbfe7d32af3742c49392eb3ed3f3dcdac64ec3ab (diff) |
gsmd.inc : update the location of reset and power on gta01/02 devices and
bump PR
Diffstat (limited to 'packages/gsm')
-rw-r--r-- | packages/gsm/files/default | 5 | ||||
-rw-r--r-- | packages/gsm/gsmd.inc | 2 |
2 files changed, 6 insertions, 1 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") diff --git a/packages/gsm/gsmd.inc b/packages/gsm/gsmd.inc index f7d609e2c9..a6b6fb7a6a 100644 --- a/packages/gsm/gsmd.inc +++ b/packages/gsm/gsmd.inc @@ -5,7 +5,7 @@ SECTION = "libs/gsm" PROVIDES += "gsmd" RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel" PV = "0.1+svnr${SRCREV}" -PR = "r40" +PR = "r41" SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ file://gsmd \ |