Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 1997 20:11:11 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        PBozeman@lbl.gov
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: lkm.h MOD_DEV & DISPATCH
Message-ID:  <199708260311.UAA02640@phaeton.artisoft.com>
In-Reply-To: <Pine.SOL.3.95.970825173548.22258E-100000@george.lbl.gov> from "Pat Bozeman" at Aug 25, 97 05:44:48 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708260311.UAA02640>