From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 11/11] ide-pmac: remove pmac_ide_do_setfeature() (take 2) Date: Tue, 24 Jul 2007 08:45:14 +1000 Message-ID: <1185230714.5439.150.camel@localhost.localdomain> References: <200707240029.02584.bzolnier@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from gate.crashing.org ([63.228.1.57]:55109 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761863AbXGWWpU (ORCPT ); Mon, 23 Jul 2007 18:45:20 -0400 In-Reply-To: <200707240029.02584.bzolnier@gmail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Bartlomiej Zolnierkiewicz Cc: linux-ide@vger.kernel.org On Tue, 2007-07-24 at 00:29 +0200, Bartlomiej Zolnierkiewicz wrote: > Use ide_config_drive_speed() instead of pmac_ide_do_setfeature() and remove > the latter, also ide-iops.c::__ide_wait_stat() could be static again. > > Since for IDE PMAC host driver IDE_CONTROL_REG is always true, device's > ->quirk_list is always zero and ->ide_dma_host_{on,off} are nops than > the only changes in behavior are: > > * if PIO mode is set then ->dma_off_queitly is called to disable DMA > > * if setting transfer mode fails ide_dump_status() is called to dump status I'll test that today. Cheers, Ben.