1*ce099b40Smartin /* $NetBSD: eeprom.h,v 1.18 2008/04/28 20:23:38 martin Exp $ */ 220af809cScgd 303325025Sgwr /*- 403325025Sgwr * Copyright (c) 1996 The NetBSD Foundation, Inc. 57d3c6bd8Sglass * All rights reserved. 67d3c6bd8Sglass * 703325025Sgwr * This code is derived from software contributed to The NetBSD Foundation 803325025Sgwr * by Gordon W. Ross. 903325025Sgwr * 107d3c6bd8Sglass * Redistribution and use in source and binary forms, with or without 117d3c6bd8Sglass * modification, are permitted provided that the following conditions 127d3c6bd8Sglass * are met: 137d3c6bd8Sglass * 1. Redistributions of source code must retain the above copyright 147d3c6bd8Sglass * notice, this list of conditions and the following disclaimer. 157d3c6bd8Sglass * 2. Redistributions in binary form must reproduce the above copyright 167d3c6bd8Sglass * notice, this list of conditions and the following disclaimer in the 177d3c6bd8Sglass * documentation and/or other materials provided with the distribution. 187d3c6bd8Sglass * 1903325025Sgwr * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 2003325025Sgwr * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 2103325025Sgwr * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22340699a2Sgwr * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23340699a2Sgwr * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 2403325025Sgwr * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 2503325025Sgwr * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 2603325025Sgwr * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 2703325025Sgwr * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 2803325025Sgwr * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 2903325025Sgwr * POSSIBILITY OF SUCH DAMAGE. 307d3c6bd8Sglass */ 317d3c6bd8Sglass 327adddd1bSthorpej #ifndef _MACHINE_EEPROM_H_ 337adddd1bSthorpej #define _MACHINE_EEPROM_H_ 347d3c6bd8Sglass 357adddd1bSthorpej #include <dev/sun/eeprom.h> 36eff2e270Sgwr 37eff2e270Sgwr #ifdef _KERNEL 38eff2e270Sgwr extern struct eeprom *eeprom_copy; 3910b1a7beSchs int eeprom_uio(struct uio *); 40eff2e270Sgwr #endif /* _KERNEL */ 417adddd1bSthorpej 427adddd1bSthorpej #endif /* _MACHINE_EEPROM_H_ */ 43