[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: lkm.h MOD_DEV & DISPATCH
From:       Terry Lambert <terry () lambert ! org>
Date:       1997-08-26 3:11:11
[Download RAW message or body]

> 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.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic