summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorMartin Reindl <martin@cvs.openbsd.org>2007-09-15 10:10:38 +0000
committerMartin Reindl <martin@cvs.openbsd.org>2007-09-15 10:10:38 +0000
commit0162dc0b99f1ddd418a8bc34a022ebe3c8803693 (patch)
tree252837b34b0283ad1a28c757b22cfde02a4f8a9e /sys/dev/ic
parent5ddcba9d2355ab2d50df6f406683bf464fafc2cc (diff)
replace ctob and btoc with ptoa and atop respectively
help and ok miod@ thib@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/aic7xxx_openbsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/aic7xxx_openbsd.h b/sys/dev/ic/aic7xxx_openbsd.h
index f697ba71116..4c68e918460 100644
--- a/sys/dev/ic/aic7xxx_openbsd.h
+++ b/sys/dev/ic/aic7xxx_openbsd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx_openbsd.h,v 1.18 2007/05/02 02:20:37 krw Exp $ */
+/* $OpenBSD: aic7xxx_openbsd.h,v 1.19 2007/09/15 10:10:37 martin Exp $ */
/* $NetBSD: aic7xxx_osm.h,v 1.7 2003/11/02 11:07:44 wiz Exp $ */
/*
@@ -122,7 +122,7 @@ typedef struct pci_attach_args * ahc_dev_softc_t;
* multiple of 16 which should align us on even the largest of cacheline
* boundaries.
*/
-#define AHC_NSEG (roundup(btoc(MAXPHYS) + 1, 16))
+#define AHC_NSEG (roundup(atop(MAXPHYS) + 1, 16))
/* This driver supports target mode */
//#define AHC_TARGET_MODE 1