From owner-freebsd-current@freebsd.org Thu Nov 2 17:22:42 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17D0CE5EFE4 for ; Thu, 2 Nov 2017 17:22:42 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3C711E18 for ; Thu, 2 Nov 2017 17:22:41 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf0-x22e.google.com with SMTP id p87so181673pfj.3 for ; Thu, 02 Nov 2017 10:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=yH4mvjZo2favCOABJ1Zjm9r+wLHwggeYjdhs3ct0FI8=; b=HAFnBRA/K0xM+tEJSzPJQ25BgHmVBlyVAHpvLW1syg+dZgIH25IHln7KcTywFa5fnz 2V8GV6JyDOsLqIkibQp+frimLrYcMudEJlEtAst/SLuCPMscmJY8vXyicVgnQ5btPVgR BmaeanskAnzhvntaySDmwipdiMoRf9qVIUkmWveJzJHsEM8WS7uxf6h3OvdjK/tAkW1a 4LlSe+fa+n9xw0+HNYZwYd5mOB/PEn9ZJovBuTE/h0N/8JJyI+75y3L/fSG0p93jzaNC UG2XNEJbLyiwdtqpDaO4OYPRFqm7hwcYFin+SrVvmDqYjw0G58vFTf8O6Az7zuUvQhLB aA9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=yH4mvjZo2favCOABJ1Zjm9r+wLHwggeYjdhs3ct0FI8=; b=XqjO0X8J3xaHhqer5j/Es9paF9QqLaBK3a6Xd7RoTStPEl0uWnyKVG6eMxcTfj0GNz GIXu+jvbGNhtiukBf/ZeL7AV18dulD88bMCaRL7eqbefUKWRRvam6Ug9Ph3hQ2GBLSLT /hPgnsR/TNlq8K14+oOtar/AELdmAl5DY/y88HSycrlNRL1RxS1u8v3JBivu4WxyTgqx BdY7UqlhlCY3k/BdJlx5P2lakNF6Mbfyu2ip8rnWnHT/Mv5PVB2VHVvy5DIUNU1MiNZK 2GTv6nMng6IbJuBNwRAslNSui4BotG18ohki3gv5lwZrG9endj3B5EU+tyywt5rtyr1v XQqQ== X-Gm-Message-State: AMCzsaVLwN6b6h2kHmNmXNem5yrE+pE/AFPCd4wG4cGZovj1Nw03Fnh5 Hv7htOVKh66LiIX5LZxxi0c= X-Google-Smtp-Source: ABhQp+SLHNjoHg3GFYAEQvPSCbozw3c4Nqh+drOA+4VuPkQCbxG/wOdmH90Faqvcy42011mPzyjtpw== X-Received: by 10.98.13.157 with SMTP id 29mr4606553pfn.160.1509643361061; Thu, 02 Nov 2017 10:22:41 -0700 (PDT) Received: from ?IPv6:2607:fb90:782a:a4d8:a5e7:98ca:fa4f:253b? ([2607:fb90:782a:a4d8:a5e7:98ca:fa4f:253b]) by smtp.gmail.com with ESMTPSA id v15sm6505320pfa.50.2017.11.02.10.22.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2017 10:22:40 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: iwm not in GENERIC kernel From: Ngie Cooper X-Mailer: iPhone Mail (15B93) In-Reply-To: Date: Thu, 2 Nov 2017 10:22:39 -0700 Cc: Warner Losh , Kevin Oberman , Thomas Mueller , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <20171029010942.GD5682@gmail.com> <1282E750-97FF-43A7-BFEE-3B82597311F0@gmail.com> <59f5a3e3.82b6df0a.9f209.0495SMTPIN_ADDED_MISSING@mx.google.com> <5BE53074-F3E7-4392-A48A-E01474A9AFAE@gmail.com> To: Adrian Chadd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 17:22:42 -0000 > On Nov 2, 2017, at 09:53, Adrian Chadd wrote: >=20 > uuuuugh okay >=20 > So it's a chicken/egg problem. >=20 > You can't finish the device probe/attach until the firmware loads. >=20 > For iwn, you can read the chipset abilities and mac address from > EPROM/flash on the chip without the firmware being loaded, so you can > complete probe/attach before the root filesystem is mounted. >=20 > For iwm, you have to load the firmware before you can read the chipset > abilities and MAC address so you can't complete probe/attach until > AFTER the root filesystem is mounted. >=20 > If someone wants to go add all of that support in to have probe/attach > deferred until after rootfs is available then please do so. Or, just > support the firmware being 100% compiled in- but when I tried this the > last time I ran out of some firmware arena size preventing other > firmware for other chipsets from being loaded. >=20 > Otherwise this is the current hack. :) It=E2=80=99s ok (better than nothing)! Could you please write up bugs with your findings? Thanks so much! -Ngie=