Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 22:47:21 -0700
From:      Warner Losh <imp@village.org>
To:        Robert Watson <robert+freebsd@cyrus.watson.org>
Cc:        Kurakin Roman <rik@cronyx.ru>, freebsd-net@FreeBSD.ORG
Subject:   Re: Patch to introduce bpfdetach(), Re: BPF question (FreeBSD 40) 
Message-ID:  <200003190547.WAA05290@harmony.village.org>
In-Reply-To: Your message of "Sat, 18 Mar 2000 21:21:36 EST." <Pine.NEB.3.96L.1000318204927.3649A-300000@fledge.watson.org> 
References:  <Pine.NEB.3.96L.1000318204927.3649A-300000@fledge.watson.org>  

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Warner


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?200003190547.WAA05290>