From owner-freebsd-arm@FreeBSD.ORG Thu Jun 7 20:14:52 2007 Return-Path: X-Original-To: arm@freebsd.org Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 75AE716A400 for ; Thu, 7 Jun 2007 20:14:52 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de (mail.smartterra.de [195.225.132.203]) by mx1.freebsd.org (Postfix) with ESMTP id 3554113C45E for ; Thu, 7 Jun 2007 20:14:52 +0000 (UTC) (envelope-from bkoenig@alpha-tierchen.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 86600-06; Thu, 7 Jun 2007 22:14:50 +0200 (CEST) Received: from home.alpha-tierchen.de (port-212-202-170-5.dynamic.qsc.de [212.202.170.5]) by mail.liberty-hosting.de (Postfix) with ESMTP id 6259017F445; Thu, 7 Jun 2007 22:14:50 +0200 (CEST) Received: from webmail.alpha-tierchen.de (localhost [127.0.0.1]) by home.alpha-tierchen.de (Postfix) with ESMTP id A28D045046; Thu, 7 Jun 2007 22:14:47 +0200 (CEST) Received: from 2001:6f8:101e:0:20e:cff:fe6d:6adb (SquirrelMail authenticated user bkoenig) by webmail.alpha-tierchen.de with HTTP; Thu, 7 Jun 2007 22:14:47 +0200 (CEST) Message-ID: <54940.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181247287.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <20070607123930.E75948@synthcom.com> References: <50392.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181235257.squirrel@webmail.alpha-tierchen.de> <20070607180946.GK16463@cicely12.cicely.de> <49754.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181244172.squirrel@webmail.alpha-tierchen.de> <20070607.133456.74668036.imp@bsdimp.com> <20070607123930.E75948@synthcom.com> Date: Thu, 7 Jun 2007 22:14:47 +0200 (CEST) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= To: "Neil Bradley" User-Agent: SquirrelMail/1.4.10a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at mail.smartterra.de Cc: arm@freebsd.org Subject: Re: 4-bit SD Card mode 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, 07 Jun 2007 20:14:52 -0000 M. Warner Losh wrote: >> I'm not sure I like this at all. The devices shouldn't be setting up >> the pins for that device. In some cases, they can't know how to do >> that, and this is one of them. The device has no way of knowing if >> all 4 wires are connected, or just 1 and the 'spare' lines are used >> for GPIO. and Neil Bradley replied: > Not doing it will irritate more people (i.e. "I'm not getting full speed > out of the SD card). While it's a valid concern, I don't think it's > unrealistic to assume that all 4 DAT lines are hooked up. I've not yet > encountered a design that A) had SD capabilities, B) was only running > single bit because of a lack of GPIOs. Initially I didn't have the problem that "I'm not getting full speed out of the SD card", but rather that SD Cards doesn't work at all with a vanilla FreeBSD kernel because nobody configured the PIO for the MCI controller. Björn