From 0162dc0b99f1ddd418a8bc34a022ebe3c8803693 Mon Sep 17 00:00:00 2001 From: Martin Reindl Date: Sat, 15 Sep 2007 10:10:38 +0000 Subject: replace ctob and btoc with ptoa and atop respectively help and ok miod@ thib@ --- sys/dev/ic/aic7xxx_openbsd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic') 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 -- cgit v1.2.3