Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 10/18/1998 09:02:35
Module Name: src
Committed By: christos
Date: Sun Oct 18 16:02:35 UTC 1998
Modified Files:
src/sys/arch/sparc/sparc: iommu.c
Log Message:
PR/6311: By me... There was a bug unloading the dmamap:
addr = map->dm_segs[0].ds_addr & ~PGOFSET;
len = map->dm_segs[0].ds_len;
len = ((addr & PGOFSET) + len + PGOFSET) & ~PGOFSET;
addr &= ~PGOFSET;
Notice that the & ~PGOFSET in the first line should be gone. This fixes
the newfs large disk panic.