diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-12 17:54:39 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-12 17:54:39 +0000 |
commit | 86f981f6d5564f9bb907fe1dfdb69fb76f4dfe4a (patch) | |
tree | f8c758f8861d00d4b9f01f0ebfdd29997faa251e /sys/arch/sparc | |
parent | f74250732895549b7c85a7f9636f38b94475e920 (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/sparc')
-rw-r--r-- | sys/arch/sparc/include/param.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) |