From patchwork Tue Apr 2 16:10:43 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 15821 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B00AB23E00 for ; Tue, 2 Apr 2013 16:10:52 +0000 (UTC) Received: from mail-fa0-f71.google.com (mail-fa0-f71.google.com [209.85.161.71]) by fiordland.canonical.com (Postfix) with ESMTP id 80BCAA18874 for ; Tue, 2 Apr 2013 16:10:52 +0000 (UTC) Received: by mail-fa0-f71.google.com with SMTP id w1sf877759fad.2 for ; Tue, 02 Apr 2013 09:10:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-beenthere:x-received:received-spf :x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=Kst8mJW5i84PAd4WmEClzLDs+K8Ku46saiBd1jsfwjU=; b=TdbLh5O3rtffSvNhl0nYaJbhbQc9sbWzqSV5FhyaZEeWnUGw05djYZwookYvPxMUdL k3ecAPuD1LCD8xT3Byrwj+QC+kUMXRENQCcz9kQvjuTzS24mtjBnQXAuzMW/J8W9IxJY Pj4tFljZ7zWEGd5pMEgLfb3eiV0dBbzSo52uJ4kT5/cgR/SxEUKSUqc24PUfb2T0vsLU gV8uaba3Icf1srrlYunrxIV8Hr+3dHPyEmh1XQ8Rl3KNaAfTMjBJ6hODpHaHmlQorY3k UbJx2H+3+Cdsna0Lm7GX7afpx9tIOpThKBtzFUM3KRxFYAeFuDdiMDjW+zBf0KHiXW0m A0ag== X-Received: by 10.180.106.232 with SMTP id gx8mr3178902wib.2.1364919052327; Tue, 02 Apr 2013 09:10:52 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.181.13.173 with SMTP id ez13ls260588wid.43.gmail; Tue, 02 Apr 2013 09:10:52 -0700 (PDT) X-Received: by 10.194.87.229 with SMTP id bb5mr22926057wjb.32.1364919052056; Tue, 02 Apr 2013 09:10:52 -0700 (PDT) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id ej19si823121wic.110.2013.04.02.09.10.51 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 09:10:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id d10so718037vea.28 for ; Tue, 02 Apr 2013 09:10:51 -0700 (PDT) X-Received: by 10.58.210.200 with SMTP id mw8mr13196823vec.32.1364919050999; Tue, 02 Apr 2013 09:10:50 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.59.4.204 with SMTP id cg12csp131814ved; Tue, 2 Apr 2013 09:10:50 -0700 (PDT) X-Received: by 10.194.178.9 with SMTP id cu9mr23135663wjc.39.1364919049851; Tue, 02 Apr 2013 09:10:49 -0700 (PDT) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id ud6si827896wjc.130.2013.04.02.09.10.49 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 02 Apr 2013 09:10:49 -0700 (PDT) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1UN3nJ-0004nS-4K; Tue, 02 Apr 2013 17:10:45 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Magnus Damm , Anthony Liguori , David Gibson Subject: [PATCH 1/2] hw/sm501: Use correct setter for sysbus-ohci dma-address property Date: Tue, 2 Apr 2013 17:10:43 +0100 Message-Id: <1364919044-18413-2-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1364919044-18413-1-git-send-email-peter.maydell@linaro.org> References: <1364919044-18413-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQlcJFmwY2OOvVAxhfgne6gZ8GYCVso6GBV/FNXlfyq0bbrEYbuKwDncQzVs7x3ieoc2CcX4 X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The sysbus-ohci dma-address property is declared as a HEX64 property, not a TADDR, so use the correct setter for it. Signed-off-by: Peter Maydell --- hw/sm501.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/sm501.c b/hw/sm501.c index 93a06c9..0ef6b8a 100644 --- a/hw/sm501.c +++ b/hw/sm501.c @@ -1430,7 +1430,7 @@ void sm501_init(MemoryRegion *address_space_mem, uint32_t base, /* bridge to usb host emulation module */ dev = qdev_create(NULL, "sysbus-ohci"); qdev_prop_set_uint32(dev, "num-ports", 2); - qdev_prop_set_taddr(dev, "dma-offset", base); + qdev_prop_set_uint64(dev, "dma-offset", base); qdev_init_nofail(dev); sysbus_mmio_map(SYS_BUS_DEVICE(dev), 0, base + MMIO_BASE_OFFSET + SM501_USB_HOST);