From owner-freebsd-mobile@FreeBSD.ORG Wed Feb 22 12:38:57 2006 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B76B616A420 for ; Wed, 22 Feb 2006 12:38:57 +0000 (GMT) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail1.asahi-net.or.jp [202.224.39.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EA0543D45 for ; Wed, 22 Feb 2006 12:38:57 +0000 (GMT) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (b151071.ppp.asahi-net.or.jp [202.213.151.71]) by mail.asahi-net.or.jp (Postfix) with ESMTP id E361026B3E for ; Wed, 22 Feb 2006 21:38:55 +0900 (JST) Date: Wed, 22 Feb 2006 21:39:39 +0900 From: Watanabe Kazuhiro To: freebsd-mobile In-Reply-To: <43F9EC74.8010901@umc.ua> References: <43F9EC74.8010901@umc.ua> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20060222123855.E361026B3E@mail.asahi-net.or.jp> Subject: Re: [ptmdm] - PCTel HSP MicroModem driver for FreeBSD X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 12:38:57 -0000 At Mon, 20 Feb 2006 18:21:08 +0200, Oleksandr Tatmanyants wrote: > Here you are. > Not too much, just one line added and one more hacked ;) > And Makefile changed a bit. OK. I got your reply. Your modification looks like correct. > nm i8xxhal.o | grep -w U > U __const_udelay_Reae3dfd6 > U __udelay_R9e7d6bd0 > U codecID > U kfree_R037a0cba > U kmalloc_R93d4cfe6 > U printk_R1b7d4074 > U schedule_timeout_R17d59d01 > > codecID is defined in amr/dsp.a > __udelay... could be directly mapped to DELAY(9) > kmalloc... and kfree... could be implemented using malloc(9) and free(9) > printk... could be implemented using printf(9) > But I have no idea how to deal with __const_udelay... and > schedule_timeout... I don't have a good idea, too... sorry! As far as I know, the original Linux pctel driver doesn't work on the Linux kernel 2.6.x with Intel ICHs (it only works 2.4.x). I didn't know the reason until now. But perhaps there is a similar problem (call the Linux kernel funcitons directory from the binaly module). --- Watanabe Kazuhiro (CQG00620@nifty.ne.jp)