Increase the delay after touching the IOMMU control register by another

three no-ops (empirically verified by Robert Elz).
This commit is contained in:
pk 1998-11-18 12:07:47 +00:00
parent 743ebc7bbe
commit dee948f2d9

View File

@ -1,4 +1,4 @@
/* $NetBSD: iommureg.h,v 1.5 1998/05/04 23:16:59 pk Exp $ */
/* $NetBSD: iommureg.h,v 1.6 1998/11/18 12:07:47 pk Exp $ */
/*
* Copyright (c) 1996
@ -66,11 +66,11 @@ struct iommureg {
*/
#define IOMMU_FLUSHPAGE(sc, va) do { \
(sc)->sc_reg->io_flushpage = (va) & IOMMU_FLUSH_MASK; \
__asm("nop;nop;nop;"); \
__asm("nop;nop;nop;nop;nop;nop;"); \
} while (0);
#define IOMMU_FLUSHALL(sc) do { \
(sc)->sc_reg->io_flashclear = 0; \
__asm("nop;nop;nop;"); \
__asm("nop;nop;nop;nop;nop;nop;"); \
} while (0)
/* to pte.h ? */