[openbeos] driver loading question


Hi all,


i have been working on the ps2 device driver, and things are finally starting to work.
one major problem is that for the moment, keyboard detection (and mouse detection) are done in init_hardware, and that apparently it is normal for ps2 devices to have timeouts of up to 1 sec.


the result of this is that the boot time increases by a few seconds because booting does not continue until all init_hardware calls are ready. this sucks, because boot time should be as short as possible.

a possible solution is to always return B_NO_ERROR in init_hardware, and do the detection in init_driver. would this be a good solution, or do any of you kernel guys know a better one?

kind regards,
   Bruno.

_________________________________________________________________



Other related posts: