The major device number may be set when the module is installed by "major=<major_dev_number>". The major device number defaults to 71 if not specified.
A device probe is NOT performed by the driver. The default base address is 0x300. The base address may be set when the module is installed by "io=<base_address>". See the hardware manual for a list of valid base addresses and jumper information.
For example:
/sbin/insmod kbussdrv_20.o major=81 io=0x310
One device node needs to be added to /dev for this device. Minor number 0 is used for normal I/O service.
For example:
mknod /dev/kbuss c 81 0
After the node is made write permissions should be changed as follows:
chmod 666 /dev/kbuss
The 12 bit address space is subdivided into three groups of four bits.
Bits 11-8 are mapped to IOTRANS.cnaf.C. This is used to select which card in a kbuss system is to be addressed. Usually the card has a 4 position DIP switch to set the base address. Valid addresses are 0-15.
Bits 7-4 are mapped to IOTRANS.cnaf.N. This and the A bits together form an 8 bit address space for each card. The card is designed so that similiar functionality is grouped together within the N range of the card. For example, the registers to access the D/A convertors are grouped within one N area. The range of N is 0-15.
Bits 3-0 are mapped to IOTRANS.cnaf.A. The range of A is 0-15.