patch-2.1.75 linux/drivers/char/pms.c

Next file: linux/drivers/char/random.c
Previous file: linux/drivers/char/pc_keyb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.74/linux/drivers/char/pms.c linux/drivers/char/pms.c
@@ -1045,9 +1045,15 @@
  
 #ifdef MODULE
 
+MODULE_PARM(io_port,"i");
+MODULE_PARM(mem_base,"i");
+
 int init_module(void)
 {
 	printk(KERN_INFO "Mediavision Pro Movie Studio driver 0.01\n");
+	
+	data_port = io_port +1;
+	
 	if(init_mediavision())
 	{
 		printk(KERN_INFO "Board not found.\n");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov