readme Driver File Contents (PortMaster.driver.zip)

The Following files will be there with the tar of the Driver:

	mcs9865.c
	mcs9865.h
	mcs9865-isa.c
	mcs9865-isa.h
	Makefile
	README	
	mcs9865

Building the Driver:
--------------------
	Change to the folder with the Starex source files. And run the following Command:
		$ make

	Once the driver is compliles the loadable module mcs9865.ko will be created in the same folder.

	**  '$' --this symbol represent the shell prompt on linux			

Loading the Driver:
-------------------
	
	To load the driver use the following command:
		$ insmod mcs9865.ko
		$ insmod mcs9865-isa.ko

	**  '$' --this symbol represent the shell prompt on linux			

Unloading the Driver:
---------------------

	To unload the driver use the following command:
		$rmmod mcs9865
		$rmmod mcs9865-isa

	**  '$' --this symbol represent the shell prompt on linux			

Installing the Driver:
----------------------

	To install the driver use the following command:
		
		make install

Uninstalling the Driver:
------------------------

	To un-install the driver use the following command:
		
		make uninstall

Note: only baud rates upto 3.0Mbps are implemented in the current driver.
	
Feature Configuration:
----------------------

	This driver comes with a static array uart_9865_contxts[ ] for all the 16 ports features in the 9865.c file.
	Where u can set the features like:
		-DMA in RX
		-DMA in TX
		-enable/disable Flow control
		-Flow control type
		-RX fifo trigger level
		-TX fifo trigger level
		-x-on character
		-x-off character

	An example array setting for PORT 0 which will be recognised as /dev/ttyD0:			

	//Port 0	--**This represents that this setting is for port 0 which will be recognised as /dev/ttyD0
	{
		.rx_dma_en	= 0,
		.tx_dma_en	= 0,
		.uart_mode	= MCS9865_RS232_MODE,
		.en_flow_control	= 0,
		.flow_ctrl_type 	= MCS9865_XON_XOFF_HW_FLOWCONTROL,
		.rxfifotrigger	= 64,
		.txfifotrigger	= 64,		
		.x_on		= SERIAL_DEF_XON,
		.x_off		= SERIAL_DEF_XOFF,
	},

	To change it to different modes like RS232 and RS422, we have to fille the .uart_mode with corresponding //UART mode defined in header files. for example for setting it to RS422 mode, we have to fill .uart_mode=MCS9865_RS422_MODE.


Kernels:
--------

	This driver is currently developed and tested on 2.6.11 linux kernel and above 	

Limitations:
------------

	This driver supports a maximum of 16 serial devices. This can be modified as required		



Steps for setting parallel port :	
---------------------------------
	1. rmmod lp
	2. rmmod parport_pc
	2. insmod /usr/lib/modules/2.6.15/kernel/drivers/parport/parport_pc io=0xb000 irq=10.

Note: Here, the io and irq should be noted from lspci -v.
Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: ftp, load: 2.61