patch-2.1.103 linux/drivers/block/paride/on20.c

Next file: linux/drivers/block/paride/on26.c
Previous file: linux/drivers/block/paride/mkd
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.102/linux/drivers/block/paride/on20.c linux/drivers/block/paride/on20.c
@@ -1,12 +1,18 @@
 /* 
-	on20.c	(c) 1996  Grant R. Guenther <grant@torque.net>
-		          Under the terms of the GNU public license.
+	on20.c	(c) 1996-8  Grant R. Guenther <grant@torque.net>
+		            Under the terms of the GNU public license.
 
         on20.c is a low-level protocol driver for the
         Onspec 90c20 parallel to IDE adapter. 
 */
 
-#define	ON20_VERSION	"1.0"
+/* Changes:
+
+        1.01    GRG 1998.05.06 init_proto, release_proto
+
+*/
+
+#define	ON20_VERSION	"1.01"
 
 #include <linux/module.h>
 #include <linux/delay.h>
@@ -114,12 +120,12 @@
 
 }
 
-static void on20_inc_use ( void )
+static void on20_init_proto( PIA *pi)
 
 {       MOD_INC_USE_COUNT;
 }
 
-static void on20_dec_use ( void )
+static void on20_release_proto( PIA *pi)
 
 {       MOD_DEC_USE_COUNT;
 }
@@ -135,8 +141,8 @@
                            0,
                            0,
                            on20_log_adapter,
-                           on20_inc_use, 
-                           on20_dec_use 
+                           on20_init_proto,
+                           on20_release_proto
                           };
 
 

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