public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adam Belay <abelay@novell.com>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: greg@kroah.com, rml@novell.com, linux-kernel@vger.kernel.org
Subject: Re: [RFC][PATCH] add driver matching priorities
Date: Fri, 28 Jan 2005 19:05:10 -0500	[thread overview]
Message-ID: <1106957111.15906.11.camel@localhost.localdomain> (raw)
In-Reply-To: <200501281851.28475.dtor_core@ameritech.net>

On Fri, 2005-01-28 at 18:51 -0500, Dmitry Torokhov wrote:
> If generic driver binds to a device that is has no idea how to drive
> _at all_ then I will argue that the generic driver is broken. It should
> not bind to begin with.
> 

In the case of pci bridges, sometimes we can't really tell if we can
drive the hardware entirely.  It's a classcode match.  Generic drivers
may support a portion of hardware in a limited fashion.  It's not that
they have no idea what they're doing with the hardware.  It's more a
matter of not always doing the best or most complete thing.  For some
hardware this may work fine.  Because we don't support generic drivers
in the current driver model, we haven't had a chance to see how well
they would work, or where they could be used.

Also, consider this.  If the pci bridge driver binds to yenta, it will
(in theory, it also might explode) enumerate all of the cardbus devices.
If then later, it is discovered that there is a better driver for the
bridge, all of the bridge's children will have to be torn down.  Thier
drivers will be released, and  the devices removed.  This might increase
the odds of something going wrong.

Thanks,
Adam



  reply	other threads:[~2005-01-29  0:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-28 22:30 [RFC][PATCH] add driver matching priorities Adam Belay
2005-01-28 23:23 ` Dmitry Torokhov
2005-01-28 23:33   ` Adam Belay
2005-01-28 23:51     ` Dmitry Torokhov
2005-01-29  0:05       ` Adam Belay [this message]
2005-01-29  0:11   ` Al Viro
2005-01-29  2:45     ` Dmitry Torokhov
2005-02-10  8:41 ` Greg KH
2005-02-10 17:18   ` Adam Belay
2005-02-10 18:08     ` Dmitry Torokhov
2005-02-10 18:12     ` Greg KH
2005-02-10 21:26       ` Adam Belay
2005-02-10 18:33     ` Greg KH
2005-02-10 18:46       ` Dmitry Torokhov
2005-02-10 21:32         ` Adam Belay
2005-02-10 18:45     ` Russell King
2005-02-10 21:37       ` Adam Belay
2005-02-25 23:41         ` Greg KH
2005-03-01  0:05           ` Adam Belay
2005-03-01  7:58             ` Greg KH

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=1106957111.15906.11.camel@localhost.localdomain \
    --to=abelay@novell.com \
    --cc=dtor_core@ameritech.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@novell.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