diff options
author | Martin Reindl <martin@cvs.openbsd.org> | 2007-10-01 12:10:56 +0000 |
---|---|---|
committer | Martin Reindl <martin@cvs.openbsd.org> | 2007-10-01 12:10:56 +0000 |
commit | 56fe30b1f14444b0d1b4fa3847a1730d34346c7d (patch) | |
tree | e4de3eb6a7e9c7cc233b712675cd797fa1072bec /sys/dev | |
parent | 641bf76b011f19a6e68d429e89a9a8e72a764a72 (diff) |
more btoc -> atop
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/aic79xx_openbsd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/aic79xx_openbsd.h b/sys/dev/ic/aic79xx_openbsd.h index e34879a091c..b6df42a1310 100644 --- a/sys/dev/ic/aic79xx_openbsd.h +++ b/sys/dev/ic/aic79xx_openbsd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx_openbsd.h,v 1.16 2005/12/10 11:45:43 miod Exp $ */ +/* $OpenBSD: aic79xx_openbsd.h,v 1.17 2007/10/01 12:10:55 martin Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -132,7 +132,7 @@ typedef struct pci_attach_args * ahd_dev_softc_t; * multiple of 16 which should align us on even the largest of cacheline * boundaries. */ -#define AHD_NSEG (roundup(btoc(MAXPHYS) + 1, 16)) +#define AHD_NSEG (roundup(atop(MAXPHYS) + 1, 16)) /* This driver supports target mode */ // #define AHD_TARGET_MODE 1 |