1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-11 09:50:12 +00:00
freebsd/sbin/ifconfig
Mike Smith f3722ef609 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
1999-09-20 07:58:08 +00:00
..
ifconfig.8 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ifconfig.c If we don't appear to have a module loaded supporting the interface 1999-09-20 07:58:08 +00:00
ifconfig.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ifmedia.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ifvlan.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00