From owner-cvs-all@FreeBSD.ORG Wed Feb 27 05:02:55 2008 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6044B1065673; Wed, 27 Feb 2008 05:02:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 82B8413C45D; Wed, 27 Feb 2008 05:02:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 233533634-1834499 for multiple; Tue, 26 Feb 2008 23:59:44 -0500 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m1R51Gq2026417; Wed, 27 Feb 2008 00:01:22 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: "Kip Macy" Date: Tue, 26 Feb 2008 23:57:44 -0500 User-Agent: KMail/1.9.7 References: <200802260302.m1Q32KOT081487@repoman.freebsd.org> <47C4A083.2050602@errno.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802262357.45358.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Wed, 27 Feb 2008 00:01:22 -0500 (EST) X-Virus-Scanned: ClamAV 0.91.2/6006/Tue Feb 26 20:03:40 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Sam Leffler , src-committers@freebsd.org, Kip Macy , cvs-all@freebsd.org, cvs-src@freebsd.org Subject: Re: cvs commit: src/sys/dev/cxgb bin2h.pl cxgb_main.c cxgb_t3fw.c cxgb_t3fw.h t3fw-5.0.0.bin.gz.uu src/sys/modules/cxgb Makefile src/sys/modules/cxgb/cxgb Makefile src/sys/modules/cxgb/cxgb_t3fw Makefile src/sys/conf NOTES files X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 05:02:55 -0000 On Tuesday 26 February 2008 06:39:06 pm Kip Macy wrote: > Uhm - I do the same thing as ispfw - can you tell me what is wrong with that? > > -Kip ispfw actually predates firmware(9) by several years and it simply hasn't been converted to use the new API yet. > On Tue, Feb 26, 2008 at 3:28 PM, Sam Leffler wrote: > > Huh? What does "static linking" mean? If you're looking for an example > > of a firmware image being embedded in a kernel look at the npe firmware > > used by xscale. > > > > Sam > > > > > > > > Kip Macy wrote: > > > the make system doesn't work with firmware + static linking - this > > > works around that > > > > > > > > > On Tue, Feb 26, 2008 at 3:07 PM, Kip Macy wrote: > > >> On Tue, Feb 26, 2008 at 8:33 AM, John Baldwin wrote: > > >> > On Monday 25 February 2008 10:02:20 pm Kip Macy wrote: > > >> > > kmacy 2008-02-26 03:02:20 UTC > > >> > > > > >> > > FreeBSD src repository > > >> > > > > >> > > Modified files: > > >> > > sys/dev/cxgb cxgb_main.c > > >> > > sys/modules/cxgb Makefile > > >> > > sys/modules/cxgb/cxgb Makefile > > >> > > sys/conf NOTES files > > >> > > Added files: > > >> > > sys/dev/cxgb bin2h.pl cxgb_t3fw.c cxgb_t3fw.h > > >> > > sys/modules/cxgb/cxgb_t3fw Makefile > > >> > > Removed files: > > >> > > sys/dev/cxgb t3fw-5.0.0.bin.gz.uu > > >> > > Log: > > >> > > Move firmware in to separate module that can be compiled statically in to > > >> > the kernel > > >> > > Add utility for converting future firmware revs to a C header file > > >> > > > >> > Did you consider using firmware(9)? It already handles wrapping a binary blob > > >> > into a kernel module for you and can autoload the firmware on demand. > > >> > > > >> > > >> > > >> Read the code. > > >> > > > > > > > > > > > -- John Baldwin