From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roman Kagan Date: Sun, 27 Mar 2005 20:36:53 +0000 Subject: Re: [linux-usb-devel] Re: [PATCH] drivers/usb/core/usb.c: add MODNAME env var to hotplug Message-Id: <20050327203652.GD2224@katya> List-Id: References: <20050304100158.GB2219@katya> In-Reply-To: <20050304100158.GB2219@katya> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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_id396&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