User Level Device Driver Libraries
==================================
This directory contains statically linked libraries for the user level device drivers.
The library binaries are placed in this directory while the sources are in the respective
sub-directories. 

Again the make utility serves for building all the libraries at one shot.

The contents of the directory:
=============================
- Makefile      :make file for building the libraries
- README        :this file 
- parport	:sub-directory having the code for the parport library
- usrdriv	:sub-directory having the code for the userdev library.
- libparport.a	:statically linked parport library
- libusrdriv.a	:statically linked Userdev library

Usage:
=====
The libraries can be used in the following way:

- include the library header file, (parport.h or usrdriv.h) in the source code of the
  driver, so that the data structures and function declations become available to the
  driver code.

- compile the driver and link the static library (libparport.a or libusrdriv.a) with 
  the driver. For eg: incase of a driver named "dummy" which has the code in dummy.c
  do needs both parport and Userdev libraries, do the following:

  	gcc dummy.c -o dummy -Llib -lparport -lusrdriv

   The order of the libraries needs to be maintained because parport library requires 
   the Userdev library for its operation.
