From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH 3/4] ide: make ide_rate_filter() also respect PIO and SW/MW DMA mode masks (take 2) Date: Mon, 24 Sep 2007 16:44:07 +0400 Message-ID: <46F7B117.5000202@ru.mvista.com> References: <200709022344.18565.sshtylyov@ru.mvista.com> <46E2900D.5010004@ru.mvista.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from homer.mvista.com ([63.81.120.155]:6312 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752619AbXIXMk3 (ORCPT ); Mon, 24 Sep 2007 08:40:29 -0400 In-Reply-To: <46E2900D.5010004@ru.mvista.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: bzolnier@gmail.com Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org Once I quothed: >> Make ide_rate_filter() also respect PIO/SWDMA/MWDMA mode masks. While >> at it, >> make the udma_filter() method calls take precedence over using the >> mode masks. > This one not looking to pretty -- I've geve some thought on how to > beautify all these switch fallthoughs but haven't got something much > better then uour original approach (AKA Occam's razor :-). So, it's probably better forget about this patch. But please do take patch 4/4 to merge either before or after your "Occam's razor" -- it makes its best at masking out the MWDMA modes anyways... Farewell!