Don't do anything if there are no streaming buffer cache.

This commit is contained in:
petrov 2003-01-16 21:55:52 +00:00
parent 1556fd569d
commit 6383ae6ccb

View File

@ -1,4 +1,4 @@
/* $NetBSD: iommu.c,v 1.62 2002/10/24 23:24:01 petrov Exp $ */
/* $NetBSD: iommu.c,v 1.63 2003/01/16 21:55:52 petrov Exp $ */
/*
* Copyright (c) 2001, 2002 Eduardo Horvath
@ -911,6 +911,9 @@ iommu_dvmamap_sync(t, sb, map, offset, len, ops)
int64_t tte;
vaddr_t vaend;
if (!sb->sb_flush)
return;
/*
* We only support one DMA segment; supporting more makes this code
* too unwieldy.