Return-path: Received: from mail-gx0-f174.google.com ([209.85.161.174]:43819 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754952Ab1DEUdS (ORCPT ); Tue, 5 Apr 2011 16:33:18 -0400 Received: by gxk21 with SMTP id 21so316379gxk.19 for ; Tue, 05 Apr 2011 13:33:17 -0700 (PDT) Message-ID: <4D9B7C8A.4070702@lwfinger.net> Date: Tue, 05 Apr 2011 15:33:14 -0500 From: Larry Finger MIME-Version: 1.0 To: Greg KH CC: Henry Ptasinski , "linux-wireless@vger.kernel.org" , "devel@linuxdriverproject.org" , "dwmw2@infradead.org" Subject: Re: [PATCH 2/3] linux-firmware: Removed codeversion from brcm firmware filenames. References: <1302015522-20601-1-git-send-email-henryp@broadcom.com> <1302015522-20601-3-git-send-email-henryp@broadcom.com> <4D9B3679.10509@lwfinger.net> <4D9B5684.6020304@broadcom.com> <4D9B66C2.5000200@lwfinger.net> <20110405192951.GA15638@kroah.com> In-Reply-To: <20110405192951.GA15638@kroah.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: On 04/05/2011 02:29 PM, Greg KH wrote: > On Tue, Apr 05, 2011 at 02:00:18PM -0500, Larry Finger wrote: >> On 04/05/2011 12:51 PM, Henry Ptasinski wrote: >>> On 04/05/2011 08:34 AM, Larry Finger wrote: >>>> I also endorse removing the version number from the firmware name; however, I >>>> see a fundamental flaw in the present submission. Both brcmsmac and its >>>> predecessor brcm80211 have been included in mainline and compat-wireless, have >>>> been widely distributed, and have a number of users. This change will break the >>>> system of every one of them - including mine. >>> >>> Hmm. Sounds like you've got the firmware installed with it's original name, and >>> are using symlinks. Is that correct? A lot of installations (including at least >>> one major distro) rename the files, and skip the whole symlink approach. >>> >>> That's we decided to dump the version number appendage. However, if there are a >>> mix of installation approaches, we should take a somewhat different approach on >>> the fix. >>> >>>> My proposed solution is to do the >>>> rename as done in this patch, but also include links to the new name from every >>>> name used in any distributed version. >>> >>> The brcm80211/brcmsmac driver has always looked for "brcm/bcm43xx-0.fw". It >>> never looked for the version info on the filename. So I don't quite understand >>> what you mean by "from every name used in any distributed version", as the only >>> name used in all distributed versions of the driver is exactly the name we're >>> trying to give to the firmware file. Could you clarify? >> >> You are right. Sorry for the noise. Having one name for the firmware >> in linux-firmware and a different one in the driver got me confused. >> The current patches will fix that. >> >> My distro is openSUSE, which does make a symlink between the name >> with version info and what the driver actually loads. > > I created that symlink for openSUSE, and if there is a better way to > solve it, please let me know. Actually, the name change for the firmware as proposed in these patches will eliminate the need for those symlinks. That is the better way. Once that change propagates through the system and gets into openSUSE, the firmware files with the old names can be deleted. Larry