xref: /freebsd/sys/powerpc/mpc85xx/lbc.h (revision 08077f589c9d7d16f64ac78f7886034c8a16b1a7)
108077f58SMarcel Moolenaar /*-
208077f58SMarcel Moolenaar  * Copyright (c) 2006-2008, Juniper Networks, Inc.
308077f58SMarcel Moolenaar  * All rights reserved.
408077f58SMarcel Moolenaar  *
508077f58SMarcel Moolenaar  * Redistribution and use in source and binary forms, with or without
608077f58SMarcel Moolenaar  * modification, are permitted provided that the following conditions
708077f58SMarcel Moolenaar  * are met:
808077f58SMarcel Moolenaar  *
908077f58SMarcel Moolenaar  * 1. Redistributions of source code must retain the above copyright
1008077f58SMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer.
1108077f58SMarcel Moolenaar  * 2. Redistributions in binary form must reproduce the above copyright
1208077f58SMarcel Moolenaar  *    notice, this list of conditions and the following disclaimer in the
1308077f58SMarcel Moolenaar  *    documentation and/or other materials provided with the distribution.
1408077f58SMarcel Moolenaar  *
1508077f58SMarcel Moolenaar  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1608077f58SMarcel Moolenaar  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1708077f58SMarcel Moolenaar  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1808077f58SMarcel Moolenaar  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1908077f58SMarcel Moolenaar  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
2008077f58SMarcel Moolenaar  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2108077f58SMarcel Moolenaar  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2208077f58SMarcel Moolenaar  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2308077f58SMarcel Moolenaar  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
2408077f58SMarcel Moolenaar  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2508077f58SMarcel Moolenaar  *
2608077f58SMarcel Moolenaar  * $FreeBSD$
2708077f58SMarcel Moolenaar  */
2808077f58SMarcel Moolenaar 
2908077f58SMarcel Moolenaar #ifndef _MACHINE_LBC_H_
3008077f58SMarcel Moolenaar #define	_MACHINE_LBC_H_
3108077f58SMarcel Moolenaar 
3208077f58SMarcel Moolenaar #define	LBC_IVAR_DEVTYPE	1
3308077f58SMarcel Moolenaar #define	LBC_IVAR_CLOCK		2
3408077f58SMarcel Moolenaar #define	LBC_IVAR_REGSHIFT	3
3508077f58SMarcel Moolenaar 
3608077f58SMarcel Moolenaar /* Device types. */
3708077f58SMarcel Moolenaar #define	LBC_DEVTYPE_CFI		1
3808077f58SMarcel Moolenaar #define	LBC_DEVTYPE_UART	2
3908077f58SMarcel Moolenaar 
4008077f58SMarcel Moolenaar #endif /* _MACHINE_LBC_H_ */
41