Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src



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.




Home | Main Index | Thread Index | Old Index