On 14 May 2013 22:21, Michael Haberler <[email protected]> wrote:

>  halcmd loadrt gpiomap platform=<platform> [reserve=<list of extra reserved 
> pins beyond platform reserved pins>]

Would it be neater to have the drivers reserve their pins internally
(in much the same way as hal_malloc is called by each driver)?

The first module to be loaded "wins", but any module which finds its
pins pre-allocated is free to quit and moan.

This does require the driver modules to be well-behaved, but does save
the hal-file writer from having to rememeber the allocator function.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to