Received: by mail.netbsd.org (Postfix, from userid 605) id BB8D514A133; Wed, 12 Dec 2012 06:23:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3360B14A0E3 for ; Wed, 12 Dec 2012 06:23:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id lUPtoS9JDoZj for ; Wed, 12 Dec 2012 06:23:27 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 8491414A0C4 for ; Wed, 12 Dec 2012 06:23:27 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id ABE5A175DF; Wed, 12 Dec 2012 06:24:02 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Wed, 12 Dec 2012 06:24:02 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys/dev/sdmmc To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20121212062402.ABE5A175DF@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: riastradh Date: Wed Dec 12 06:24:02 UTC 2012 Modified Files: src/sys/dev/sdmmc: sdhc.c Log Message: Avoid the 16-bit read in sdhc_host_found for 32-bit-only devices. This change makes sdhc_host_found allocate hp up front before showing the identification, in order to avoid having to open-code a copy of HREAD2 before hp is available. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sys/dev/sdmmc/sdhc.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.