This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cyg_io_lookup () and handles


"Trenton D. Adams" wrote:
> 
> I think this is a simple easy to answer question.
> When creating drivers, does the driver developer select their own handle
> for their device?  If so, how does one pick a handle that doesn't
> conflict with any of the system device handles?

The developer is in control of the code they are using so it's up to them
to only have unique names in their sources :-). Just name new ones
unambiguously, preferably based around what is distinctive about their
driver.

There's no standard as such because the only way to make names truly unique
is to have a central registration authority, and that's just too much
overhead for something small like this :-).

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]