From owner-freebsd-mips@FreeBSD.ORG Wed Apr 10 23:56:16 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 702B1404; Wed, 10 Apr 2013 23:56:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) by mx1.freebsd.org (Postfix) with ESMTP id A9414260; Wed, 10 Apr 2013 23:56:15 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id ez12so1109wid.5 for ; Wed, 10 Apr 2013 16:56:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=kPorltgDN2CW95HMiQOqP1eTeEPuwsAaQGIC4DBX/wY=; b=MI7l6LNLvMWyqRcdteWHDELpJg63GQAFIC+bB3FVCA7VYWBajJz7yEKEOB5bZDDjMg BzXEKby5KAxfjCPQVpmJmA7ZNdOUBA6GcCu5+ibkCHSuCAPm5OGuA3oPrtLnaoowRagf tvNDZZaFPiNGcoAl9p7JhnCFEVjmMRLpJ1xo7JJMAnCNs+fGiXZsCFiqAKJA7Qdp9zml Twc2oBvEphbUnPKmv6+jJ9BZ4FuDXmSk+PvKvUBirqJWkjo/YUPVjyVMJre+mEI/Px6/ RiErS5KiHEUNLziu4Si6hbDJDhuO3Iy4QO+Eb4kFQQUh4VS8+1Gx+JK1CNdjtGnpwSR9 s6kg== MIME-Version: 1.0 X-Received: by 10.180.38.105 with SMTP id f9mr6628550wik.15.1365638174796; Wed, 10 Apr 2013 16:56:14 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.217.121.136 with HTTP; Wed, 10 Apr 2013 16:56:14 -0700 (PDT) In-Reply-To: References: <20130407011307.9a9a9d64.ray@freebsd.org> <20130407022428.86a66c6a.ray@freebsd.org> <20130408153334.9cc11688aedbf32dcbf83a7b@freebsd.org> <1365605147.41399.227.camel@revolution.hippie.lan> <1365609642.41399.237.camel@revolution.hippie.lan> Date: Wed, 10 Apr 2013 16:56:14 -0700 X-Google-Sender-Auth: hFbXvF_hoTkS_AV3pYD4SyWn4uo Message-ID: Subject: Re: [PATCH] MMC/SD SPI-mode driver From: Adrian Chadd To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 Cc: Aleksandr Rybalko , Dmytro , freebsd-mips@freebsd.org, Ian Lepore X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Apr 2013 23:56:16 -0000 On 10 April 2013 16:45, Warner Losh wrote: >> So you're special casing it in the bus code rather than the driver >> code. It's still ugly, but it's hid from the driver. > > At least in the bus code we won't have to put this code into each of our SPI flash drivers... *nod* I know. I'm happy with the bus doing this, as long as we do have that flag. :-) adrian