All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Removal of pci_find_* in 2.5
Date: Mon, 15 Jul 2002 17:25:30 -0700	[thread overview]
Message-ID: <20020716002530.GA32431@kroah.com> (raw)
In-Reply-To: <m1znwuoyze.fsf@frodo.biederman.org>

On Sun, Jul 14, 2002 at 02:07:01PM -0600, Eric W. Biederman wrote:
> 
> The driver is a mtd map driver.  It knows there is a rom chip behind 
> a pci->isa bridge.  And it needs to find the pci->isa bridge to
> properly set it up to access the rom chip (enable writes and the
> like).  
> 
> It isn't a driver for the pci->isa bridge, (I'm not even certain we
> have a good model for that).  So it does not use pci_register_driver.
> 
> If you can give me a good proposal for how to accomplish that kind of
> functionality I would be happy to use the appropriate
> xxx_register_driver.

I don't think there is a good way for you to convert over to
_register_driver(), that's the main reason I'm keeping the pci_find_*
functions around, they are quite useful for lots of situations.

It doesn't sound like you are worrying about your device working in a
pci hotplug system, and you would probably be willing do any pci device
conversion work to the new driver model yourself, right?  :)

thanks,

greg k-h

  reply	other threads:[~2002-07-16  0:23 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-13  0:36 Removal of pci_find_* in 2.5 Greg KH
2002-07-13  2:23 ` Alan Cox
2002-07-13  1:12   ` David S. Miller
2002-07-13 14:46     ` Alan Cox
2002-07-13 20:52       ` David S. Miller
2002-07-13 13:45         ` Benjamin Herrenschmidt
2002-07-15  5:25           ` David S. Miller
2002-07-16  0:26             ` Greg KH
2002-07-14 20:07 ` Eric W. Biederman
2002-07-16  0:25   ` Greg KH [this message]
2002-07-16 10:56     ` Eric W. Biederman
2002-07-16 17:33       ` Patrick Mochel
2002-07-17 12:41         ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2002-07-13  4:04 Matt_Domsch
2002-07-13  4:41 ` Jeff Garzik
2002-07-13  5:09   ` Greg KH
2002-07-13 14:35   ` Alan Cox
2002-07-13 15:37     ` Jeff Garzik
2002-07-13 17:06       ` Alan Cox
2002-07-13 19:28         ` Jeff Garzik
2002-07-13 19:33           ` Jeff Garzik
2002-07-13 13:13 Matt_Domsch
2002-07-16 19:23 Matt_Domsch

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=20020716002530.GA32431@kroah.com \
    --to=greg@kroah.com \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.