projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
READ, WRITE -> F_READ, F_WRITE
[unix-history]
/
usr
/
src
/
sys
/
tahoe
/
stand
/
hd.c
diff --git
a/usr/src/sys/tahoe/stand/hd.c
b/usr/src/sys/tahoe/stand/hd.c
index
a47f1cc
..
180748b
100644
(file)
--- a/
usr/src/sys/tahoe/stand/hd.c
+++ b/
usr/src/sys/tahoe/stand/hd.c
@@
-7,7
+7,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)hd.c 7.1
0
(Berkeley) %G%
+ * @(#)hd.c 7.1
1
(Berkeley) %G%
*/
#include "sys/param.h"
*/
#include "sys/param.h"
@@
-145,7
+145,7
@@
hdstrategy(io, cmd)
}
dlp = &dklabel[io->i_unit][io->i_ctlr][io->i_bus];
sector = io->i_bn * HDC_SPB;
}
dlp = &dklabel[io->i_unit][io->i_ctlr][io->i_bus];
sector = io->i_bn * HDC_SPB;
- mcb.command = (cmd == READ) ? HCMD_READ : HCMD_WRITE;
+ mcb.command = (cmd ==
F_
READ) ? HCMD_READ : HCMD_WRITE;
mcb.drive = io->i_unit;
mcb.cyl = sector / dlp->d_secpercyl;
mcb.head = (sector / dlp->d_nsectors) % dlp->d_ntracks;
mcb.drive = io->i_unit;
mcb.cyl = sector / dlp->d_secpercyl;
mcb.head = (sector / dlp->d_nsectors) % dlp->d_ntracks;