165862Sbrian/*- 265862Sbrian * Copyright (c) 2000 Jakob Stoklund Olesen <stoklund@taxidriver.dk> 365862Sbrian * All rights reserved. 465862Sbrian * 565862Sbrian * Redistribution and use in source and binary forms, with or without 665862Sbrian * modification, are permitted provided that the following conditions 765862Sbrian * are met: 865862Sbrian * 1. Redistributions of source code must retain the above copyright 965862Sbrian * notice, this list of conditions and the following disclaimer. 1065862Sbrian * 2. Redistributions in binary form must reproduce the above copyright 1165862Sbrian * notice, this list of conditions and the following disclaimer in the 1265862Sbrian * documentation and/or other materials provided with the distribution. 1365862Sbrian * 1465862Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1565862Sbrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1665862Sbrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1765862Sbrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1865862Sbrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1965862Sbrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2065862Sbrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2165862Sbrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2265862Sbrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2365862Sbrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2465862Sbrian * SUCH DAMAGE. 2565862Sbrian * 2665862Sbrian * $FreeBSD$ 2765862Sbrian */ 2865862Sbrian 2965862Sbrianstruct physical; 3065862Sbrianstruct device; 3165862Sbrian 3265862Sbrianextern struct device *atm_Create(struct physical *); 3365862Sbrianextern struct device *atm_iov2device(int, struct physical *, 3465862Sbrian struct iovec *, int *, int, int *, int *); 35134789Sbrianextern unsigned atm_DeviceSize(void); 36