Device driver
Posted: Sun May 02, 2004 11:00 pm
Hello:
Working in the device manager of my OS I get a doubt. There ara some devices that need some kind of configuration, e.g. The 'keyboard driver' need to know the number of keys, the 'video driver' need to know the if the video mode, the COM driver need to know address, IRQ and speed, etc.
But, when the device must be configuered, when the driver is loaded or when the user open a conection with it?
Is necessary to include a config() service into each device driver, when must be executed?
Thank you,
pepito
Working in the device manager of my OS I get a doubt. There ara some devices that need some kind of configuration, e.g. The 'keyboard driver' need to know the number of keys, the 'video driver' need to know the if the video mode, the COM driver need to know address, IRQ and speed, etc.
But, when the device must be configuered, when the driver is loaded or when the user open a conection with it?
Is necessary to include a config() service into each device driver, when must be executed?
Thank you,
pepito