Date: Tue, 14 Dec 1999 16:32:04 -0600 (CST) From: Mike Spengler <mks@networkcs.com> To: imp@village.org (Warner Losh) Cc: jlemon@americantv.com, brian@Awfulhak.org, freebsd-arch@freebsd.org, brian@hak.lan.Awfulhak.org Subject: Re: The if_detach problem Message-ID: <199912142232.QAA19128@us.networkcs.com> In-Reply-To: <199912142210.PAA55577@harmony.village.org> from Warner Losh at "Dec 14, 99 03:10:13 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh said: > In message <19991214160454.26093@right.PCS> Jonathan Lemon writes: > : Loadable device drivers. I ran into this last week or so when > : unloading a driver I'm developing; if I don't do an 'ifconfig xxx delete' > : before the kldunoad, I get a panic. > > That's basically what I want to do in the kernel when a driver calls > if_detach(). > The ATM code has support for detaching ATM network interfaces - it was originally written for SunOS 4.x LKMs. It is able to dynamically attach and detach interfaces via user configuration command. The code, ported to FreeBSD before if_detach() was added, is at sys/netatm/atm_if.c:atm_nif_detach(). -- Mike Spengler Network Computing Services, Inc. Email: mks@networkcs.com 1200 Washington Ave. So. Phone: +1 612 337 3557 Minneapolis MN 55415 FAX: +1 612 337 3400 (aka Minnesota Supercomputer Center) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912142232.QAA19128>