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/sparc/dev | |
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/sparc/dev')
-rw-r--r-- | sys/arch/sparc/dev/fdvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/fdvar.h b/sys/arch/sparc/dev/fdvar.h index 317176babf3..533078ac72e 100644 --- a/sys/arch/sparc/dev/fdvar.h +++ b/sys/arch/sparc/dev/fdvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fdvar.h,v 1.7 2004/09/29 07:35:11 miod Exp $ */ +/* $OpenBSD: fdvar.h,v 1.8 2006/08/17 01:37:41 krw Exp $ */ /* * $NetBSD: fdvar.h,v 1.5 1996/12/08 23:40:34 pk Exp $ * @@ -32,7 +32,7 @@ * */ -#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 |