patch-2.1.107 linux/drivers/block/paride/pcd.c
Next file: linux/drivers/block/paride/pd.c
Previous file: linux/drivers/block/paride/paride.c
Back to the patch index
Back to the overall index
- Lines: 45
- Date:
Wed Jun 24 14:24:19 1998
- Orig file:
v2.1.106/linux/drivers/block/paride/pcd.c
- Orig date:
Sun Jun 7 11:16:29 1998
diff -u --recursive --new-file v2.1.106/linux/drivers/block/paride/pcd.c linux/drivers/block/paride/pcd.c
@@ -90,10 +90,11 @@
and loosen interpretation of ATAPI
standard for clearing error status.
Use spinlocks. Eliminate sti().
+ 1.03 GRG 1998.06.16 Eliminated an Ugh
*/
-#define PCD_VERSION "1.02"
+#define PCD_VERSION "1.03"
#define PCD_MAJOR 46
#define PCD_NAME "pcd"
#define PCD_UNITS 4
@@ -413,30 +414,20 @@
int init_module(void)
{ int err;
- long flags;
-
- save_flags(flags);
- cli();
err = pcd_init();
- restore_flags(flags);
return err;
}
void cleanup_module(void)
-{ long flags;
- int unit;
+{ int unit;
- save_flags(flags);
- cli();
unregister_blkdev(MAJOR_NR,name);
for (unit=0;unit<PCD_UNITS;unit++)
if (PCD.present) pi_release(PI);
-
- restore_flags(flags);
}
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov