For example, one writes a driver for the parallel port, because one wants to use it to generate pulses that drive a stepper motor. This approach often leads to device drivers that depend too much on the application, and are not general enough to be re-used for other ADLINK PET-48DIO. One golden rule for the device driver writer is to separate mechanism and policy: The mechanism part of the device interface is a faithful representation of the bare functionality of[…]