patch-1.3.71 linux/drivers/cdrom/mcd.c
Next file: linux/drivers/cdrom/mcdx.c
Previous file: linux/drivers/cdrom/cm206.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Mon Mar 4 11:15:22 1996
- Orig file:
v1.3.70/linux/drivers/cdrom/mcd.c
- Orig date:
Sat Mar 2 10:43:23 1996
diff -u --recursive --new-file v1.3.70/linux/drivers/cdrom/mcd.c linux/drivers/cdrom/mcd.c
@@ -90,6 +90,7 @@
#if 0
static int mcd_sizes[] = { 0 };
#endif
+static int mcd_blocksizes[1] = { 0, };
/* I know putting defines in this file is probably stupid, but it should be */
/* the only place that they are really needed... I HOPE! :) */
@@ -1184,7 +1185,8 @@
mcd_port);
return -EIO;
}
-
+
+ blksize_size[MAJOR_NR] = mcd_blocksizes;
blk_dev[MAJOR_NR].request_fn = DEVICE_REQUEST;
read_ahead[MAJOR_NR] = 4;
@@ -1253,7 +1255,7 @@
mcd_invalidate_buffers();
mcdPresent = 1;
- return 0;
+ return 0;
}
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