-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Well I'm gonna tell you anyway.

I think it'd be cool if you could remove HAL objects (pins & params) at
runtime, without removing the module that owns them.

This feature would make the hostmot2 driver quite a bit easier to
configure; check this out.  You could initialize all the FPGA I/O pins
as GPIO inputs, and create a bit for each higher-level function (each
instance of encoder, pwmgen, & stepgen) called "enable", initialized to
false.  The user could set (for example) hm2_5i20.0.encoder.00.enable to
TRUE, and all the I/O pins for that encoder would stop being exported as
GPIOs and start being used for the encoder instead.  The encoder's HAL
objects would appear and the GPIO HAL objects would disappear.  That
would be sweet.

But in the absence of that feature, i have to do all the configuration
at load-time, using cumbersome modparam text strings or structs
preloaded into the FPGA RAM.


- --
Sebastian Kuzminsky

The whole of science is nothing more than a refinement of everyday thinking.
- -- Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIEk6TRxgLDhu2PVMRAg+1AJ48jBKeYcQp+rL6RU0fA25jhcqv7wCfZ3oS
BOIEi8eFnZdzr3BjfDWB6Vk=
=2l1c
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to