diff options
Diffstat (limited to 'sys/dev/isa/ess.c')
-rw-r--r-- | sys/dev/isa/ess.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/ess.c b/sys/dev/isa/ess.c index 64ce29bce11..b0d41bffd1e 100644 --- a/sys/dev/isa/ess.c +++ b/sys/dev/isa/ess.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ess.c,v 1.9 2003/04/27 11:22:53 ho Exp $ */ +/* $OpenBSD: ess.c,v 1.10 2005/04/15 13:05:14 mickey Exp $ */ /* $NetBSD: ess.c,v 1.44.4.1 1999/06/21 01:18:00 thorpej Exp $ */ /* @@ -1661,7 +1661,7 @@ ess_round_blocksize(addr, blk) void *addr; int blk; { - return (blk & -8); /* round for max DMA size */ + return ((blk + 7) & -8); /* round for max DMA size */ } int |