1 /* 2 * $Id: pmc93x6_eeprom.h,v 1.1 2005/09/28 00:10:08 rickd PMCC4_3_1B $ 3 */ 4 5 #ifndef _INC_PMC93X6_EEPROM_H_ 6 #define _INC_PMC93X6_EEPROM_H_ 7 8 /*----------------------------------------------------------------------------- 9 * pmc93x6_eeprom.h - 10 * 11 * Copyright (C) 2002-2004 SBE, Inc. 12 * 13 * This program is free software; you can redistribute it and/or modify 14 * it under the terms of the GNU General Public License as published by 15 * the Free Software Foundation; either version 2 of the License, or 16 * (at your option) any later version. 17 * 18 * This program is distributed in the hope that it will be useful, 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 * GNU General Public License for more details. 22 * 23 * For further information, contact via email: support@sbei.com 24 * SBE, Inc. San Ramon, California U.S.A. 25 *----------------------------------------------------------------------------- 26 * RCS info: 27 *----------------------------------------------------------------------------- 28 * $Log: pmc93x6_eeprom.h,v $ 29 * Revision 1.1 2005/09/28 00:10:08 rickd 30 * pmc_verify_cksum return value is char. 31 * 32 * Revision 1.0 2005/05/04 17:20:51 rickd 33 * Initial revision 34 * 35 * Revision 1.0 2005/04/22 23:48:48 rickd 36 * Initial revision 37 * 38 *----------------------------------------------------------------------------- 39 */ 40 41 #if defined (__FreeBSD__) || defined (__NetBSD__) 42 #include <sys/types.h> 43 #else 44 #include <linux/types.h> 45 #endif 46 47 #ifdef __KERNEL__ 48 49 #include "pmcc4_private.h" 50 51 void pmc_eeprom_read_buffer (long, long, char *, int); 52 void pmc_eeprom_write_buffer (long, long, char *, int); 53 void pmc_init_seeprom (u_int32_t, u_int32_t); 54 char pmc_verify_cksum (void *); 55 56 #endif /*** __KERNEL__ ***/ 57 58 #endif 59 60 /*** End-of-File ***/ 61