Oxford Semiconductor Inc.

GPIO driver - Tornado device range (PCIe)
-----------------------------------------
This version of the Gpio driver has been built and tested on
kernel version 2.6.25

To build the GPIO driver, from the command line move to the 
folder shown below and and enter the command 'make':

-> cd tornado_gpio_vx.x/source/gpio/driver/linux
-> make

To load the driver, use the "gpio_load" script. Syntax for the
script is as below:

-> ./gpio_load <number of gpio devices present>

For e.g., if there are two gpio boards connected, use:

-> ./gpio_load 2

This will create two gpio nodes:
/dev/gpio0
/dev/gpio1

To unload the driver, use the "gpio_unload" script. This will remove the Gpio module
and will delete the Gpio nodes from the /dev directory.

-> ./gpio_unload
