From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Tue, 22 May 2012 21:26:52 +0200 (CEST) Received: from mail3.caviumnetworks.com ([12.108.191.235]:2424 "EHLO mail3.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S1903700Ab2EVT0t (ORCPT ); Tue, 22 May 2012 21:26:49 +0200 Received: from caexch01.caveonetworks.com (Not Verified[192.168.16.9]) by mail3.caviumnetworks.com with MailMarshal (v6,7,2,8378) id ; Tue, 22 May 2012 12:27:49 -0700 Received: from caexch01.caveonetworks.com ([192.168.16.9]) by caexch01.caveonetworks.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 22 May 2012 12:25:51 -0700 Received: from dd1.caveonetworks.com ([64.2.3.195]) by caexch01.caveonetworks.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 22 May 2012 12:25:51 -0700 Message-ID: <4FBBE83E.9090307@cavium.com> Date: Tue, 22 May 2012 12:25:50 -0700 From: David Daney User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10 MIME-Version: 1.0 To: Ben Hutchings CC: David Daney , "devicetree-discuss@lists.ozlabs.org" , Grant Likely , Rob Herring , "David S. Miller" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-mips@linux-mips.org" , Fleming Andy-AFLEMING Subject: Re: [PATCH 5/5] netdev/phy: Add driver for Cortina cs4321 quad 10G PHY. References: <1337709592-23347-1-git-send-email-ddaney.cavm@gmail.com> <1337709592-23347-6-git-send-email-ddaney.cavm@gmail.com> <20120522185032.GR4038@decadent.org.uk> In-Reply-To: <20120522185032.GR4038@decadent.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 22 May 2012 19:25:51.0178 (UTC) FILETIME=[B2CAB2A0:01CD3850] X-archive-position: 33426 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: david.daney@cavium.com Precedence: bulk X-list: linux-mips Return-Path: On 05/22/2012 11:50 AM, Ben Hutchings wrote: > On Tue, May 22, 2012 at 10:59:52AM -0700, David Daney wrote: > [...] >> --- /dev/null >> +++ b/drivers/net/phy/cs4321-ucode.h >> @@ -0,0 +1,4378 @@ >> +/* >> + * Copyright (C) 2011 by Cortina Systems, Inc. >> + * >> + * This program is free software; you can redistribute it and/or modify >> + * it under the terms of the GNU General Public License as published by >> + * the Free Software Foundation; either version 2 of the License, or >> + * (at your option) any later version. >> + * >> + * This program is distributed in the hope that it will be useful, >> + * but WITHOUT ANY WARRANTY; without even the implied warranty of >> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >> + * GNU General Public License for more details. >> + * >> + */ > [...] > > So where's the real source code for it? I wish I knew. The vendor released the array of random numbers as GPL to us. :-( > > If you won't (or can't) provide source code for the microcode then it > should instead be submitted to linux-firmware with a binary > redistribution licence, and the driver should load it with > request_firmware(). I will attempt to do that. The .c file contains plenty of other pseudo-random numbers, but those cannot really be considered 'firmware' David Daney