Subject: if_detach handling styles
To: None <source-changes@netbsd.org>
From: None <itojun@iijlab.net>
List: source-changes
Date: 02/02/2000 17:03:53
>Module Name:	syssrc
>Committed By:	augustss
>Date:		Wed Feb  2 07:23:28 UTC 2000
>
>Modified Files:
>	syssrc/sys/dev/pcmcia: if_ep_pcmcia.c
>
>Log Message:
>Make ep driver detachable.

	I'm not sure if it is documented somewhere, but how should we
	code foo_detach?  ep_pcmcia_detach() has call to bpfdetach()
	with the above change, while ep_pcmcia_attach() doesn't.
	bpfattach() is in elink3.c:epconfig().  i fear to see mismatch
	between dev/ic code and dev/pcmcia code so i'd prefer bpfdetach()
	to be done somewhere in elink3.c.
	could I see an example?

itojun