summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hp300/hp300/disksubr.c4
-rw-r--r--sys/arch/sparc/sparc/disksubr.c4
-rw-r--r--sys/arch/sparc64/sparc64/disksubr.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/hp300/hp300/disksubr.c b/sys/arch/hp300/hp300/disksubr.c
index 84e8442e8eb..e66ebbf667e 100644
--- a/sys/arch/hp300/hp300/disksubr.c
+++ b/sys/arch/hp300/hp300/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.25 2007/05/29 06:28:14 otto Exp $ */
+/* $OpenBSD: disksubr.c,v 1.26 2007/05/31 02:57:53 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.9 1997/04/01 03:12:13 scottr Exp $ */
/*
@@ -270,7 +270,7 @@ bounds_check_with_label(bp, lp, osdep, wlabel)
}
/* calculate cylinder for disksort to order transfers with */
- bp->b_resid = (bp->b_blkno + blockpersec(p->p_offset, lp)) /
+ bp->b_cylinder = (bp->b_blkno + blockpersec(p->p_offset, lp)) /
lp->d_secpercyl;
return (1);
diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c
index 1af6c1b0340..d36a0b1d93e 100644
--- a/sys/arch/sparc/sparc/disksubr.c
+++ b/sys/arch/sparc/sparc/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.45 2007/05/31 00:30:08 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.46 2007/05/31 02:57:53 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */
/*
@@ -326,7 +326,7 @@ bounds_check_with_label(bp, lp, osdep, wlabel)
}
/* calculate cylinder for disksort to order transfers with */
- bp->b_resid = (bp->b_blkno + blockpersec(p->p_offset, lp)) /
+ bp->b_cylinder = (bp->b_blkno + blockpersec(p->p_offset, lp)) /
lp->d_secpercyl;
return (1);
bad:
diff --git a/sys/arch/sparc64/sparc64/disksubr.c b/sys/arch/sparc64/sparc64/disksubr.c
index 0be5c0a7429..92b65f73e2e 100644
--- a/sys/arch/sparc64/sparc64/disksubr.c
+++ b/sys/arch/sparc64/sparc64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.24 2007/05/31 00:30:10 deraadt Exp $ */
+/* $OpenBSD: disksubr.c,v 1.25 2007/05/31 02:57:53 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.13 2000/12/17 22:39:18 pk Exp $ */
/*
@@ -323,7 +323,7 @@ bounds_check_with_label(bp, lp, osdep, wlabel)
}
/* calculate cylinder for disksort to order transfers with */
- bp->b_resid = (bp->b_blkno + blockpersec(p->p_offset, lp)) /
+ bp->b_cylinder = (bp->b_blkno + blockpersec(p->p_offset, lp)) /
lp->d_secpercyl;
return (1);
bad: