From owner-svn-src-head@freebsd.org Fri Mar 10 20:26:34 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 48D6CD06ED0; Fri, 10 Mar 2017 20:26:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 185E21F20; Fri, 10 Mar 2017 20:26:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by mail.baldwin.cx (Postfix) with ESMTPSA id 89EB010A82E; Fri, 10 Mar 2017 15:26:26 -0500 (EST) From: John Baldwin To: Navdeep Parhar Cc: Ryan Stone , Warner Losh , Sean Bruno , Roger Pau =?ISO-8859-1?Q?Monn=E9?= , src-committers , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" 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 Date: Fri, 10 Mar 2017 12:21:54 -0800 Message-ID: <2098064.nampQkWPZt@ralph.baldwin.cx> User-Agent: KMail/4.14.10 (FreeBSD/11.0-STABLE; KDE/4.14.10; amd64; ; ) In-Reply-To: References: <201701100323.v0A3NMAI045868@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Fri, 10 Mar 2017 15:26:26 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean 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 20:26:34 -0000 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. -- John Baldwin