Send commitlog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r3632 - developers/sameo/patches/ar6k-ng ([EMAIL PROTECTED])
   2. r3633 - in
      trunk/src/target/OM-2007.2/applications/openmoko-calculator2: .
      po ([EMAIL PROTECTED])
   3. r3634 - trunk/src/target/gsm/include/libgsmd
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: sameo
Date: 2007-12-11 22:04:05 +0100 (Tue, 11 Dec 2007)
New Revision: 3632

Added:
   developers/sameo/patches/ar6k-ng/155-sdio_io_generic_rw.patch
Modified:
   developers/sameo/patches/ar6k-ng/series
Log:
ar6k-ng: Added a generic SDIO rw function.


Added: developers/sameo/patches/ar6k-ng/155-sdio_io_generic_rw.patch
===================================================================
--- developers/sameo/patches/ar6k-ng/155-sdio_io_generic_rw.patch       
2007-12-11 20:57:55 UTC (rev 3631)
+++ developers/sameo/patches/ar6k-ng/155-sdio_io_generic_rw.patch       
2007-12-11 21:04:05 UTC (rev 3632)
@@ -0,0 +1,75 @@
+---
+ drivers/mmc/core/sdio_io.c |   60 
+++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 60 insertions(+)
+
+Index: linux-2.6.22-atheros-ng/drivers/mmc/core/sdio_io.c
+===================================================================
+--- linux-2.6.22-atheros-ng.orig/drivers/mmc/core/sdio_io.c    2007-12-11 
22:00:41.000000000 +0100
++++ linux-2.6.22-atheros-ng/drivers/mmc/core/sdio_io.c 2007-12-11 
22:01:56.000000000 +0100
+@@ -254,6 +254,66 @@
+       return 0;
+ }
+ 
++int sdio_io_rw(struct sdio_func *func, int write, int block, int block_size, 
int block_count,
++             unsigned addr, int incr_addr, u8 *buf, unsigned size)
++{
++      unsigned remainder = size;
++      unsigned max_blocks;
++      int ret;
++
++      /* Do the bulk of the transfer using block mode (if supported). */
++      if (func->card->cccr.multi_block && block) {
++              /* Blocks per command is limited by host count, host transfer
++               * size (we only use a single sg entry) and the maximum for
++               * IO_RW_EXTENDED of 511 blocks. */
++              max_blocks = min(min(
++                      func->card->host->max_blk_count,
++                      func->card->host->max_seg_size / block_size),
++                      511u);
++
++              while (remainder > block_size) {
++                      if (block_count > max_blocks) {
++                              printk("Request block count %d > max %d\n", 
block_count, max_blocks);
++                              block_count = max_blocks;
++                      }
++                      size = block_count * block_size;
++
++                      ret = mmc_io_rw_extended(func->card, write,
++                                               func->num, addr, incr_addr, 
buf,
++                                               block_count, block_size);
++                      if (ret)
++                              return ret;
++
++                      remainder -= size;
++                      buf += size;
++                      if (incr_addr)
++                              addr += size;
++              }
++      }
++
++      /* Write the remainder using byte mode. */
++      while (remainder > 0) {
++              size = remainder;
++              if (size > block_size)
++                      size = block_size;
++              if (size > 512)
++                      size = 512; /* maximum size for byte mode */
++
++              ret = mmc_io_rw_extended(func->card, write, func->num, addr,
++                                       incr_addr, buf, 1, size);
++              if (ret)
++                      return ret;
++
++              remainder -= size;
++              buf += size;
++              if (incr_addr)
++                      addr += size;
++      }
++      return 0;
++}
++
++EXPORT_SYMBOL_GPL(sdio_io_rw);
++
+ /**
+  *    sdio_readb - read a single byte from a SDIO function
+  *    @func: SDIO function to access

Modified: developers/sameo/patches/ar6k-ng/series
===================================================================
--- developers/sameo/patches/ar6k-ng/series     2007-12-11 20:57:55 UTC (rev 
3631)
+++ developers/sameo/patches/ar6k-ng/series     2007-12-11 21:04:05 UTC (rev 
3632)
@@ -4,3 +4,5 @@
 130-gta02v2.patch
 140-s3c24xx_mci_platform.patch
 150-mmc_powerup_delay.patch
+155-sdio_io_generic_rw.patch
+160-ar6k_ng.patch




--- End Message ---
--- Begin Message ---
Author: ortalo
Date: 2007-12-11 22:04:08 +0100 (Tue, 11 Dec 2007)
New Revision: 3633

Added:
   trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/LINGUAS
   trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/it.po
Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-calculator2/Makefile.am
   trunk/src/target/OM-2007.2/applications/openmoko-calculator2/autogen.sh
   trunk/src/target/OM-2007.2/applications/openmoko-calculator2/configure.ac
Log:
Added Italian translation, courtesy of Milo Casagrande <[EMAIL PROTECTED]>
Switched to a separate LINGUAS file (pointed by Milo too) while adjusting
configure.ac to include an AC_CONFIG_AUX_DIR(.) directive for safety.
The latter may affect several other packages (see bug 1095 for details).


Modified: 
trunk/src/target/OM-2007.2/applications/openmoko-calculator2/Makefile.am
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-calculator2/Makefile.am    
2007-12-11 21:04:05 UTC (rev 3632)
+++ trunk/src/target/OM-2007.2/applications/openmoko-calculator2/Makefile.am    
2007-12-11 21:04:08 UTC (rev 3633)
@@ -1,3 +1,11 @@
 AUTOMAKE_OPTIONS=foreign
 SUBDIRS = src data po
 
+INTLTOOL_BUILT = \
+        intltool-extract \
+        intltool-merge \
+        intltool-update
+
+EXTRA_DIST = $(INTLTOOL_BUILT:=.in)
+
+DISTCLEANFILES = $(INTLTOOL_BUILT)

Modified: 
trunk/src/target/OM-2007.2/applications/openmoko-calculator2/autogen.sh
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-calculator2/autogen.sh     
2007-12-11 21:04:05 UTC (rev 3632)
+++ trunk/src/target/OM-2007.2/applications/openmoko-calculator2/autogen.sh     
2007-12-11 21:04:08 UTC (rev 3633)
@@ -1,4 +1,6 @@
 #! /bin/sh
 autoreconf -v --install || exit 1
+libtoolize --copy --force || exit 1
 glib-gettextize --force --copy || exit 1
+intltoolize --copy --force --automake || exit 1
 ./configure --enable-maintainer-mode "$@"

Modified: 
trunk/src/target/OM-2007.2/applications/openmoko-calculator2/configure.ac
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-calculator2/configure.ac   
2007-12-11 21:04:05 UTC (rev 3632)
+++ trunk/src/target/OM-2007.2/applications/openmoko-calculator2/configure.ac   
2007-12-11 21:04:08 UTC (rev 3633)
@@ -1,7 +1,8 @@
 AC_PREREQ(2.53)
 AC_INIT(openmoko-calculator, 0.0.5, [EMAIL PROTECTED])
+AC_CONFIG_SRCDIR(src/calc-main.c)
+AC_CONFIG_AUX_DIR(.)
 AM_INIT_AUTOMAKE()
-AC_CONFIG_SRCDIR(src/calc-main.c)
 AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
@@ -11,10 +12,10 @@
 AC_PROG_LIBTOOL
 
 dnl i18n support
+AC_PROG_INTLTOOL([0.35.0])
 GETTEXT_PACKAGE=Calculator
 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
 AC_SUBST(GETTEXT_PACKAGE)
-ALL_LINGUAS="fr ru sv"
 AM_GLIB_GNU_GETTEXT
 
 # base deps

Added: trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/LINGUAS
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/LINGUAS     
2007-12-11 21:04:05 UTC (rev 3632)
+++ trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/LINGUAS     
2007-12-11 21:04:08 UTC (rev 3633)
@@ -0,0 +1,5 @@
+# Keep this list sorted alphabetically, one locale per line
+fr
+it
+ru
+sv

Added: trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/it.po
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/it.po       
2007-12-11 21:04:05 UTC (rev 3632)
+++ trunk/src/target/OM-2007.2/applications/openmoko-calculator2/po/it.po       
2007-12-11 21:04:08 UTC (rev 3633)
@@ -0,0 +1,49 @@
+# Italian translation of openmoko-calculator.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the openmoko-calculator 
package.
+# Milo Casagrande <[EMAIL PROTECTED]>, 2007
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: openmoko-calculatore trunk\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2007-12-09 20:57+0100\n"
+"PO-Revision-Date: 2007-12-05 21:33+0100\n"
+"Last-Translator: Milo Casagrande <[EMAIL PROTECTED]>\n"
+"Language-Team: Italian <[EMAIL PROTECTED]>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: ../src/calc-main.c:71
+msgid "CE"
+msgstr "CE"
+
+#: ../src/calc-main.c:71
+msgid "C"
+msgstr "C"
+
+#: ../src/calc-main.c:75
+msgid "."
+msgstr "."
+
+#: ../src/calc-main.c:101
+msgid "Error"
+msgstr "Errore"
+
+#: ../src/calc-main.c:105
+msgid ""
+"Error\n"
+"<span foreground=\"darkgrey\" size=\"smaller\">covert_channel/ack</span>\n"
+"<span foreground=\"orange\" style=\"italic\">Beam request transmitted...</"
+"span>"
+msgstr ""
+"Errore\n"
+"<span foreground=\"darkgrey\" size=\"smaller\">covert_channel/ack</span>\n"
+"<span foreground=\"orange\" style=\"italic\">Richiesta beam trasmessa...</"
+"span>"
+
+#. application
+#: ../src/calc-main.c:342
+msgid "Calculator"
+msgstr "Calcolatrice"




--- End Message ---
--- Begin Message ---
Author: erin_yueh
Date: 2007-12-12 04:45:46 +0100 (Wed, 12 Dec 2007)
New Revision: 3634

Modified:
   trunk/src/target/gsm/include/libgsmd/phonebook.h
Log:
gsmd: remove the redundant API of phonebook(Sean Chiang)


Modified: trunk/src/target/gsm/include/libgsmd/phonebook.h
===================================================================
--- trunk/src/target/gsm/include/libgsmd/phonebook.h    2007-12-11 21:04:08 UTC 
(rev 3633)
+++ trunk/src/target/gsm/include/libgsmd/phonebook.h    2007-12-12 03:45:46 UTC 
(rev 3634)
@@ -56,15 +56,6 @@
        char                    text[LGSM_PB_TEXT_MAXLEN+1];
 };
 
-/* Get a specific phonebook entry  and store it to 'pb'
- * pb' is caller-allocated */
-extern int lgsm_pb_get_entry(struct lgsm_handle *lh,
-                            struct lgsm_pb_entry *pb);
-
-/* Store a specific phonebook entry 'pb' into phone */
-extern int lgsm_pb_set_entry(struct lgsm_handle *lh,
-                            struct lgsm_pb_entry *pb);
-
 /* List of supported phonebook memory storage */
 extern int lgsm_pb_list_storage(struct lgsm_handle *lh);
 




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to