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