1 /* SPDX-License-Identifier: GPL-2.0 */
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)
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
13 * We want to thank the Authors of such projects and the Ndiswrapper
17 /*This files contains card eeprom (93c46 or 93c56) programming routines*/
18 /*memory is addressed by WORDS*/
21 #include "r8192U_hw.h"
23 #define EPROM_DELAY 10
25 int eprom_read(struct net_device *dev, u32 addr); /* reads a 16 bits word */