patch-1.3.71 linux/drivers/cdrom/cm206.c
Next file: linux/drivers/cdrom/mcd.c
Previous file: linux/drivers/block/md.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sun Mar 3 15:23:54 1996
- Orig file:
v1.3.70/linux/drivers/cdrom/cm206.c
- Orig date:
Sat Mar 2 10:43:23 1996
diff -u --recursive --new-file v1.3.70/linux/drivers/cdrom/cm206.c linux/drivers/cdrom/cm206.c
@@ -479,7 +479,7 @@
4 c_stop waits for receive_buffer_full: 0xff
*/
-void cm206_bh(void * unused)
+void cm206_bh(void)
{
debug(("bh: %d\n", cd->background));
switch (cd->background) {
@@ -1169,8 +1169,7 @@
}
blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
read_ahead[MAJOR_NR] = 16; /* reads ahead what? */
- bh_base[CM206_BH].routine = cm206_bh;
- enable_bh(CM206_BH);
+ init_bh(CM206_BH, cm206_bh);
memset(cd, 0, sizeof(*cd)); /* give'm some reasonable value */
cd->sector_last = -1; /* flag no data buffered */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this