From 434086177ff1782e5033d3ef3944a029b263f85b Mon Sep 17 00:00:00 2001 From: harti Date: Tue, 29 Apr 2003 08:07:44 +0000 Subject: Add module data and version to the atm_subr and reference this info from the (currently) only consumer (en). Add a sysctl node hw.atm where the atm drivers will hook on their hardware sysctl sub-trees. Make atm_ifattach call if_attach and remove the corresponding call to if_attach from en. Create atm_ifdetach and use that in en. While the last change actually changes the interface this is not a problem in practice because the only other consumer of this API is an older LANAI driver on the net, that is not ready for current anyway. Reviewed by: -atm --- sys/net/if_atm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/net/if_atm.h') diff --git a/sys/net/if_atm.h b/sys/net/if_atm.h index f09f7a6..b8a34a8 100644 --- a/sys/net/if_atm.h +++ b/sys/net/if_atm.h @@ -99,6 +99,7 @@ struct atmllc { #ifdef _KERNEL void atm_ifattach(struct ifnet *); +void atm_ifdetach(struct ifnet *); void atm_input(struct ifnet *, struct atm_pseudohdr *, struct mbuf *, void *); int atm_output(struct ifnet *, struct mbuf *, struct sockaddr *, -- cgit v1.1