From owner-svn-src-head@freebsd.org Fri Mar 10 21:12:43 2017 Return-Path: Delivered-To: svn-src-head@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 3BD74D04F35 for ; Fri, 10 Mar 2017 21:12:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x241.google.com (mail-it0-x241.google.com [IPv6:2607:f8b0:4001:c0b::241]) (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 00A461AAA for ; Fri, 10 Mar 2017 21:12:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x241.google.com with SMTP id w185so638467ita.3 for ; Fri, 10 Mar 2017 13:12:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=4uO6rJNXX+E8rUHp7oOXUZyiGDjyh7s0y2dclyh5dSU=; b=EgTJnKCUFYNKSdvxgpnyJQFIhcwoQg58UzLV7mIZk96E8l1yaLds8Ftg2vNDzAs0BR hjcaTmA8u0Y3wVLi76oLjijiaPrn1Nj5mOReBNskjyps02R2vmSTDQbcUUUexU6Fh2W2 tZ41wxgwccDuIybmBvLZoiCg62uSdtP0GqD0xDush7ZyR2zhEjqT90NyN/NnF28tZWdE wDPme2YYzVCjwfhT5uIxRiLkb8JTjA5OkGLC2vptaGNQEkHSCy/NJxP6YRlXBd36F16/ 521GcxPmbv0MmtNUQGDfnZlK14GAGYDhCaS+DoR39f1I+eMP/noMtt9Isw7YXuuw4dDN m0WA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4uO6rJNXX+E8rUHp7oOXUZyiGDjyh7s0y2dclyh5dSU=; b=eCNN7/V9faKsKXIozj8Hkc1Xn/B/f5lHwkYpSXFfSIilct3AUvSdZgsyCb8ZO8H67x mHmMj4aULt/iCdfkh4CSCjNL8EuV0KvBXpYrUhM9YYYERePYIOA4xqKxH+mhL45DXFeG M2HveOgbZ/CJOQH8bn0CzscTkIOuH/nHHWhZt3LsxiLLhRkye0kObzcSUtW6XKrYOKRI gtaP2aokTkREnWhYkU2Uyf+uPMuZjquJJvFVM1hi8YORSfF5+ndFt7rL+vO4iatvP+yx rLS3S2N6lwdxTdrwll5rqv1rXe8yaLABS36SmMiHL6rPgIG51LGQioiS7opKtkCJCy+M 2URg== X-Gm-Message-State: AFeK/H0fm/eEVciWqnLL3to+1RO24rzTbjDqP+3xbB4pWPm0ho8SxGYc0xMAeIXuWPioMK4BkRQPkWcNfyhXSw== X-Received: by 10.36.189.207 with SMTP id x198mr1006566ite.103.1489180362380; Fri, 10 Mar 2017 13:12:42 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.134.129 with HTTP; Fri, 10 Mar 2017 13:12:41 -0800 (PST) X-Originating-IP: [69.53.245.200] In-Reply-To: <2098064.nampQkWPZt@ralph.baldwin.cx> References: <201701100323.v0A3NMAI045868@repo.freebsd.org> <2098064.nampQkWPZt@ralph.baldwin.cx> From: Warner Losh Date: Fri, 10 Mar 2017 14:12:41 -0700 X-Google-Sender-Auth: -pipUcbEjoCzeQrpUshmHb3wG-c Message-ID: Subject: Re: svn commit: r311849 - in head: . sys/amd64/conf sys/arm64/conf sys/conf sys/dev/e1000 sys/i386/conf sys/mips/conf sys/modules sys/modules/em sys/modules/igb sys/powerpc/conf To: John Baldwin Cc: Navdeep Parhar , Ryan Stone , Sean Bruno , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2017 21:12:43 -0000 On Fri, Mar 10, 2017 at 1:21 PM, John Baldwin wrote: > On Friday, March 10, 2017 11:12:45 AM Navdeep Parhar wrote: >> On Fri, Mar 10, 2017 at 10:41 AM, Ryan Stone wrote: >> > There's also the issue that running "ifconfig igb0 blah" during startup will >> > cause if_igb to be automatically loaded by ifconfig. >> > >> > I guess we could add a dummy if_igb.ko that just has a dependency on >> > if_em.ko >> >> I do similar stuff in cxgbe (if_cxl.ko and if_cc.ko exist solely to >> drag in if_cxgbe.ko as a dependency). In hindsight I wish I'd just >> added a list of ifnet names -> kld map to ifconfig instead. It would >> have been an ugly hack but much simpler. > > For now I think having an if_igb.c that is like if_cc.c and if_cxl.c > is probably the simplest way to go. It's certainly the easiest way forward. + if_igb.ko module, right? Warner