From owner-freebsd-drivers@FreeBSD.ORG Mon Nov 5 18:50:06 2012 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BA28DF98 for ; Mon, 5 Nov 2012 18:50:06 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 86DFF8FC08 for ; Mon, 5 Nov 2012 18:50:06 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so4349285pbb.13 for ; Mon, 05 Nov 2012 10:50:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=D4SODSIdBdS0MhyIMphupdzSTGgR2VNAJe8oB9aLS6c=; b=tgyLEXtWKKf5H1foocQ3GuYoFCkV3ETy738jPuWvl7BY1V72zpvbNARNPGe6DBpe6y yp9VyygoLU6Mw+KdrTNHdCRf2uKhDReNpmXcZA98CWI17DvcnPzeQ8DLOHc9DZPmzb6n zdlJGtC23kEiRf3HjmjvEdOcG8lz9dT3I5nvZy4Z4gt71pkTJ+rcHDwOxAPVq6v9SJW3 6ePUxof2aFfG/EpfbufsXaVoYuzci5Pl6OkYylRLog5OHS/PBujAioBTxEzZ9sEMHohG hCG3I45toIYsKelGfH7yLvsPLdpKXKypj2ysptdQZ7MhnVJc4LoiaWZF3YAu7MNE7fKK vwwA== Received: by 10.68.137.234 with SMTP id ql10mr32591465pbb.158.1352141405901; Mon, 05 Nov 2012 10:50:05 -0800 (PST) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPS id ty4sm10937635pbc.57.2012.11.05.10.50.03 (version=SSLv3 cipher=OTHER); Mon, 05 Nov 2012 10:50:04 -0800 (PST) Sender: Navdeep Parhar Message-ID: <50980A5A.1050202@FreeBSD.org> Date: Mon, 05 Nov 2012 10:50:02 -0800 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121101 Thunderbird/16.0.2 MIME-Version: 1.0 To: Christoph Egger Subject: Re: cxgbe firmware and WITHOUT_SOURCELESS References: <87wqy3q0ff.fsf@mitoraj.siccegge.de> In-Reply-To: <87wqy3q0ff.fsf@mitoraj.siccegge.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-drivers@freebsd.org X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 18:50:06 -0000 On 11/02/12 12:17, Christoph Egger wrote: > Hi folks! > > Running a WITHOUT_SOURCELESS build on 10-CURRENT source includes the > cxbge firmware part which -- as far as I can tell -- is totally > sourceless. You might want to use the patch below (or direct me to a > better place to submit this patch to). Hello Christoph, The patch isn't quite correct -- you must have the firmware configuration files (the t4fw_cfg*.txt files in firmware/ ) in order for the driver to attach successfully to the card. The correct thing to do for WITHOUT_SOURCELESS would be to still build the t4fw_cfg KLD but leave the firmware binary out of it. Regards, Navdeep > > Regards > > Christoph > > Index: modules/cxgbe/Makefile > =================================================================== > --- modules/cxgbe/Makefile (revision 242489) > +++ modules/cxgbe/Makefile (working copy) > @@ -2,8 +2,14 @@ > # $FreeBSD$ > # > > +.include > + > SUBDIR = if_cxgbe > + > +.if ${MK_SOURCELESS_UCODE} != "no" > SUBDIR+= firmware > +.endif > + > SUBDIR+= ${_tom} > > .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" > _______________________________________________ > freebsd-drivers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-drivers > To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.org" >