Date: Mon, 20 Sep 1999 00:58:08 -0700 (PDT) From: Mike Smith <msmith@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifconfig.c Message-ID: <199909200758.AAA31268@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
msmith 1999/09/20 00:58:08 PDT
Modified files:
sbin/ifconfig ifconfig.c
Log:
If we don't appear to have a module loaded supporting the interface
we're about to operate on, try to load one. Don't complain if the
load fails, and always press on regardless (there may not be a module
suitable or required).
With the renaming of the PCI ethernet driver modules and the addition
of appropriate miibus dependancies on those modules that need it, it is
now no longer necessary to compile many ethernet drivers into the kernel;
they will be loaded on demand the first time they are ifconfig'ed.
Inspiration from: mount
Reviewed by: obrien
Revision Changes Path
1.44 +45 -1 src/sbin/ifconfig/ifconfig.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909200758.AAA31268>
