From owner-freebsd-current@FreeBSD.ORG Thu Nov 6 17:41:40 2008 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C5B0106567A; Thu, 6 Nov 2008 17:41:40 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 27D5B8FC13; Thu, 6 Nov 2008 17:41:40 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id mA6HcUBL054147; Thu, 6 Nov 2008 10:38:30 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 06 Nov 2008 10:39:45 -0700 (MST) Message-Id: <20081106.103945.660268105.imp@bsdimp.com> To: lme@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <20081106172850.GG8256@e.0x20.net> References: <49131109.2020601@FreeBSD.org> <20081106.101047.163264510.imp@bsdimp.com> <20081106172850.GG8256@e.0x20.net> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.org, mav@FreeBSD.org, freebsd-current@FreeBSD.org, lars.engels@0x20.net, freebsd-mobile@FreeBSD.org Subject: Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 17:41:40 -0000 In message: <20081106172850.GG8256@e.0x20.net> Lars Engels writes: : On Thu, Nov 06, 2008 at 10:10:47AM -0700, M. Warner Losh wrote: : > In message: <49131109.2020601@FreeBSD.org> : > Alexander Motin writes: : > : Lars Engels wrote: : > : > 1. How can I tune the PCI configuration? With pciconf -w or so? : > : : > : Yes. `pciconf -r -b device addr` to read and `pciconf -w -b device addr : > : value` to write. : > : > I have changes that almost make my TI card do it. : : So you're still working on this? TI changes are different than Richo changes : > : > 2. Unfortunately the sysctl did not change a thing with regard to the : > : > Card reader. : > : : > : Have you added it to the loader.conf and rebooted? : > : : > : > 3. I added the chip ID and the second device is now recognized as a : > : > sdhci device but still does not see any card inserted: : > : > : > : > Nov 6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify base : > : > clock frequency. : > : > Nov 6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify : > : > timeout clock frequency. : > : > Nov 6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't report any : > : > support voltages. : > : : > : Looks like it is not enough compatible, or even not compatible. : > : > Chances are good that you need to the workaround to turn on these : > things. : : Tell me where I can get the workaround when you have a working version : or something to test. :) I'll look at the linux workaround... Warner