1*dd48af36SAlexander Motin# Copyright (c) 2010 Alexander Motin <mav@FreeBSD.org> 2*dd48af36SAlexander Motin# All rights reserved. 3*dd48af36SAlexander Motin# 4*dd48af36SAlexander Motin# Redistribution and use in source and binary forms, with or without 5*dd48af36SAlexander Motin# modification, are permitted provided that the following conditions 6*dd48af36SAlexander Motin# are met: 7*dd48af36SAlexander Motin# 1. Redistributions of source code must retain the above copyright 8*dd48af36SAlexander Motin# notice, this list of conditions and the following disclaimer, 9*dd48af36SAlexander Motin# without modification, immediately at the beginning of the file. 10*dd48af36SAlexander Motin# 2. Redistributions in binary form must reproduce the above copyright 11*dd48af36SAlexander Motin# notice, this list of conditions and the following disclaimer in the 12*dd48af36SAlexander Motin# documentation and/or other materials provided with the distribution. 13*dd48af36SAlexander Motin# 14*dd48af36SAlexander Motin# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 15*dd48af36SAlexander Motin# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 16*dd48af36SAlexander Motin# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 17*dd48af36SAlexander Motin# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18*dd48af36SAlexander Motin# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19*dd48af36SAlexander Motin# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20*dd48af36SAlexander Motin# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21*dd48af36SAlexander Motin# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22*dd48af36SAlexander Motin# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23*dd48af36SAlexander Motin# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24*dd48af36SAlexander Motin# 25*dd48af36SAlexander Motin 26*dd48af36SAlexander MotinINTERFACE mvs; 27*dd48af36SAlexander Motin 28*dd48af36SAlexander MotinMETHOD void edma { 29*dd48af36SAlexander Motin device_t dev; 30*dd48af36SAlexander Motin device_t child; 31*dd48af36SAlexander Motin int mode; 32*dd48af36SAlexander Motin}; 33*dd48af36SAlexander Motin 34