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
Sean Bruno
sbruno at freebsd.org
Fri Mar 10 21:31:58 UTC 2017
On 03/10/17 13:21, 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 <rysto32 at gmail.com> 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.
>
Gotcha. Will do.
sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170310/c7cad2cc/attachment.sig>
More information about the svn-src-all
mailing list