BSP and Device Driver Development Guide
This is the driver open call. Usually this call does nothing other than validate the minor number.
With some drivers, it may be necessary to allocate memory when a particular device is opened. If that is the case, then this is often the place to do this operation.
BSP and Device Driver Development Guide
Copyright © 1988-2008 OAR Corporation