On Fri, Jul 25, 2008 at 2:43 AM, grover <[EMAIL PROTECTED]> wrote:

>  - AutoLoad: We should split this out entirely - I would like to see a
> more generic approach, where this is only a hint during installation. A
> seperate attribute, that specifies a default startup request - AutoStart,
> Demand, Disabled, ... Kind of like the Win32 service startup codes. However
> unlike Win32 I'd like to make this a request, e.g. during installation/first
> load/first start, the user should agree to this request.
>

Good idea. Is this the same as letting the run-time override the AutoLoad
setting?


>  I see that ISA is special, as we can't detect these devices easily, so
> maybe we should add a static method in those devices with the signature and
> a special Probing attribute:
>

>  [ISAProbe]
>  static bool Probe();
>

I thought about this and decided to go with a non-static method for Probe().
This way all hardware drivers follow the same life cycle: objection
creation-> setup() -> probe() -> start() -> createsubdevices() -> stop() ->
etc. Probe is just one part of it.


>  About the attribute class tree: This should make enumerating installed
> drivers easier, as there's only one run over all classes instead of one for
> each bus.
>

I agree; I think this problem is solved by having a single DeviceManager
where all devices are registered with.

-Phil
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers

Reply via email to