summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/alpha/include/param.h4
-rw-r--r--sys/arch/hppa/include/param.h4
-rw-r--r--sys/arch/hppa64/include/param.h4
-rw-r--r--sys/arch/solbourne/include/param.h4
-rw-r--r--sys/arch/sparc/include/param.h4
-rw-r--r--sys/arch/sparc64/include/param.h4
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/alpha/include/param.h b/sys/arch/alpha/include/param.h
index b5c73b7e327..d9f886ae1c5 100644
--- a/sys/arch/alpha/include/param.h
+++ b/sys/arch/alpha/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.30 2006/03/19 01:47:23 martin Exp $ */
+/* $OpenBSD: param.h,v 1.31 2006/08/12 17:54:38 krw Exp $ */
/* $NetBSD: param.h,v 1.30 2000/06/09 16:03:04 thorpej Exp $ */
/*
@@ -76,8 +76,8 @@
#define KERNBASE 0xfffffc0000230000 /* start of kernel virtual */
-#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
#ifndef MAXPHYS
#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index 344a91a3962..bda05751055 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.32 2006/03/19 01:47:23 martin Exp $ */
+/* $OpenBSD: param.h,v 1.33 2006/08/12 17:54:38 krw Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -55,8 +55,8 @@
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
diff --git a/sys/arch/hppa64/include/param.h b/sys/arch/hppa64/include/param.h
index 24c8263b17c..665e4084d81 100644
--- a/sys/arch/hppa64/include/param.h
+++ b/sys/arch/hppa64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.7 2006/03/19 01:47:23 martin Exp $ */
+/* $OpenBSD: param.h,v 1.8 2006/08/12 17:54:38 krw Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -54,8 +54,8 @@
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
diff --git a/sys/arch/solbourne/include/param.h b/sys/arch/solbourne/include/param.h
index 87d3a541497..494010de889 100644
--- a/sys/arch/solbourne/include/param.h
+++ b/sys/arch/solbourne/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.4 2006/03/19 01:47:24 martin Exp $ */
+/* $OpenBSD: param.h,v 1.5 2006/08/12 17:54:38 krw Exp $ */
/* OpenBSD: param.h,v 1.29 2004/08/06 22:31:31 mickey Exp */
/*
@@ -77,8 +77,8 @@
#define KERNBASE 0xfd080000
#define KERNTEXTOFF 0xfd084000 /* start of kernel text */
-#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024)
diff --git a/sys/arch/sparc/include/param.h b/sys/arch/sparc/include/param.h
index c9f9f563b35..d289af22501 100644
--- a/sys/arch/sparc/include/param.h
+++ b/sys/arch/sparc/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.36 2006/03/19 01:47:24 martin Exp $ */
+/* $OpenBSD: param.h,v 1.37 2006/08/12 17:54:38 krw Exp $ */
/* $NetBSD: param.h,v 1.29 1997/03/10 22:50:37 pk Exp $ */
/*
@@ -82,8 +82,8 @@
#define KERNBASE 0xf8000000 /* start of kernel virtual space */
#define KERNTEXTOFF 0xf8004000 /* start of kernel text */
-#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024)
diff --git a/sys/arch/sparc64/include/param.h b/sys/arch/sparc64/include/param.h
index 8e7ecc5f3c9..0de28e1cb99 100644
--- a/sys/arch/sparc64/include/param.h
+++ b/sys/arch/sparc64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.20 2006/03/19 01:47:24 martin Exp $ */
+/* $OpenBSD: param.h,v 1.21 2006/08/12 17:54:38 krw Exp $ */
/* $NetBSD: param.h,v 1.25 2001/05/30 12:28:51 mrg Exp $ */
/*
@@ -106,8 +106,8 @@
extern int nbpg, pgofset, pgshift;
#endif
-#define DEV_BSIZE 512
#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
+#define DEV_BSIZE (1 << DEV_BSHIFT)
#define BLKDEV_IOSIZE 2048
#define MAXPHYS (64 * 1024)