From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH] ide-generic: handle probing of legacy io-ports v5 Date: Fri, 08 Aug 2008 14:04:06 +0400 Message-ID: <489C1A16.2050307@ru.mvista.com> References: <20080803165135.GA31977@gollum.tnic> <4898630C.7090403@ru.mvista.com> <9ea470500808050732s7be29360ge358790e955be06a@mail.gmail.com> <58cb370e0808050741v7ff3f20awb3d91a84486f8547@mail.gmail.com> <20080806061023.GA23773@gollum.tnic> <48998C58.20703@ru.mvista.com> <9ea470500808060703p4a94c868i25106e081aad75c4@mail.gmail.com> <4899C9F4.9040002@ru.mvista.com> <20080806194754.GC31312@gollum.tnic> <489A03C3.5070607@ru.mvista.com> <20080807043621.GA3771@gollum.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from gateway-1237.mvista.com ([63.81.120.155]:22280 "EHLO imap.sh.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751659AbYHHKEO (ORCPT ); Fri, 8 Aug 2008 06:04:14 -0400 In-Reply-To: <20080807043621.GA3771@gollum.tnic> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: petkovbb@gmail.com, Sergei Shtylyov , Bartlomiej Zolnierkiewicz , Alan Cox , linux-kernel@vger.kernel.orglinux Hello. Borislav Petkov wrote: > From: Borislav Petkov > Date: Sun, 3 Aug 2008 18:46:35 +0200 > Subject: [PATCH] ide-generic: handle probing of legacy io-ports v5 > > Avoid probing the io-ports in case an IDE PCI controller is present and it > uses the legacy iobases. If we still want to enforce the probing, we do > > ide_generic.probe_mask=0x3f > > on the kernel command line. The iobase checking code is > adapted from drivers/ata/pata_legacy.c after converting hex > pci ids into their corresponding macros in . > > Also, check only BAR0/2 resources since those are guaranteed > by the workaround in drivers/pci/probe.c:pci_setup_device(). > > CC: Sergei Shtylyov > Signed-off-by: Borislav Petkov Acked-by: Sergei Shtylyov MBR, Sergei