Date: Tue, 4 Jul 2000 23:59:25 -0400 (EDT) From: "Matthew N. Dodd" <winter@jurai.net> To: Warner Losh <imp@village.org> Cc: Poul-Henning Kamp <phk@critter.freebsd.dk>, Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Nick Hibma <n_hibma@calcaphon.com>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys bus.h bus_private.h src/sys/kern subr_bus.c Message-ID: <Pine.BSF.4.21.0007042355170.5273-100000@sasami.jurai.net> In-Reply-To: <200007031652.KAA23743@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Jul 2000, Warner Losh wrote: > If I unplug a network card, you'd think it was fairly simple to just > shove it back it and be where you were before. However, the NIC may > have changed (if I have two identical cards), which means that IPv6 > stuff needs to do special things. You have to go through a > configuration process again to ensure that things are working right. > What advantage is gained by having the logical device stick around in > the interrum? I think PHK is making the mistake of thinking that the kernel should somehow do all the dirty stuff when he hotplugs a PCI card or something. In reality you would receive an event from the device daemon (devd?) which would trigger a script which would reset the MAC address, and bring up the interface (via DHCP or whatever). Ideally 'devd' is given a complete path so that you can wire down your cards by bus/slot# if the bus supports that concept (since you may hot-plug out of order and 'eth1' may become 'eth0' or what have you.) -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | 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?Pine.BSF.4.21.0007042355170.5273-100000>