_bus.h revision 145253
140843Smsmith/*-
240843Smsmith * Copyright (c) 2005 M. Warner Losh.
340843Smsmith * All rights reserved.
440843Smsmith *
540843Smsmith * Redistribution and use in source and binary forms, with or without
640843Smsmith * modification, are permitted provided that the following conditions
740843Smsmith * are met:
840843Smsmith * 1. Redistributions of source code must retain the above copyright
940843Smsmith *    notice, this list of conditions, and the following disclaimer,
1040843Smsmith *    without modification, immediately at the beginning of the file.
1140843Smsmith * 2. Redistributions in binary form must reproduce the above copyright
1260959Sdcs *    notice, this list of conditions and the following disclaimer in
1360959Sdcs *    the documentation and/or other materials provided with the
1460959Sdcs *    distribution.
1576116Sdcs *
1676116Sdcs * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1760959Sdcs * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1860959Sdcs * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1940843Smsmith * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
20167850Sjkim * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2140843Smsmith * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2240843Smsmith * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23167850Sjkim * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2440843Smsmith * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2540843Smsmith * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2640843Smsmith * SUCH DAMAGE.
2740843Smsmith *
2840843Smsmith * $FreeBSD: head/sys/ia64/include/_bus.h 145253 2005-04-18 21:45:34Z imp $
2940843Smsmith */
3040843Smsmith
3176116Sdcs#ifndef IA64_INCLUDE__BUS_H
3276116Sdcs#define IA64_INCLUDE__BUS_H
3376116Sdcs
3476116Sdcs/*
3576116Sdcs * Bus address and size types
3676116Sdcs */
3776116Sdcstypedef u_long bus_addr_t;
3876116Sdcstypedef u_long bus_size_t;
3976116Sdcs
4076116Sdcs/*
4176116Sdcs * Access methods for bus resources and address space.
4276116Sdcs */
4376116Sdcstypedef	int bus_space_tag_t;
4476116Sdcstypedef	u_long bus_space_handle_t;
4560959Sdcs
4640843Smsmith#endif /* IA64_INCLUDE__BUS_H */
4760959Sdcs