summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2006-08-12 17:54:39 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2006-08-12 17:54:39 +0000
commit86f981f6d5564f9bb907fe1dfdb69fb76f4dfe4a (patch)
treef8c758f8861d00d4b9f01f0ebfdd29997faa251e /sys/arch/alpha/include
parentf74250732895549b7c85a7f9636f38b94475e920 (diff)
Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT)
in the six cases using "512". As DEV_BSHIFT is always 9, this should be a no-op. "no objections" miod@ "I can't see any problem doing this." pedro@
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r--sys/arch/alpha/include/param.h4
1 files changed, 2 insertions, 2 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 */