1220297Sadrian/*- 2220297Sadrian * Copyright (c) 2010 Aleksandr Rybalko. 3220297Sadrian * All rights reserved. 4220297Sadrian * 5220297Sadrian * Redistribution and use in source and binary forms, with or without 6220297Sadrian * modification, are permitted provided that the following conditions 7220297Sadrian * are met: 8220297Sadrian * 1. Redistributions of source code must retain the above copyright 9220297Sadrian * notice, this list of conditions and the following disclaimer. 10220297Sadrian * 2. Redistributions in binary form must reproduce the above copyright 11220297Sadrian * notice, this list of conditions and the following disclaimer in the 12220297Sadrian * documentation and/or other materials provided with the distribution. 13220297Sadrian * 14220297Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15220297Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16220297Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17220297Sadrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18220297Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19220297Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20220297Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21220297Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22220297Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23220297Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24220297Sadrian * SUCH DAMAGE. 25220297Sadrian * 26220297Sadrian * $FreeBSD$ 27220297Sadrian */ 28220297Sadrian#ifndef _RT305X_ICVAR_H_ 29220297Sadrian#define _RT305X_ICVAR_H_ 30220297Sadrian 31220297Sadrianstruct rt305x_ic_softc { 32220297Sadrian device_t dev; 33220297Sadrian struct resource *mem_res; 34220297Sadrian int mem_rid; 35220297Sadrian}; 36220297Sadrian 37220297Sadrian 38220297Sadrianuint32_t rt305x_ic_get(uint32_t); 39220297Sadrianvoid rt305x_ic_set(uint32_t, uint32_t); 40220297Sadrian 41220297Sadrian#endif /* _RT305X_ICVAR_H_ */ 42220297Sadrian 43