The maab driver module


maab


Description:

The KMAAB module shows the piece of memory in the kernel space that is the MAAB-CARD PCI-Memory and can be mapped to the user memory. The driver search the PCI bus for MAAB Card and get the memory address of the card. In user space this memory area can be used for reading and writing The 'procinfo' method is used to make this buffer visible in the /proc/maab file. cat /proc/maab shows Proc entry from maab: 'Memory Content' The 'mmap' method maps the DSP memory space in user space see maablib for details.


Driver inodes:

The driver inode in /dev is usually created by

mknod /dev/maab c major minor
If another major is needed it can be specified by the maab_major option to insmod:

insmod maab.o maab_major=new_major

Driver inodes:

All driver generated with LDDK have debugging information compiled into the code that can be configured with the dbgMask option to insmod. The bits of dbgMask specifies the debugging verbosity:

For example:

insmod maab.o dbgMask=0x06 logs all function entrys and exits to the kernel log daemon.

Mon Jul 20 04:40:28 1998