From owner-freebsd-hackers Mon Aug 25 20:12:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA01075 for hackers-outgoing; Mon, 25 Aug 1997 20:12:08 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.50]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id UAA01070 for ; Mon, 25 Aug 1997 20:12:06 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id UAA02640; Mon, 25 Aug 1997 20:11:11 -0700 From: Terry Lambert Message-Id: <199708260311.UAA02640@phaeton.artisoft.com> Subject: Re: lkm.h MOD_DEV & DISPATCH To: PBozeman@lbl.gov Date: Mon, 25 Aug 1997 20:11:11 -0700 (MST) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: from "Pat Bozeman" at Aug 25, 97 05:44:48 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Why does MOD_DEV concatinate the name of the device with _module when > none of the other module types do? This leads to a conflict with DISPATCH > which does not expect the name to be concatinated to _module. To avoid namespace conflicts in drivers which export multiple module types. Having a static value only saves you from inter-module conflicts. The intra-module conflicts can still byte you. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.