diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-17 01:37:42 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-17 01:37:42 +0000 |
commit | 5e0f89334010cdc3c55a4cce1f36b15ef8d273a3 (patch) | |
tree | e141f2e63629c103bc56712269956cdd6df98f33 /sys/arch/sparc64 | |
parent | f47049e02cd18fc68d828e0a85f6894c0e7c7635 (diff) |
(128 << fd->sc_type->secsize) instead of (128 * (1 << fd->sc_type->secsize)).
Makes all FD_BSIZE() defines the same. No object code change.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r-- | sys/arch/sparc64/dev/fdvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/fdvar.h b/sys/arch/sparc64/dev/fdvar.h index 838482dc164..57eb67c6c7d 100644 --- a/sys/arch/sparc64/dev/fdvar.h +++ b/sys/arch/sparc64/dev/fdvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fdvar.h,v 1.1 2005/03/09 18:41:49 miod Exp $ */ +/* $OpenBSD: fdvar.h,v 1.2 2006/08/17 01:37:41 krw Exp $ */ /* $NetBSD: fdvar.h,v 1.12 2003/07/11 12:09:13 pk Exp $ */ /*- @@ -37,7 +37,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#define FD_BSIZE(fd) (128 * (1 << fd->sc_type->secsize)) +#define FD_BSIZE(fd) (128 << fd->sc_type->secsize) #define FDC_MAXIOSIZE NBPG /* XXX should be MAXBSIZE */ #define FDC_NSTATUS 10 |