linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: petkovbb@gmail.com
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: [PATCH] ide-generic: skip automatic probing of legacy iobases (was: Re: [PATCH] ide-floppy fix)
Date: Sat, 2 Aug 2008 20:46:16 +0200	[thread overview]
Message-ID: <200808022046.16990.bzolnier@gmail.com> (raw)
In-Reply-To: <20080802183253.GA2239@gollum.tnic>

On Saturday 02 August 2008, Borislav Petkov wrote:
> On Sat, Aug 02, 2008 at 07:02:12PM +0200, Bartlomiej Zolnierkiewicz wrote:

[...]

> > > As a result, i have now a new bool-Kconfig option BLK_DEV_GENERIC_ONLY which
> > > gets reverse-selected only when no pci ide controller which is using the generic
> > > ide_host_register() from within ide_pci_init_one() is selected in Kconfig. This
> > > is tested both with and without a pci ide driver selected in addition to
> > > ide-generic.
> > 
> > How's about just leaving the final decision up to the user with changing
> > probe_mask in ide_generic from 0x3 to 0x0 and automatically probing for
> > ports 0-1 iff there is no IDE PCI controller present (otherwise check
> > probe_mask).
> 
> Wait, let me get this straight: you want to set probe_mask to 0x0 as a default,
> which skips probing of the primary and secondary ports, and to do the checking

Yes.

> whether the IDE PCI controller uses legacy iobases only when the user has
> enforced it by setting probe_mask to 0x3? At least this is how i understand
> it...

Nope, always do the checking and if there is no IDE PCI controller do the
probing (& if there is IDE PCI controller present check probe_mask bits).

  reply	other threads:[~2008-08-02 18:48 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-15  5:33 [PATCH] ide-floppy fix Borislav Petkov
2008-07-15  5:40 ` Borislav Petkov
2008-07-16 15:59 ` Bartlomiej Zolnierkiewicz
2008-07-15 20:39   ` Borislav Petkov
2008-07-15 20:58     ` Bartlomiej Zolnierkiewicz
2008-07-16  5:20       ` Borislav Petkov
2008-07-16 17:56         ` Bartlomiej Zolnierkiewicz
2008-07-20 12:06           ` Borislav Petkov
2008-07-21 19:03             ` Bartlomiej Zolnierkiewicz
2008-07-22  5:27               ` Borislav Petkov
2008-07-22 19:49                 ` Bartlomiej Zolnierkiewicz
2008-07-23  6:32                   ` Borislav Petkov
2008-07-23 18:51                     ` Bartlomiej Zolnierkiewicz
2008-08-01  5:48                       ` [PATCH] ide-generic: skip automatic probing of legacy iobases (was: Re: [PATCH] ide-floppy fix) Borislav Petkov
2008-08-02 17:02                         ` Bartlomiej Zolnierkiewicz
2008-08-02 18:32                           ` Borislav Petkov
2008-08-02 18:46                             ` Bartlomiej Zolnierkiewicz [this message]
2008-08-03  7:37                               ` [PATCH 1/2] pata_legacy: export functionality to ide Borislav Petkov
2008-08-03 11:59                                 ` Alan Cox
2008-08-03 13:37                                   ` Bartlomiej Zolnierkiewicz
2008-08-03 13:39                                     ` Alan Cox
2008-08-03 23:43                                       ` Jeff Garzik
2008-08-03 14:38                                   ` Borislav Petkov
2008-08-03 15:22                                     ` Alan Cox
2008-08-03 16:51                                       ` Borislav Petkov
2008-08-05 14:26                                         ` Sergei Shtylyov
2008-08-05 14:32                                           ` Boris Petkov
2008-08-05 14:41                                             ` Bartlomiej Zolnierkiewicz
2008-08-06  6:10                                               ` Borislav Petkov
2008-08-06 11:34                                                 ` Sergei Shtylyov
2008-08-06 14:03                                                   ` Boris Petkov
2008-08-06 15:57                                                     ` Sergei Shtylyov
2008-08-06 19:47                                                       ` Borislav Petkov
2008-08-06 19:46                                                         ` Alan Cox
2008-08-06 20:04                                                         ` Sergei Shtylyov
2008-08-07  4:36                                                           ` [PATCH] ide-generic: handle probing of legacy io-ports v5 (was: Re: [PATCH 1/2] pata_legacy: export functionality to ide) Borislav Petkov
2008-08-07 17:06                                                             ` Bartlomiej Zolnierkiewicz
2008-08-08 10:04                                                             ` [PATCH] ide-generic: handle probing of legacy io-ports v5 Sergei Shtylyov
2008-08-03  7:38                               ` [PATCH 2/2] ide-generic: handle probing of legacy io-ports Borislav Petkov
2008-08-03 14:11                                 ` Bartlomiej Zolnierkiewicz
2008-08-03 14:45                                   ` Borislav Petkov
2008-08-03 14:54                                     ` Borislav Petkov
2008-08-03 14:59                                     ` Bartlomiej Zolnierkiewicz
2008-08-03 15:08                                   ` Borislav Petkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808022046.16990.bzolnier@gmail.com \
    --to=bzolnier@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petkovbb@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).