Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2000 01:07:58 -0500 (EST)
From:      Robert Watson <robert@cyrus.watson.org>
To:        Warner Losh <imp@village.org>
Cc:        Kurakin Roman <rik@cronyx.ru>, freebsd-net@FreeBSD.ORG
Subject:   Re: Patch to introduce bpfdetach(), Re: BPF question (FreeBSD 40)
Message-ID:  <Pine.NEB.3.96L.1000319010617.1270J-100000@fledge.watson.org>
In-Reply-To: <200003190547.WAA05290@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 18 Mar 2000, Warner Losh wrote:

> In message <Pine.NEB.3.96L.1000318204927.3649A-300000@fledge.watson.org> Robert Watson writes:
> : Pccard drivers such as ep0 don't require the patch, as they never
> : ifdetach(), leaving the ifnet epX around but unbound.
> 
> But ep does call if_detach():
> 
> static int
> ep_pccard_detach(device_t dev)
> {
> ...
> 	if_detach(&sc->arpcom.ac_if);
> ...
> }
> 
> all the network pccard drivers do this.

My mistake -- found the location a few minutes ago, and must have
overlooked it previously (possibly due to spelling it ifdetach() instead
of if_detach() :-).  Apparently bpf likes to use bpfwhatever, and if likes
to use if_whatever.  However, if_ep also appears to require the patch.
I've sent you email relating to your response to the commit message for
the patch, in which I provide further details. 

  Robert N M Watson 

robert@fledge.watson.org              http://www.watson.org/~robert/
PGP key fingerprint: AF B5 5F FF A6 4A 79 37  ED 5F 55 E9 58 04 6A B1
TIS Labs at Network Associates, Safeport Network Services



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1000319010617.1270J-100000>