Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2013 12:20:04 GMT
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/184631: [PATCH] hook-in-iwn2000fw-and-iwn2030fw-to-kernel-build
Message-ID:  <201312091220.rB9CK4XB020836@oldred.freebsd.org>
Resent-Message-ID: <201312091230.rB9CU0gn095105@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         184631
>Category:       kern
>Synopsis:       [PATCH] hook-in-iwn2000fw-and-iwn2030fw-to-kernel-build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 09 12:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Pinter
>Release:        FreeBSD 11-CURRENT
>Organization:
>Environment:
FreeBSD 11-CURRENT
>Description:
the kernel image does not contained the iwn2030fw 
>How-To-Repeat:
add iwnfw to kernel config, set MODULES_OVERRIDE= , compile the kernel
boot the new kernel, and the kernel image does not contained the iwn2030fw
>Fix:
see the attached patch

Patch attached with submission follows:

>From e608dcee38e93db28b15632d9e461dd87f3ab3c7 Mon Sep 17 00:00:00 2001
From: Oliver Pinter <oliver.pntr@gmail.com>
Date: Sun, 8 Dec 2013 01:15:16 +0100
Subject: [PATCH] hook in iwn2000fw and iwn2030fw to kernel build

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
---
 sys/conf/files | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/sys/conf/files b/sys/conf/files
index 67a65d2..2fba689 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -1605,6 +1605,34 @@ iwn1000.fw			optional iwn1000fw | iwnfw		\
 	compile-with	"${NORMAL_FW}"					\
 	no-obj no-implicit-rule						\
 	clean		"iwn1000.fw"
+iwn2000fw.c			optional iwn2000fw | iwnfw		\
+	compile-with	"${AWK} -f $S/tools/fw_stub.awk iwn2000.fw:iwn2000fw -miwn2000fw -c${.TARGET}" \
+	no-implicit-rule before-depend local				\
+	clean		"iwn2000fw.c"
+iwn2000fw.fwo			optional iwn2000fw | iwnfw		\
+	dependency	"iwn2000.fw"					\
+	compile-with	"${NORMAL_FWO}"					\
+	no-implicit-rule						\
+	clean		"iwn2000fw.fwo"
+iwn2000.fw			optional iwn2000fw | iwnfw		\
+	dependency	"$S/contrib/dev/iwn/iwlwifi-2000-18.168.6.1.fw.uu" \
+	compile-with	"${NORMAL_FW}"					\
+	no-obj no-implicit-rule						\
+	clean		"iwn2000.fw"
+iwn2030fw.c			optional iwn2030fw | iwnfw		\
+	compile-with	"${AWK} -f $S/tools/fw_stub.awk iwn2030.fw:iwn2030fw -miwn2030fw -c${.TARGET}" \
+	no-implicit-rule before-depend local				\
+	clean		"iwn2030fw.c"
+iwn2030fw.fwo			optional iwn2030fw | iwnfw		\
+	dependency	"iwn2030.fw"					\
+	compile-with	"${NORMAL_FWO}"					\
+	no-implicit-rule						\
+	clean		"iwn2030fw.fwo"
+iwn2030.fw			optional iwn2030fw | iwnfw		\
+	dependency	"$S/contrib/dev/iwn/iwnwifi-2030-18.168.6.1.fw.uu" \
+	compile-with	"${NORMAL_FW}"					\
+	no-obj no-implicit-rule						\
+	clean		"iwn2030.fw"
 iwn4965fw.c			optional iwn4965fw | iwnfw		\
 	compile-with	"${AWK} -f $S/tools/fw_stub.awk iwn4965.fw:iwn4965fw -miwn4965fw -c${.TARGET}" \
 	no-implicit-rule before-depend local				\
-- 
1.8.4



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312091220.rB9CK4XB020836>