From owner-freebsd-arm@FreeBSD.ORG Thu Nov 6 17:12:11 2008 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 958171065673; Thu, 6 Nov 2008 17:12:11 +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 3BE168FC0A; Thu, 6 Nov 2008 17:12:11 +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 mA6H9WGk053717; Thu, 6 Nov 2008 10:09:32 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 06 Nov 2008 10:10:47 -0700 (MST) Message-Id: <20081106.101047.163264510.imp@bsdimp.com> To: mav@freebsd.org From: "M. Warner Losh" In-Reply-To: <49131109.2020601@FreeBSD.org> References: <49130918.5030904@FreeBSD.org> <20081106163729.clcw2eulgk0k4w0c@0x20.net> <49131109.2020601@FreeBSD.org> 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, 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-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2008 17:12:11 -0000 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. : > 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. Warner