Broadcom SDK and wireless driver: another attempt to update to ver. 5.10.147.0
[tomato.git] / release / src-rt / shared / sromstubs.c
blob96d2b16d51abfcd6ae1140e61a24add182e2ff50
1 /*
2 * Broadcom Home Networking Division (HND) srom stubs
4 * Should be called bcmsromstubs.c .
6 * Copyright (C) 2009, Broadcom Corporation
7 * All Rights Reserved.
8 *
9 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
10 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
11 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
12 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
14 * $Id: sromstubs.c,v 1.14.2.4 2008/10/05 02:55:21 Exp $
17 #include <typedefs.h>
18 #include <osl.h>
19 #include <bcmutils.h>
20 #include <siutils.h>
21 #include <bcmsrom.h>
23 int
24 srom_var_init(si_t *sih, uint bus, void *curmap, osl_t *osh, char **vars, uint *count)
26 return 0;
29 int
30 srom_read(si_t *sih, uint bus, void *curmap, osl_t *osh, uint byteoff, uint nbytes, uint16 *buf,
31 bool check_crc)
33 return 0;
36 int
37 srom_write(si_t *sih, uint bus, void *curmap, osl_t *osh, uint byteoff, uint nbytes, uint16 *buf)
39 return 0;
42 #if defined(WLTEST)
43 int
44 srom_otp_write_region_crc(si_t *sih, uint nbytes, uint16* buf16, bool write)
46 return 0;
48 #endif