1158124Smarcel/*-
2158124Smarcel * Copyright (c) 2006 Marcel Moolenaar
3158124Smarcel * All rights reserved.
4158124Smarcel *
5158124Smarcel * Redistribution and use in source and binary forms, with or without
6158124Smarcel * modification, are permitted provided that the following conditions
7158124Smarcel * are met:
8158124Smarcel *
9158124Smarcel * 1. Redistributions of source code must retain the above copyright
10158124Smarcel *    notice, this list of conditions and the following disclaimer.
11158124Smarcel * 2. Redistributions in binary form must reproduce the above copyright
12158124Smarcel *    notice, this list of conditions and the following disclaimer in the
13158124Smarcel *    documentation and/or other materials provided with the distribution.
14158124Smarcel *
15158124Smarcel * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16158124Smarcel * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17158124Smarcel * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18158124Smarcel * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19158124Smarcel * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20158124Smarcel * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21158124Smarcel * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22158124Smarcel * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23158124Smarcel * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24158124Smarcel * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25158124Smarcel *
26158124Smarcel * $FreeBSD$
27158124Smarcel */
28158124Smarcel
29158124Smarcel#ifndef _DEV_PUC_BUS_H_
30158124Smarcel#define	_DEV_PUC_BUS_H_
31158124Smarcel
32158124Smarcel#include <sys/serial.h>
33158124Smarcel#include <serdev_if.h>
34158124Smarcel
35158124Smarcel#define	PUC_IVAR_CLOCK		0
36158124Smarcel#define	PUC_IVAR_TYPE		1
37158124Smarcel
38158124Smarcel/* Port types. */
39158124Smarcel#define	PUC_TYPE_SERIAL		1
40158124Smarcel#define	PUC_TYPE_PARALLEL	2
41158124Smarcel
42158124Smarcel#endif /* _DEV_PUC_BUS_H_ */
43