Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 /*
0003  *  This is part of rtl8187 OpenSource driver
0004  *  Copyright (C) Andrea Merello 2004-2005  <andrea.merello@gmail.com>
0005  *  Released under the terms of GPL (General Public Licence)
0006  *
0007  *  Parts of this driver are based on the GPL part of the
0008  *  official realtek driver
0009  *  Parts of this driver are based on the rtl8180 driver skeleton
0010  *  from Patric Schenke & Andres Salomon
0011  *  Parts of this driver are based on the Intel Pro Wireless 2100 GPL driver
0012  *
0013  *  We want to thank the Authors of such projects and the Ndiswrapper
0014  *  project Authors.
0015  */
0016 
0017 /*This files contains card eeprom (93c46 or 93c56) programming routines*/
0018 /*memory is addressed by WORDS*/
0019 
0020 #include "r8192U.h"
0021 #include "r8192U_hw.h"
0022 
0023 #define EPROM_DELAY 10
0024 
0025 int eprom_read(struct net_device *dev, u32 addr); /* reads a 16 bits word */