From owner-cvs-all Sat Jul 1 13:22: 0 2000 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id B5F7E37B561; Sat, 1 Jul 2000 13:21:53 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id OAA98157; Sat, 1 Jul 2000 14:21:51 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id OAA53771; Sat, 1 Jul 2000 14:21:43 -0600 (MDT) Message-Id: <200007012021.OAA53771@harmony.village.org> To: Archie Cobbs Subject: Re: cvs commit: src/sys/net if.c if_ethersubr.c if_var.h Cc: ache@FreeBSD.org (Andrey A. Chernov), archie@FreeBSD.org (Archie Cobbs), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.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> Date: Sat, 01 Jul 2000 14:21:43 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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