Description ------------ This is a device driver for the DeltaTau Turbo PMAC lite PCI servo controller board. Vendor reference: www.deltatau.com LinuxOS: 2.4.xx (used in the fedora 1.0 2.4.22 kernel) This is not a generic device driver that can be picked up and easily used by other. After implementation of the general IO Register command input/output and general access to DPRAM, the other functions are very application specific. If you wish to used this driver for other application, I would suggest stripping out much of the IOCTL call after PMAC_IOCTL_MEM_PUTBLK. Then customizing the driver to your application. The rest of the code can be a good resource to see how higher level function can be implemented. For simplicity, I implemented driver access and some higher level application specific functions in the pmac_nice.c and pm.c, these files give an nice API to the driver routines. The PMAC controller is being used by the IRTF to drive it's telescope control system. Further information can be founded at http://irtf.ifa.hawaii.edu/~tcs3 Written By ------------- Tony Denault NASA IRTF, Institute for Astronomy (http://irtfweb.ifa.hawaii.edu) email: denault at ifa.hawaii.edu Making the driver ------------------- > make How to load module ---------------------- 1. To make a /dev entry for pmac: # mknod --mode=666 /dev/pmac c 66 0 2. Manual loading; # insmod /home/tcs3/src/tcs3/drivers/pmac/pmac.o 3. Unloading: # rmmod pmac 4. For debugging: set DEBUG to 1 in pmac.c cat /proc/kmsg