From owner-cvs-all Mon Sep 20 0:58:18 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 234F715B16; Mon, 20 Sep 1999 00:58:09 -0700 (PDT) (envelope-from msmith@FreeBSD.org) Received: (from msmith@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id AAA31268; Mon, 20 Sep 1999 00:58:08 -0700 (PDT) (envelope-from msmith@FreeBSD.org) Message-Id: <199909200758.AAA31268@freefall.freebsd.org> From: Mike Smith Date: Mon, 20 Sep 1999 00:58:08 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifconfig.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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