summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/aic6360.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-02 10:43:17 +0000
committerphk <phk@FreeBSD.org>1996-05-02 10:43:17 +0000
commit779840c457bb3a546512321e6b47d89829e421ca (patch)
treecb8228f2628c3afe7a8e21ed27769c79832dab3b /sys/i386/isa/aic6360.c
parent2476b0058a968684c543c328f819404038e7c419 (diff)
downloadFreeBSD-src-779840c457bb3a546512321e6b47d89829e421ca.zip
FreeBSD-src-779840c457bb3a546512321e6b47d89829e421ca.tar.gz
First pass at cleaning up macros relating to pages, clusters and all that.
Diffstat (limited to 'sys/i386/isa/aic6360.c')
-rw-r--r--sys/i386/isa/aic6360.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/aic6360.c b/sys/i386/isa/aic6360.c
index f3ec95a..db958a1 100644
--- a/sys/i386/isa/aic6360.c
+++ b/sys/i386/isa/aic6360.c
@@ -31,7 +31,7 @@
*/
/*
- * $Id: aic6360.c,v 1.19 1996/01/07 19:22:35 gibbs Exp $
+ * $Id: aic6360.c,v 1.20 1996/03/10 07:04:43 gibbs Exp $
*
* Acknowledgements: Many of the algorithms used in this driver are
* inspired by the work of Julian Elischer (julian@tfs.com) and
@@ -1067,8 +1067,8 @@ aic_minphys(bp)
{
AIC_TRACE(("aic_minphys\n"));
- if (bp->b_bcount > (AIC_NSEG << PGSHIFT))
- bp->b_bcount = (AIC_NSEG << PGSHIFT);
+ if (bp->b_bcount > (AIC_NSEG << PAGE_SHIFT))
+ bp->b_bcount = (AIC_NSEG << PAGE_SHIFT);
}
OpenPOWER on IntegriCloud