Date: Sat, 01 Jul 2000 14:21:43 -0600 From: Warner Losh <imp@village.org> To: Archie Cobbs <archie@whistle.com> Cc: ache@FreeBSD.org (Andrey A. Chernov), archie@FreeBSD.org (Archie Cobbs), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if.c if_ethersubr.c if_var.h Message-ID: <200007012021.OAA53771@harmony.village.org> In-Reply-To: Your message of "Sat, 01 Jul 2000 09:27:08 PDT." <200007011627.JAA05559@bubba.whistle.com> References: <200007011627.JAA05559@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200007011627.JAA05559@bubba.whistle.com> Archie Cobbs writes: : The problem is that the interfaces are not very object oriented : (with respect to type), combined with the dynamically loadable code. : As an example of the former, all ethernet drivers call if_attach() : and ether_attach() when connecting, but only if_detach() when : disconnecting. Perhaps they should all only call ether_attach() : and ether_detach(). It should call both. I thought that pccards all did this, but maybe I'm mistaken. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007012021.OAA53771>