From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Jacques Goldberg <Jacques.Goldberg@cern.ch>
Cc: Greg KH <gregkh@suse.de>, linux-kernel@vger.kernel.org
Subject: Re: Need break driver<-->pci-device automatic association
Date: Mon, 21 Mar 2005 21:09:48 +0000 [thread overview]
Message-ID: <20050321210948.B17493@flint.arm.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.58_heb2.09.0503212248010.7910@localhost.localdomain>; from goldberg@phep2.technion.ac.il on Mon, Mar 21, 2005 at 10:57:21PM +0200
On Mon, Mar 21, 2005 at 10:57:21PM +0200, Jacques Goldberg wrote:
>
> Great, Russell. Now we understand each other.
> Actually some chip manufacturers are responsible for this mess. Some do
> NOT burn a modem class flag in the hardware, others do.
> Is it nonsense to imagine that the part of 8250_pci which handles modem
> class become a loadable module?
> We could then load the "linmodem" driver first, which would not disturb
> use of true modems.
No, that's not a reliable solution.
What it comes back to is that we _need_ driver match priorities, so we
can detect when a more specific driver for the device is loaded (iow
one which matches by vendor+device rather than just class), unbind the
existing driver, and bind the more specific one.
I've been mentioning this need for over a year now (for a different
scenario) and it hasn't particularly been going anywhere. However,
your case boosts the reason why we need this functionality.
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
next prev parent reply other threads:[~2005-03-21 21:15 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-18 8:57 Jacques Goldberg
2005-03-18 13:14 ` Alan Cox
2005-03-18 13:58 ` Jacques Goldberg
2005-03-18 14:39 ` Stuart MacDonald
2005-03-19 18:18 ` Jacques Goldberg
2005-03-18 16:51 ` Greg KH
2005-03-19 18:33 ` Jacques Goldberg
2005-03-21 8:16 ` Andrey Panin
2005-03-21 8:22 ` Russell King
2005-03-21 8:40 ` Andrey Panin
2005-03-21 11:39 ` Jacques Goldberg
2005-03-21 20:18 ` Russell King
2005-03-21 20:57 ` Jacques Goldberg
2005-03-21 21:09 ` Russell King [this message]
2005-03-21 21:30 ` Jacques Goldberg
2005-03-21 11:35 ` Jacques Goldberg
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=20050321210948.B17493@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=Jacques.Goldberg@cern.ch \
--cc=gregkh@suse.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome