From owner-freebsd-ppc@FreeBSD.ORG  Fri Apr  7 21:13:57 2006
Return-Path: <owner-freebsd-ppc@FreeBSD.ORG>
X-Original-To: freebsd-ppc@freebsd.org
Delivered-To: freebsd-ppc@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5CB8716A406
	for <freebsd-ppc@freebsd.org>; Fri,  7 Apr 2006 21:13:57 +0000 (UTC)
	(envelope-from grehan@freebsd.org)
Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BE13743D58
	for <freebsd-ppc@freebsd.org>; Fri,  7 Apr 2006 21:13:55 +0000 (GMT)
	(envelope-from grehan@freebsd.org)
Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228])
	by dommail.onthenet.com.au (MOS 3.5.7-GR)
	with ESMTP id BTH28477 (AUTH peterg@ptree32.com.au);
	Sat, 8 Apr 2006 07:13:50 +1000 (EST)
Message-ID: <4436D602.6040702@freebsd.org>
Date: Fri, 07 Apr 2006 14:13:38 -0700
From: Peter Grehan <grehan@freebsd.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014
MIME-Version: 1.0
To: Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no>
References: <20060326180148.010f5789.torfinn.ingolfsen@broadpark.no>	<20060406031813.GA3653@sharma-home.net>
	<20060407230252.95e40fa7.torfinn.ingolfsen@broadpark.no>
In-Reply-To: <20060407230252.95e40fa7.torfinn.ingolfsen@broadpark.no>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-ppc@freebsd.org
Subject: Re: Enable ata DMA on a PowerMac G4?
X-BeenThere: freebsd-ppc@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting FreeBSD to the PowerPC <freebsd-ppc.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ppc>,
	<mailto:freebsd-ppc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ppc>
List-Post: <mailto:freebsd-ppc@freebsd.org>
List-Help: <mailto:freebsd-ppc-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ppc>,
	<mailto:freebsd-ppc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 07 Apr 2006 21:13:57 -0000

Hi Torfinn,

> And I guess it would take more than changing the 
>         atadev->mode = ATA_PIO;
> in ata_macio_setmode() in ata_macio.c to fix it?

  Yes - the DMA controller for the macio ata cells is very unlike 
'standard' PIIX PCI-ATA DMA.

later,

Peter.