-#define F_READ 0x1 /* file opened for reading */
-#define F_WRITE 0x2 /* file opened for writing */
-#define F_ALLOC 0x4 /* buffer allocated */
-#define F_FILE 0x8 /* file instead of device */
-#define F_NBSF 0x10 /* no bad sector forwarding */
-#define F_ECCLM 0x20 /* limit # of bits in ecc correction */
-#define F_SSI 0x40 /* set skip sector inhibit */
-#define F_SEVRE 0x80 /* Severe burnin (no retries, no ECC) */
+#define F_READ 0x0001 /* file opened for reading */
+#define F_WRITE 0x0002 /* file opened for writing */
+#define F_ALLOC 0x0004 /* buffer allocated */
+#define F_FILE 0x0008 /* file instead of device */
+#define F_NBSF 0x0010 /* no bad sector forwarding */
+#define F_ECCLM 0x0020 /* limit # of bits in ecc correction */
+#define F_SSI 0x0040 /* set skip sector inhibit */
+#define F_SEVRE 0x0080 /* Severe burnin (no retries, no ECC) */