From owner-freebsd-mobile@FreeBSD.ORG Fri May 16 15:58:36 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 835731065673 for ; Fri, 16 May 2008 15:58:36 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from osl1smout1.broadpark.no (osl1smout1.broadpark.no [80.202.4.58]) by mx1.freebsd.org (Postfix) with ESMTP id 3C61A8FC15 for ; Fri, 16 May 2008 15:58:36 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from osl1sminn1.broadpark.no ([80.202.4.59]) by osl1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0K0Y00IV3UXCHF00@osl1smout1.broadpark.no> for freebsd-mobile@freebsd.org; Fri, 16 May 2008 16:58:24 +0200 (CEST) Received: from kg-work.kg4.no ([80.202.173.59]) by osl1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0K0Y009JBUXA9ZA3@osl1sminn1.broadpark.no> for freebsd-mobile@freebsd.org; Fri, 16 May 2008 16:58:24 +0200 (CEST) Date: Fri, 16 May 2008 16:58:22 +0200 From: Torfinn Ingolfsen To: freebsd-mobile@freebsd.org Message-id: <20080516165822.6e2c2d6c.torfinn.ingolfsen@broadpark.no> In-reply-to: References: <20070913153308.M2541@swaggi.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd6.3) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: SD/MMC (ricoh) reader on Thinkpad T61 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: Fri, 16 May 2008 15:58:36 -0000 On Fri, 14 Sep 2007 11:34:27 +0900 Hajimu UMEMOTO wrote: > You may want to try: > > http://www.agt.ne.jp/~a-gota/programs/driver/FBSD6.2R/memcard/sdmmc-20070627.tar.gz > > I'm not sure if it is ready on 7-CURRENT, though. It tried this driver on 7-stable: tingo@testhost-1$ uname -a FreeBSD testhost-1.kg4.no 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat May 10 01:56:29 CEST 2008 root@testhost-1.kg4.no:/usr/obj/usr/src/sys/GENERIC i386 like this: tingo@testhost-1$ pwd /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc tingo@testhost-1$ make Warning: Object directory not changed from original /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc cc -O -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I/usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../ -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c: In function 'sdshc_attach': /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:346: warning: passing argument 4 of 'bus_setup_intr' from incompatible pointer type /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:346: warning: passing argument 5 of 'bus_setup_intr' from incompatible pointer type /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:346: error: too few arguments to function 'bus_setup_intr' /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c: In function 'sdshc_intr': /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:448: warning: implicit declaration of function 'bus_space_read_2' /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:448: warning: nested extern declaration of 'bus_space_read_2' /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c: In function 'sdshc_reset': /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:612: warning: implicit declaration of function 'bus_space_write_1' /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:612: warning: nested extern declaration of 'bus_space_write_1' /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:614: warning: implicit declaration of function 'bus_space_read_1' /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc/../../dev/sdmmc/sdshc.c:614: warning: nested extern declaration of 'bus_space_read_1' *** Error code 1 Stop in /usr/home/tingo/work/sdmmc-20070627/modules/sdmmc. Does anyone know if the driver has been updated for 7.0-stable somehwere? -- Regards, Torfinn Ingolfsen, Norway