From owner-freebsd-mobile@FreeBSD.ORG Sat May 17 01:14:23 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 E49481065670; Sat, 17 May 2008 01:14:23 +0000 (UTC) (envelope-from lists@swaggi.com) Received: from rusty.swaggy.net (rusty.swaggy.net [204.14.85.196]) by mx1.freebsd.org (Postfix) with ESMTP id BBAA28FC21; Sat, 17 May 2008 01:14:23 +0000 (UTC) (envelope-from lists@swaggi.com) Received: from localhost ([127.0.0.1] helo=swaggi.com) by rusty.swaggy.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JxAI7-000Bz1-24; Fri, 16 May 2008 20:28:55 -0400 From: "Yuri Lukin" To: Norikatsu Shigemura , Torfinn Ingolfsen Date: Fri, 16 May 2008 20:28:51 -0400 Message-Id: <20080517002534.M73532@swaggi.com> In-Reply-To: <20080517023129.b1999f1c.nork@FreeBSD.org> References: <20070913153308.M2541@swaggi.com> <20080516165822.6e2c2d6c.torfinn.ingolfsen@broadpark.no> <20080517023129.b1999f1c.nork@FreeBSD.org> X-Mailer: swaggi.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: freebsd-mobile@FreeBSD.org 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: Sat, 17 May 2008 01:14:24 -0000 On Sat, 17 May 2008 02:31:29 +0900, Norikatsu Shigemura wrote > On Fri, 16 May 2008 16:58:22 +0200 > Torfinn Ingolfsen wrote: > > Does anyone know if the driver has been updated for 7.0-stable somehwere? > > The newest one is here: > http://www.agt.ne.jp/~a-gota/programs/driver/FBSD6.2R/memcard/sdmmc- > 20080208.tar.gz > > And, takawata@ fixed its panic issue (lock issue): > http://www.init-main.com/sdmmc.patch > NOTE: This patch provides for old version. So ignore .rej files. > .rej files have many already fixed codes. > > I'm using on 8-current, and sdmmc(4) quite good works. Thanks for the updated driver and the patch, I can confirm it fixes the panic on 7.0-RELEASE. On my Thinkpad T61, loading the module I get: sdshc0: mem 0xf8101800-0xf81018ff irq 18 at device 0.2 on pci21 sdshc0: [ITHREAD] sdshcbus0: on sdshc0 sdshcbus0: capability: 3.3V Suspend/Resume DMA High-Speed ...and inserting an SD card I get: sdshcbus0: card inserted in slot #0 sd0: on sdshcbus0 sd0: Ver 1.x SD memory card sd0: 968MB (1984000 x 512-byte blocks) sd0: access time: read 1.5ms, write 24.0ms sd0: speed class 0 sd0: max clock 25MHz, drive at 16.500MHz sd0: 8.250MB/s transfers with 4-bit bus width Works great, thanks again. Regards, Yuri