1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *	This is part of rtl8187 OpenSource driver
4  *	Copyright (C) Andrea Merello 2004-2005  <andrea.merello@gmail.com>
5  *	Released under the terms of GPL (General Public Licence)
6  *
7  *	Parts of this driver are based on the GPL part of the
8  *	official realtek driver
9  *	Parts of this driver are based on the rtl8180 driver skeleton
10  *	from Patric Schenke & Andres Salomon
11  *	Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
12  *
13  *	We want to thank the Authors of such projects and the Ndiswrapper
14  *	project Authors.
15  */
16 
17 /*This files contains card eeprom (93c46 or 93c56) programming routines*/
18 /*memory is addressed by WORDS*/
19 
20 #include "r8192U.h"
21 #include "r8192U_hw.h"
22 
23 #define EPROM_DELAY 10
24 
25 int eprom_read(struct net_device *dev, u32 addr); /* reads a 16 bits word */
26