lbc.h revision 184250
1184250Smarcel/*-
2184250Smarcel * Copyright (c) 2006-2008, Juniper Networks, Inc.
3184250Smarcel * All rights reserved.
4184250Smarcel *
5184250Smarcel * Redistribution and use in source and binary forms, with or without
6184250Smarcel * modification, are permitted provided that the following conditions
7184250Smarcel * are met:
8184250Smarcel *
9184250Smarcel * 1. Redistributions of source code must retain the above copyright
10184250Smarcel *    notice, this list of conditions and the following disclaimer.
11184250Smarcel * 2. Redistributions in binary form must reproduce the above copyright
12184250Smarcel *    notice, this list of conditions and the following disclaimer in the
13184250Smarcel *    documentation and/or other materials provided with the distribution.
14184250Smarcel *
15184250Smarcel * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16184250Smarcel * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17184250Smarcel * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18184250Smarcel * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19184250Smarcel * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20184250Smarcel * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21184250Smarcel * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22184250Smarcel * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23184250Smarcel * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24184250Smarcel * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25184250Smarcel *
26184250Smarcel * $FreeBSD: head/sys/powerpc/mpc85xx/lbc.h 184250 2008-10-25 06:03:40Z marcel $
27184250Smarcel */
28184250Smarcel
29184250Smarcel#ifndef _MACHINE_LBC_H_
30184250Smarcel#define	_MACHINE_LBC_H_
31184250Smarcel
32184250Smarcel#define	LBC_IVAR_DEVTYPE	1
33184250Smarcel#define	LBC_IVAR_CLOCK		2
34184250Smarcel#define	LBC_IVAR_REGSHIFT	3
35184250Smarcel
36184250Smarcel/* Device types. */
37184250Smarcel#define	LBC_DEVTYPE_CFI		1
38184250Smarcel#define	LBC_DEVTYPE_UART	2
39184250Smarcel
40184250Smarcel#endif /* _MACHINE_LBC_H_ */
41