From owner-freebsd-ppc@FreeBSD.ORG Fri Sep 26 17:48:32 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8BAC1065689 for ; Fri, 26 Sep 2008 17:48:32 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id 960F28FC0A for ; Fri, 26 Sep 2008 17:48:32 +0000 (UTC) (envelope-from marcotrillo@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1145624wfg.7 for ; Fri, 26 Sep 2008 10:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=grJ06KHBV7So8ZHZPDfVNxYxFS0t2r4EqegCCJSLoqE=; b=dQ5LjaKGOGwQJxn9WuZwVoL2O5HHiKFLJM55mcI9IPaRb5AdmQlRyM1EngGFn7hPuJ HU1UnXqgyufARBtZcBJNmUDaAUuXIAwheuZ57xN1JPrzYRavQAccDh/O5DVMn2/Lr/6d UwNAzooA1jK4XIKhbaabbvAQDkvzyhR+cBW5o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=c3duP2Ikj5WKfCABSoJNgF/tm1bEMt1if48e4j79i0kta7a0f9qYoPlTv1661n3XW8 ZFe9U3r7xOtyVFi5MXPHKVjZ1YNg2sZv8vtdgmwgdlqr6P9A+UFVy8Pe1qpBNOcs9/Lb rsbfPYLgRXowQgD7OZWIFi7DTbbFktitu7cAE= Received: by 10.142.212.19 with SMTP id k19mr724571wfg.13.1222451312305; Fri, 26 Sep 2008 10:48:32 -0700 (PDT) Received: by 10.142.101.13 with HTTP; Fri, 26 Sep 2008 10:48:32 -0700 (PDT) Message-ID: Date: Fri, 26 Sep 2008 19:48:32 +0200 From: "Marco Trillo" To: "Nathan Whitehorn" In-Reply-To: <48DBD6C0.5070005@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48D389EE.9000207@FreeBSD.org> <48D7F437.1040603@FreeBSD.org> <645CD2B8-11A0-42E8-B5F9-C04DCF21F763@mac.com> <48D84C12.7070207@freebsd.org> <0DD89065-9CF3-45E4-89A0-70D6BBB9621D@mac.com> <48D92D44.6080807@freebsd.org> <48DA4037.9000508@freebsd.org> <48DBD6C0.5070005@freebsd.org> Cc: freebsd-ppc@freebsd.org Subject: Re: Call for testers: Apple ATA DMA X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 17:48:32 -0000 Hi Nathan, On Thu, Sep 25, 2008 at 8:21 PM, Nathan Whitehorn wrote: > Well I'm glad to hear that something works :) > > I just added in support for setting the timing correctly when the bus has > multiple devices running at different speeds and also for programming > reasonable PIO defaults for ata_macio. I hope the combination solves the > problems seen by both you and Marcel, so more testing would be appreciated. > As usual, the patch is here: The patch seems to work for me, I get no hangs or errors at boot time: ata0 mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata0: [ITHREAD] ata1: mem 0xf5004000-0xf5007fff irq 39,1 at device 13.0 on pci2 ata1: [ITHREAD] acd0: DVDR at ata0-master WDMA2 ad0: 38166MB at ata1-master UDMA100 The ad0 disk works perfectly in UDMA100 (I have tested it a lot these days without problems). I have not tested acd0 yet, but I'm going to test it and report how well does it work. Thanks! Marco.