From owner-freebsd-net@freebsd.org Thu Sep 13 17:21:24 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2EEE61093F38 for ; Thu, 13 Sep 2018 17:21:24 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C70287A8BB for ; Thu, 13 Sep 2018 17:21:23 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1g0VIv-00048N-Ia; Thu, 13 Sep 2018 18:21:21 +0100 Date: Thu, 13 Sep 2018 18:21:21 +0100 From: Gary Palmer To: Goran Meki?? Cc: freebsd-net@freebsd.org Subject: Re: Compiling iwm as module Message-ID: <20180913172121.GA72784@in-addr.com> References: <20180913163936.hcc3pqgc234s4udy@hal9000.home.meka.rs> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180913163936.hcc3pqgc234s4udy@hal9000.home.meka.rs> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2018 17:21:24 -0000 On Thu, Sep 13, 2018 at 06:39:36PM +0200, Goran Meki?? wrote: > Hello, > > My wife decided to give FreeBSD a try, but her laptop has iwm driver, > which is not yet in GENERIC on 11.2-RELEASE. Is there a way to compile > only mentioned driver and not the whole kernel/world? If it isn't, can > I compile only kernel given I take good care which sources I download? > I'd like to provide her as smooth FreeBSD experience as I can, and for > her it means less compiling when she update's her system. Thanx! Hi, Do you not have /boot/kernel/if_iwm.ko already? It should have shipped with the release. If you put if_iwm_load="YES" iwm3160fw_load="YES" iwm7260fw_load="YES" iwm7265fw_load="YES" iwm8000Cfw_load="YES" in /boot/loader.conf and reboot the modules should load and the device should be found You probably don't need all the FW modules, you can trim it down to the one you need Regards, Gary