1 /* $OpenBSD: conf.h,v 1.6 2011/11/14 14:29:53 deraadt Exp $ */ 2 3 /* 4 * Copyright (c) 1998-2005 Michael Shalayeff 5 * All rights reserved. 6 * 7 * Permission to use, copy, modify, and distribute this software for any 8 * purpose with or without fee is hereby granted, provided that the above 9 * copyright notice and this permission notice appear in all copies. 10 * 11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 15 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER IN 16 * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 17 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18 */ 19 20 #ifndef _MACHINE_CONF_H_ 21 #define _MACHINE_CONF_H_ 22 23 #include <sys/conf.h> 24 struct tty; 25 struct termios; 26 27 cdev_decl(pdc); 28 int pdcparam(struct tty *, struct termios *); 29 void pdcstart(struct tty *); 30 31 #define mmread mmrw 32 #define mmwrite mmrw 33 cdev_decl(mm); 34 35 cdev_decl(fd); 36 bdev_decl(fd); 37 38 #endif /* _MACHINE_CONF_H_ */ 39