linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Roman Kagan <rkagan@mail.ru>
To: linux-hotplug@vger.kernel.org
Subject: Re: [linux-usb-devel] Re: [PATCH] drivers/usb/core/usb.c: add MODNAME env var to hotplug
Date: Sun, 27 Mar 2005 20:36:53 +0000	[thread overview]
Message-ID: <20050327203652.GD2224@katya> (raw)
In-Reply-To: <20050304100158.GB2219@katya>

On Sat, Mar 26, 2005 at 10:54:59PM +0300, Michael Tokarev wrote:
> Greg KH wrote:
> >On Fri, Mar 25, 2005 at 10:43:01AM +0300, Roman Kagan wrote:
> >
> >>>>The patch expects a matching change in scripts/mod/file2alias.c I sent
> >>>>to linux-hotplug-devel list a few days ago (i.e. puts
> >>>>bcdDevice in MODNAME as dXXXX, rather that dlXXXXdhXXXX).
> 
> Speaking of breaking modules.alias compatibility
> (as current hotplug scripts will not work anymore)...

Mind explaining how they did?  I cooked up this patch exactly because I
couldn't think of a way to make hotplug scripts work with module aliases
for a non-trivial bcdDevice range.  Moreover, for the most common
trivial one of no bcdDevice matching, the name constructed to match
against the old pattern dl*dh* will match against the new one d*.

So I think that it is not exactly similar to

> Why not change PCI IDs from %08X to %04X ?

which is going to break the setups which did work.

Cheers,
  Roman.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

      parent reply	other threads:[~2005-03-27 20:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-04 10:01 [PATCH] drivers/usb/core/usb.c: add MODNAME env var to hotplug Roman Kagan
2005-03-24 22:34 ` Greg KH
2005-03-25  7:43 ` Roman Kagan
2005-03-25 17:40 ` Greg KH
2005-03-26 19:54 ` [linux-usb-devel] Re: [PATCH] drivers/usb/core/usb.c: add MODNAME Michael Tokarev
2005-03-27 20:36 ` Roman Kagan [this message]

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=20050327203652.GD2224@katya \
    --to=rkagan@mail.ru \
    --cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).