SD/MMC (ricoh) reader on Thinkpad T61

Torfinn Ingolfsen torfinn.ingolfsen at broadpark.no
Fri May 16 15:58:36 UTC 2008


On Fri, 14 Sep 2007 11:34:27 +0900
Hajimu UMEMOTO <ume at freebsd.org> 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 at 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 at testhost-1.kg4.no:/usr/obj/usr/src/sys/GENERIC  i386

like this:
tingo at testhost-1$ pwd
/usr/home/tingo/work/sdmmc-20070627/modules/sdmmc
tingo at 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



More information about the freebsd-mobile mailing list