patch-2.1.101 linux/drivers/ap1000/ddv.c
Next file: linux/drivers/block/Config.in
Previous file: linux/drivers/ap1000/bif.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri May 8 00:47:24 1998
- Orig file:
v2.1.100/linux/drivers/ap1000/ddv.c
- Orig date:
Thu May 7 22:51:47 1998
diff -u --recursive --new-file v2.1.100/linux/drivers/ap1000/ddv.c linux/drivers/ap1000/ddv.c
@@ -60,6 +60,8 @@
to make things a bit more efficient */
#define SECTOR_BLOCK_SHIFT 9
+#define SECTOR_MASK ((BLOCK_SIZE >> 9) - 1)
+
/* try to read ahead a bit */
#define DDV_READ_AHEAD 64
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov