From mboxrd@z Thu Jan 1 00:00:00 1970 From: Larry Finger Date: Thu, 18 Nov 2010 11:29:30 -0600 Subject: [PATCH] ssb: fail registration for unknown SPROM revision In-Reply-To: <1290100075.12596.8.camel@maggie> References: <1288823326-9686-1-git-send-email-zajec5@gmail.com> <1288823326-9686-2-git-send-email-zajec5@gmail.com> <20101116212321.GF10774@tuxdriver.com> <1290013976.2513.14.camel@maggie> <20101118162748.GB2468@tuxdriver.com> <1290098156.12596.2.camel@maggie> (sfid-20101118_174421_892253_3B53C8D3) <1290098865.12596.6.camel@maggie> <4CE55C3B.6020803@lwfinger.net> (sfid-20101118_180314_721728_2D534AE3) <1290100075.12596.8.camel@maggie> Message-ID: <4CE5627A.6060206@lwfinger.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: =?UTF-8?B?TWljaGFlbCBCw7xzY2g=?= Cc: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , "John W. Linville" , linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org On 11/18/2010 11:07 AM, Michael B?sch wrote: > On Thu, 2010-11-18 at 11:02 -0600, Larry Finger wrote: >> On 11/18/2010 10:47 AM, Michael B?sch wrote: >>> If it would really succeed to initialize the device, this would be a >>> regulatory issue, because the sprom contains various power amplifier >>> calibration data. I think it should rather fail and be fixed correctly >>> instead of incorrectly using rev1 in that case. >> >> I agree that it is better to fail than use incorrect power data. >> >> Would it be useful if the SPROM data were logged when the revision is crap? > > > We need to keep in mind that there will be no new SSB devices. > It seems pretty much EOL'ed by Broadcom. > So I'm not sure whether this would be of any use or just random dead > code. Good point. When we get the data for the one case we know exists, we will have a better idea if a special quirk for this case is feasible. Assuming that this is not the only example of this hardware, then we might limit the breakage from this patch. At least the random code would be needed and useful in keeping our maintainer happy, which has a some merit. Larry