// SPDX-License-Identifier: GPL-2.0-or-later/*** ccio-dma.c:** DMA management routines for first generation cache-coherent machines.** Program U2/Uturn in "Virtual Mode" and use the I/O MMU.**** (c) Copyright 2000 Grant Grundler** (c) Copyright 2000 Ryan Bradetich** (c) Copyright 2000 Hewlett-Packard Company******** "Real Mode" operation refers to U2/Uturn chip operation.** U2/Uturn were designed to perform coherency checks w/o using** the I/O MMU - basically what x86 does.**** Philipp Rumpf has a "Real Mode" driver for PCX-W machines at:** CVSROOT=:pserver:anonymous@198.186.203.37:/cvsroot/linux-parisc** cvs -z3 co linux/arch/parisc/kernel/dma-rm.c**** I've rewritten his code to work under TPG's tree. See ccio-rm-dma.c.**** Drawbacks of using Real Mode are:** o outboun